Skip to content

Commit

Permalink
fix functions names
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenedetto committed Apr 26, 2024
1 parent 3a1123a commit a57cde7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modern-fonts-stacks-for-font-library.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Text Domain: modern-fonts-stacks-for-font-library
*/

if ( function_exists( 'mfsffl_wp_register_font_collection' ) ) {
if ( function_exists( 'wp_register_font_collection' ) ) {
function mfsffl_register_modern_fonts_stacks() {
$categories = array(
array(
Expand Down Expand Up @@ -41,6 +41,6 @@ function mfsffl_register_modern_fonts_stacks() {
wp_register_font_collection( 'modern-fonts-stacks', $font_collection );
}

add_action( 'init', 'register_modern_fonts_stacks' );
add_action( 'init', 'mfsffl_register_modern_fonts_stacks' );
}

5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: mmaattiiaass
Tags: fonts, font-library, system-fonts, modern-font-stacks
Requires at least: 6.4
Tested up to: 6.5
Stable tag: 1.0.2
Stable tag: 1.0.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -19,6 +19,9 @@ Modern Fonts for Font Library is a plugin that add a font collection to the Word

== Changelog ==

= 1.0.3 =
Fixed the functions name.

= 1.0.2 =
Fixed version and changelog.

Expand Down

0 comments on commit a57cde7

Please sign in to comment.