mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Coding Standards: Use strict comparison in some wp-admin files.
Props pikamander2, mukesh27, SergeyBiryukov. Fixes #49239. git-svn-id: https://develop.svn.wordpress.org/trunk@47785 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -35,7 +35,7 @@ switch ( $action ) {
|
||||
check_admin_referer( 'bulk-bookmarks' );
|
||||
|
||||
// For each link id (in $linkcheck[]) change category to selected value.
|
||||
if ( count( $linkcheck ) == 0 ) {
|
||||
if ( count( $linkcheck ) === 0 ) {
|
||||
wp_redirect( $this_file );
|
||||
exit;
|
||||
}
|
||||
@@ -56,7 +56,7 @@ switch ( $action ) {
|
||||
check_admin_referer( 'bulk-bookmarks' );
|
||||
|
||||
// For each link id (in $linkcheck[]) change category to selected value.
|
||||
if ( count( $linkcheck ) == 0 ) {
|
||||
if ( count( $linkcheck ) === 0 ) {
|
||||
wp_redirect( $this_file );
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user