[wp-trac] [WordPress Trac] #46365: Add a filter to `wp_create_nonce` to allow expired nonces to regenerate if the page is cached
WordPress Trac
noreply at wordpress.org
Wed Feb 27 20:53:39 UTC 2019
#46365: Add a filter to `wp_create_nonce` to allow expired nonces to regenerate if
the page is cached
-------------------------+-----------------------------
Reporter: hailite | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache API | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------+-----------------------------
By default, if a page is cached, the related nonce will be cached too. If
the page cache's TTL is over 24 hours, the nonce will expire during that
time.
By giving the nonce generation function a filter before returning the
value, a nonce can have the ability to regenerate for the cache plugins
that have ESI or partial/fragment cache functionality.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46365>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list