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

See #49542.

git-svn-id: https://develop.svn.wordpress.org/trunk@47845 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-05-22 23:59:10 +00:00
parent a6cb663c13
commit 1ce6af5284
2 changed files with 4 additions and 4 deletions

View File

@@ -221,7 +221,7 @@ $content = esc_textarea( $content );
<?php
foreach ( $plugins as $plugin_key => $a_plugin ) {
$plugin_name = $a_plugin['Name'];
if ( $plugin_key == $plugin ) {
if ( $plugin_key === $plugin ) {
$selected = " selected='selected'";
} else {
$selected = '';