[wp-trac] [WordPress Trac] #38270: Better handling of widget errors
WordPress Trac
noreply at wordpress.org
Sun Oct 9 17:30:22 UTC 2016
#38270: Better handling of widget errors
-------------------------+------------------------------
Reporter: dustwolf | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: trunk
Severity: normal | Resolution:
Keywords: close | Focuses:
-------------------------+------------------------------
Changes (by westonruter):
* keywords: => close
Comment:
Thanks for the suggestion. However, I don't think this is an improvement
because if the class doesn't exist then there will be no error at all, no
indication that there is a problem other than the widget not showing up.
On the other hand, if attempting to create a new instance of a class that
doesn't exist, then the developer will know right away that they forgot to
add the necessary `require_once` statement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38270#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list