[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 Jan 15 19:14:27 UTC 2020


#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:  closed
 Priority:  normal       |   Milestone:
Component:  Cache API    |     Version:  2.0.3
 Severity:  normal       |  Resolution:  invalid
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------

Comment (by bordoni):

 @spacedmonkey I feel like we should add this filter because even if it's
 pluggable, it creates problems if multiple plugins overwrite it.

 It would for sure allow better control over the creation of nonces.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46365#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list