This repository was archived by the owner on Dec 2, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -972,7 +972,7 @@ public static function get_request_headers( $args = array() ) {
972972 'developers ' => wp_json_encode ( self ::get_developer_keys () ),
973973 'redux ' => Redux_Core::$ version ,
974974 'installed ' => Redux_Core::$ installed ,
975- 'debug ' => defined ( 'WP_DEBUG ' ) && WP_DEBUG ? true : false ,
975+ 'debug ' => defined ( 'WP_DEBUG ' ) && WP_DEBUG ,
976976 'local ' => self ::is_local_host (),
977977 'wordpress ' => get_bloginfo ( 'version ' ),
978978 'site ' => esc_url ( home_url ( '/ ' ) ),
@@ -1686,7 +1686,8 @@ public static function google_fonts_array( $download = false ) {
16861686
16871687 if ( ! file_exists ( $ path ) || ( file_exists ( $ path ) && $ download && self ::google_fonts_update_needed () ) ) {
16881688 if ( $ download ) {
1689- $ url = apply_filter ( 'redux/typography/google_fonts/url ' , 'https://api.redux.io/gfonts ' );
1689+ // phpcs:ignore WordPress.NamingConventions.ValidHookName
1690+ $ url = apply_filters ( 'redux/typography/google_fonts/url ' , 'https://api.redux.io/gfonts ' );
16901691
16911692 $ request = wp_remote_get (
16921693 $ url ,
You can’t perform that action at this time.
0 commit comments