WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/22/2020 11:59:10 PM (19 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix WPCS issues in wp-admin/plugin-editor.php and wp-admin/theme-editor.php.

See #49542.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugin-editor.php

    r47808 r47845  
    222222        foreach ( $plugins as $plugin_key => $a_plugin ) {
    223223            $plugin_name = $a_plugin['Name'];
    224             if ( $plugin_key == $plugin ) {
     224            if ( $plugin_key === $plugin ) {
    225225                $selected = " selected='selected'";
    226226            } else {
Note: See TracChangeset for help on using the changeset viewer.