Skip to content

Commit 96c0e06

Browse files
committed
Update class-settings.php
1 parent af34da8 commit 96c0e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/settings/class-settings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ public static function get_admin_footer_text() {
13411341
*/
13421342
public function admin_enqueue_scripts( $hook ) {
13431343

1344-
if ( ! isset( $this->settings_api->settings_page ) || $hook !== $this->settings_api->settings_page ) {
1344+
if ( empty( $this->settings_api->settings_page ) || $hook !== $this->settings_api->settings_page ) {
13451345
return;
13461346
}
13471347
wp_localize_script(

0 commit comments

Comments
 (0)