Changeset 46495 for branches/4.7/src/wp-includes/pluggable.php
- Timestamp:
- 10/14/2019 06:49:56 PM (7 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/pluggable.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/4.7/src/wp-includes/pluggable.php
r45977 r46495 1056 1056 */ 1057 1057 function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) { 1058 if ( -1 == $action )1058 if ( -1 === $action ) 1059 1059 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2.0' ); 1060 1060 … … 1074 1074 do_action( 'check_admin_referer', $action, $result ); 1075 1075 1076 if ( ! $result && ! ( -1 == $action && strpos( $referer, $adminurl ) === 0 ) ) {1076 if ( ! $result && ! ( -1 === $action && strpos( $referer, $adminurl ) === 0 ) ) { 1077 1077 wp_nonce_ays( $action ); 1078 1078 die(); … … 2519 2519 } 2520 2520 endif; 2521
Note: See TracChangeset
for help on using the changeset viewer.