[wp-trac] [WordPress Trac] #56045: Add filters to allow the shortcut return to wp_load_alloptions

WordPress Trac noreply at wordpress.org
Tue Feb 7 12:47:44 UTC 2023


#56045: Add filters to allow the shortcut return to wp_load_alloptions
---------------------------------------------+---------------------------
 Reporter:  pbearne                          |       Owner:  spacedmonkey
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.2
Component:  Options, Meta APIs               |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------------
Changes (by spacedmonkey):

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


Comment:

 In [changeset:"55256" 55256]:
 {{{
 #!CommitTicketReference repository="" revision="55256"
 Options, Meta APIs: Add a filter to allow the shortcut return to
 `wp_load_alloptions` function.

 Add a new filter `pre_wp_load_alloptions` in the `wp_load_alloptions`
 function to short circuit the return value.

 Props pbearne, spacedmonkey, joyously, SergeyBiryukov, mukesh27, costdev.
 Fixes #56045.
 }}}

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


More information about the wp-trac mailing list