Changeset 46490 for branches/5.1/src/wp-includes/pluggable.php
- Timestamp:
- 10/14/2019 06:16:02 PM (6 years ago)
- File:
-
- 1 edited
-
branches/5.1/src/wp-includes/pluggable.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1/src/wp-includes/pluggable.php
r45973 r46490 1093 1093 */ 1094 1094 function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) { 1095 if ( -1 == $action ) {1095 if ( -1 === $action ) { 1096 1096 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2.0' ); 1097 1097 } … … 1112 1112 do_action( 'check_admin_referer', $action, $result ); 1113 1113 1114 if ( ! $result && ! ( -1 == $action && strpos( $referer, $adminurl ) === 0 ) ) {1114 if ( ! $result && ! ( -1 === $action && strpos( $referer, $adminurl ) === 0 ) ) { 1115 1115 wp_nonce_ays( $action ); 1116 1116 die();
Note: See TracChangeset
for help on using the changeset viewer.