Changeset 62704 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 07/13/2026 07:14:54 AM (18 hours ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/pluggable.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r62590 r62704 1368 1368 * @return int|false 1 if the nonce is valid and generated between 0-12 hours ago, 1369 1369 * 2 if the nonce is valid and generated between 12-24 hours ago. 1370 * False if the nonce is invalid. 1370 * False if the nonce is invalid. Only possible when `$action` is -1, 1371 * as the function otherwise exits rather than returning false. 1372 * @phpstan-return ( $action is -1 ? int|false : int ) 1371 1373 */ 1372 1374 function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) { … … 1413 1415 * @return int|false 1 if the nonce is valid and generated between 0-12 hours ago, 1414 1416 * 2 if the nonce is valid and generated between 12-24 hours ago. 1415 * False if the nonce is invalid. 1417 * False if the nonce is invalid. Only possible when `$stop` is false, 1418 * as the function otherwise exits rather than returning false. 1419 * @phpstan-return ( $stop is true ? int : int|false ) 1416 1420 */ 1417 1421 function check_ajax_referer( $action = -1, $query_arg = false, $stop = true ) {
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)