Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 648524e

Browse files
committed
Google font update choked. Apply_filterS, with an S, Kev!!! Sorry y'all.
Signed-off-by: Kevin Provance <[email protected]>
1 parent 31eedac commit 648524e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

redux-core/inc/classes/class-redux-helpers.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)