Changeset 54284 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 09/21/2022 08:22:53 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/pluggable.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r54249 r54284 2246 2246 * 2247 2247 * @since 2.5.0 2248 * @since 6.1.0 Added ` action` argument.2249 * 2250 * @param string|int $action Optional. The currentnonce action. Default -1.2248 * @since 6.1.0 Added `$action` argument. 2249 * 2250 * @param string|int $action Optional. The nonce action. Default -1. 2251 2251 * @return float Float value rounded up to the next highest integer. 2252 2252 */ … … 2256 2256 * 2257 2257 * @since 2.5.0 2258 * @since 6.1.0 Added ` action` argument to allow for more targeted filters.2258 * @since 6.1.0 Added `$action` argument to allow for more targeted filters. 2259 2259 * 2260 2260 * @param int $lifespan Lifespan of nonces in seconds. Default 86,400 seconds, or one day. 2261 * @param string|int $action The current nonce action.2261 * @param string|int $action The nonce action, or -1 if none was provided. 2262 2262 */ 2263 2263 $nonce_life = apply_filters( 'nonce_life', DAY_IN_SECONDS, $action ); … … 2291 2291 * @since 3.5.0 2292 2292 * 2293 * @param int $uid ID of the nonce-owning user.2294 * @param string $action The nonce action.2293 * @param int $uid ID of the nonce-owning user. 2294 * @param string|int $action The nonce action, or -1 if none was provided. 2295 2295 */ 2296 2296 $uid = apply_filters( 'nonce_user_logged_out', $uid, $action );
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)