[wp-trac] [WordPress Trac] #26262: Ajax requests shouldn't display errors
WordPress Trac
noreply at wordpress.org
Sat Mar 29 00:26:12 UTC 2014
#26262: Ajax requests shouldn't display errors
------------------------------------+------------------------------
Reporter: pento | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by adamsilverstein):
Replying to [comment:13 SergeyBiryukov]:
> Replying to [comment:3 SergeyBiryukov]:
> > I think this would make debugging AJAX issues harder. Code in
production shouldn't have `WP_DEBUG` on.
>
> On second thought, I saw some users with AJAX issues on support forums
(Media Library not loading in the modal due to a broken plugin, for
example). Looks like [attachment:26262.diff] would have prevented that.
I agree with the first part: I would be hesitant to suppress this output
as it will make debugging more difficult. The errors can actually be seen
when viewing the response in a browser debugger. Plenty of instruction out
there about how to turn of error messages.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26262#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list