[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 23:21:58 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:  2.0.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch reporter-feedback needs-   |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------
Changes (by spacedmonkey):

 * keywords:  has-patch => has-patch reporter-feedback needs-unit-tests
 * version:  trunk => 2.0.3


Comment:

 @hailite The `wp_create_nonce` is plugable, as you can replace it all
 together in your own code. If you need this filter, then you can register
 your own function. Why does this filter need to be core?

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


More information about the wp-trac mailing list