[wp-trac] [WordPress Trac] #35188: Pass nonce action from "nonce_life" filter

WordPress Trac noreply at wordpress.org
Mon Sep 19 21:35:07 UTC 2022


#35188: Pass nonce action from "nonce_life" filter
-------------------------------------------------+-------------------------
 Reporter:  giuseppe.mazzapica                   |       Owner:  audrasjb
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  General                              |     Version:  4.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note has-unit-   |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54218" 54218]:
 {{{
 #!CommitTicketReference repository="" revision="54218"
 General: Pass `$action` to `nonce_life` filter.

 This changeset contextualizes the usage of `nonce_life` filter by passing
 the `$action` parameter. It allows to alterate the default lifespan of
 nonces on a case by case basis.

 Props giuseppemazzapica, dwainm, DrewAPicture, jorbin, audrasjb,
 SergeyBiryukov, costdev, antonvlasenko.
 Fixes #35188.
 }}}

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


More information about the wp-trac mailing list