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() ) {
972
972
'developers ' => wp_json_encode ( self ::get_developer_keys () ),
973
973
'redux ' => Redux_Core::$ version ,
974
974
'installed ' => Redux_Core::$ installed ,
975
- 'debug ' => defined ( 'WP_DEBUG ' ) && WP_DEBUG ? true : false ,
975
+ 'debug ' => defined ( 'WP_DEBUG ' ) && WP_DEBUG ,
976
976
'local ' => self ::is_local_host (),
977
977
'wordpress ' => get_bloginfo ( 'version ' ),
978
978
'site ' => esc_url ( home_url ( '/ ' ) ),
@@ -1686,7 +1686,8 @@ public static function google_fonts_array( $download = false ) {
1686
1686
1687
1687
if ( ! file_exists ( $ path ) || ( file_exists ( $ path ) && $ download && self ::google_fonts_update_needed () ) ) {
1688
1688
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 ' );
1690
1691
1691
1692
$ request = wp_remote_get (
1692
1693
$ url ,
You can’t perform that action at this time.
0 commit comments