[wp-trac] [WordPress Trac] #63479: current_filter() can return false if fatal

WordPress Trac noreply at wordpress.org
Tue May 27 00:12:22 UTC 2025


#63479: current_filter() can return false if fatal
----------------------------------------------+---------------------
 Reporter:  kkmuffme                          |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  6.9
Component:  Plugins                           |     Version:
 Severity:  trivial                           |  Resolution:
 Keywords:  has-patch needs-test-info commit  |     Focuses:  docs
----------------------------------------------+---------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch changes-requested needs-test-info => has-patch
     needs-test-info commit
 * focuses:   => docs
 * milestone:  Awaiting Review => 6.9


Comment:

 The linked pull request looks good to me.

 @SirLouen You can see the functions returning false via wp-cli `wp eval
 "var_dump( current_filter() );"` and `wp eval "var_dump( current_action()
 );"`.

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


More information about the wp-trac mailing list