Make WordPress Core


Ignore:
Timestamp:
05/22/2020 05:24:05 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix WPCS issues in wp-admin/includes/class-wp-debug-data.php.

Follow-up to [47550], [47557], [47835].

See #50052.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-debug-data.php

    r47835 r47840  
    10071007        );
    10081008        if ( $auto_updates_enabled ) {
    1009             if ( in_array( $active_theme->stylesheet, $auto_updates ) ) {
     1009            if ( in_array( $active_theme->stylesheet, $auto_updates, true ) ) {
    10101010                $theme_auto_update_string = __( 'Enabled' );
    10111011            } else {
     
    10651065            );
    10661066            if ( $auto_updates_enabled ) {
    1067                 if ( in_array( $parent_theme->stylesheet, $auto_updates ) ) {
     1067                if ( in_array( $parent_theme->stylesheet, $auto_updates, true ) ) {
    10681068                    $parent_theme_auto_update_string = __( 'Enabled' );
    10691069                } else {
     
    11271127
    11281128            if ( $auto_updates_enabled ) {
    1129                 if ( in_array( $theme_slug, $auto_updates ) ) {
     1129                if ( in_array( $theme_slug, $auto_updates, true ) ) {
    11301130                    $theme_version_string       .= ' | ' . $auto_updates_enabled_str;
    11311131                    $theme_version_string_debug .= ',' . $auto_updates_enabled_str;
Note: See TracChangeset for help on using the changeset viewer.