mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Coding Standards: Use strict comparison in wp-admin/network/users.php.
Follow-up to [12603], [18562]. Props aristath, poena, afercia, SergeyBiryukov. See #57839. git-svn-id: https://develop.svn.wordpress.org/trunk@55877 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -138,7 +138,8 @@ if ( $_POST ) {
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
if ( isset( $_GET['updated'] ) ) {
|
||||
?><div id="message" class="notice notice-success is-dismissible"><p><?php _e( 'Settings saved.' ); ?></p></div>
|
||||
?>
|
||||
<div id="message" class="notice notice-success is-dismissible"><p><?php _e( 'Settings saved.' ); ?></p></div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -253,7 +253,7 @@ get_current_screen()->set_screen_reader_content(
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
if ( isset( $_REQUEST['updated'] ) && 'true' == $_REQUEST['updated'] && ! empty( $_REQUEST['action'] ) ) {
|
||||
if ( isset( $_REQUEST['updated'] ) && 'true' === $_REQUEST['updated'] && ! empty( $_REQUEST['action'] ) ) {
|
||||
?>
|
||||
<div id="message" class="notice notice-success is-dismissible"><p>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user