Ticket #33342: 33342.patch
| File 33342.patch, 745 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/pluggable.php
1139 1139 1140 1140 $result = wp_verify_nonce( $nonce, $action ); 1141 1141 1142 if ( $die && false === $result ) {1143 if ( defined( 'DOING_AJAX' ) && DOING_AJAX )1144 wp_die( -1 );1145 else1146 die( '-1' );1147 }1148 1149 1142 /** 1150 1143 * Fires once the AJAX request has been validated or not. 1151 1144 * … … 1157 1150 */ 1158 1151 do_action( 'check_ajax_referer', $action, $result ); 1159 1152 1153 if ( $die && false === $result ) { 1154 if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) { 1155 wp_die( -1 ); 1156 } else { 1157 die( '-1' ); 1158 } 1159 } 1160 1160 1161 return $result; 1161 1162 } 1162 1163 endif;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)