[wp-trac] [WordPress Trac] #59282: WordPress should register custom error and exception handlers

WordPress Trac noreply at wordpress.org
Thu Jun 26 21:30:10 UTC 2025


#59282: WordPress should register custom error and exception handlers
-------------------------------------------------+-------------------------
 Reporter:  bjorsch                              |       Owner:  (none)
     Type:  feature request                      |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Bootstrap/Load                       |     Version:  6.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-test-   |     Focuses:
  info                                           |
-------------------------------------------------+-------------------------

Comment (by jorbin):

 There are currently over
 [https://wpdirectory.net/search/01JYPSRVVEEYCZMTGQJECEFKVA 900 plugins
 that add an exception handler] and
 [https://wpdirectory.net/search/01JYPSWMKB3QZESDJ43RX92VR1 3453 that add
 an error handler]. A fairly large percentage of them don't implement
 calling a previusly registered handler. This means that there are going to
 be millions of sites that never can take advantage of this functionality.
 I worry this is going it is thus going to be hard for extenders to count
 on and the existing expectation to escape exceptions/errors is the safest.

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


More information about the wp-trac mailing list