Changeset 46499 for branches/4.3/src/wp-includes/pluggable.php
- Timestamp:
- 10/14/2019 07:11:50 PM (7 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/pluggable.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/4.3/src/wp-includes/pluggable.php
r45982 r46499 1082 1082 */ 1083 1083 function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) { 1084 if ( -1 == $action )1085 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2 ' );1084 if ( -1 === $action ) 1085 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2.0' ); 1086 1086 1087 1087 $adminurl = strtolower(admin_url()); … … 1100 1100 do_action( 'check_admin_referer', $action, $result ); 1101 1101 1102 if ( ! $result && ! ( -1 == $action && strpos( $referer, $adminurl ) === 0 ) ) {1102 if ( ! $result && ! ( -1 === $action && strpos( $referer, $adminurl ) === 0 ) ) { 1103 1103 wp_nonce_ays( $action ); 1104 1104 die(); … … 1125 1125 */ 1126 1126 function check_ajax_referer( $action = -1, $query_arg = false, $die = true ) { 1127 if ( -1 === $action ) 1128 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2.0' ); 1129 1127 1130 $nonce = ''; 1128 1131 … … 2407 2410 } 2408 2411 endif; 2409
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)