Changeset 38028 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 07/10/2016 12:50:21 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r37985 r38028 611 611 $expired = $expiration = $cookie_elements['expiration']; 612 612 613 // Allow a grace period for POST and A JAXrequests613 // Allow a grace period for POST and Ajax requests 614 614 if ( defined('DOING_AJAX') || 'POST' == $_SERVER['REQUEST_METHOD'] ) { 615 615 $expired += HOUR_IN_SECONDS; … … 668 668 } 669 669 670 // A JAX/POST grace period set above670 // Ajax/POST grace period set above 671 671 if ( $expiration < time() ) { 672 672 $GLOBALS['login_grace_period'] = 1; … … 1076 1076 if ( !function_exists('check_ajax_referer') ) : 1077 1077 /** 1078 * Verifies the A JAXrequest to prevent processing requests external of the blog.1078 * Verifies the Ajax request to prevent processing requests external of the blog. 1079 1079 * 1080 1080 * @since 2.0.3 … … 1102 1102 1103 1103 /** 1104 * Fires once the A JAXrequest has been validated or not.1104 * Fires once the Ajax request has been validated or not. 1105 1105 * 1106 1106 * @since 2.1.0 1107 1107 * 1108 * @param string $action The A JAXnonce action.1108 * @param string $action The Ajax nonce action. 1109 1109 * @param false|int $result False if the nonce is invalid, 1 if the nonce is valid and generated between 1110 1110 * 0-12 hours ago, 2 if the nonce is valid and generated between 12-24 hours ago.
Note: See TracChangeset
for help on using the changeset viewer.