[wp-trac] [WordPress Trac] #8420: Disable error redirects when in DOING_AJAX
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 26 11:08:21 UTC 2010
#8420: Disable error redirects when in DOING_AJAX
----------------------------+-----------------------------------------------
Reporter: janbrasna | Owner: kapeels
Type: enhancement | Status: accepted
Priority: low | Milestone: Future Release
Component: Administration | Version: 2.7
Severity: minor | Keywords: has-patch 2nd-opinion gci
----------------------------+-----------------------------------------------
Comment(by kapeels):
I changed the function to use the core wordpress error handling system.
And it works good now. But, it isn't shown in the form of error when the
error is loaded in the UI. It is left-aligned, and doesn't has the red
theme.
I found that this happens because of the issue I have posted here -
http://stackoverflow.com/questions/4279657/somethings-wrong-with-this-
jquery-code-in-wordpress
The wp_error tag is not being recognized by jQuery('wp_error', child) ....
Anybody?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8420#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list