Skip to content

Commit

Permalink
Merge pull request #627 from tomusborne/chore/update-font-library-class
Browse files Browse the repository at this point in the history
Font Library - Update class name for customizer
  • Loading branch information
tomusborne authored Jul 24, 2024
2 parents 189a279 + f0bffaf commit f683a42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/customizer/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,11 @@ function generate_do_control_inline_scripts() {
'palette' => $colors,
'showGoogleFonts' => apply_filters( 'generate_font_manager_show_google_fonts', true ),
'colorPickerShouldShift' => function_exists( 'did_filter' ),
'gpFontLibrary' => class_exists( 'GeneratePress_Font_Library' )
? GeneratePress_Font_Library::get_fonts()
'gpFontLibrary' => class_exists( 'GeneratePress_Pro_Font_Library' )
? GeneratePress_Pro_Font_Library::get_fonts()
: array(),
'gpFontLibraryURI' => class_exists( 'GeneratePress_Font_Library' )
? GeneratePress_Font_Library::get_font_library_uri()
'gpFontLibraryURI' => class_exists( 'GeneratePress_Pro_Font_Library' )
? GeneratePress_Pro_Font_Library::get_font_library_uri()
: '',
)
);
Expand Down

0 comments on commit f683a42

Please sign in to comment.