[wp-trac] [WordPress Trac] #27419: Widget Customizer: Remove/Replace Widget_Customizer_Exception

WordPress Trac noreply at wordpress.org
Mon Mar 17 21:52:33 UTC 2014


#27419: Widget Customizer: Remove/Replace Widget_Customizer_Exception
-------------------------+--------------------
 Reporter:  ocean90      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.9
Component:  Appearance   |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+--------------------

Comment (by westonruter):

 Replying to [comment:3 ocean90]:
 > [attachment:27419.patch] is a first pass to remove all exception parts.
 Most exceptions are just rare cases and we can instead simply return false
 or return via `wp_send_json_error()`.

 Isn't it a bit unfortunate to lose all of the reasons for the errors?

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


More information about the wp-trac mailing list