Changeset 46493 for branches/4.9/src/wp-includes/pluggable.php
- Timestamp:
- 10/14/2019 06:38:34 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9/src/wp-includes/pluggable.php
r45975 r46493 1080 1080 */ 1081 1081 function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) { 1082 if ( -1 == $action )1082 if ( -1 === $action ) 1083 1083 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2.0' ); 1084 1084 … … 1098 1098 do_action( 'check_admin_referer', $action, $result ); 1099 1099 1100 if ( ! $result && ! ( -1 == $action && strpos( $referer, $adminurl ) === 0 ) ) {1100 if ( ! $result && ! ( -1 === $action && strpos( $referer, $adminurl ) === 0 ) ) { 1101 1101 wp_nonce_ays( $action ); 1102 1102 die(); … … 2646 2646 } 2647 2647 endif; 2648
Note: See TracChangeset
for help on using the changeset viewer.