Changeset 50947 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 05/21/2021 10:48:53 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r50792 r50947 1177 1177 function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) { 1178 1178 if ( -1 === $action ) { 1179 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonceaction to be verified by using the first parameter.' ), '3.2.0' );1179 _doing_it_wrong( __FUNCTION__, __( 'You should specify an action to be verified by using the first parameter.' ), '3.2.0' ); 1180 1180 } 1181 1181 … … 1222 1222 function check_ajax_referer( $action = -1, $query_arg = false, $die = true ) { 1223 1223 if ( -1 == $action ) { 1224 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonceaction to be verified by using the first parameter.' ), '4.7' );1224 _doing_it_wrong( __FUNCTION__, __( 'You should specify an action to be verified by using the first parameter.' ), '4.7' ); 1225 1225 } 1226 1226
Note: See TracChangeset
for help on using the changeset viewer.