[wp-trac] [WordPress Trac] #8420: Disable error redirects when in DOING_AJAX
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 25 15:09:18 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 westi):
This latest patch is look great.
The next step on this will probably be not to return with {{{'what' =>
'autosave', }}} but with {{{'what' => 'error', }}}.
This will mean that the autosave js would need changing to handle this
different response correctly probably.
You can add: {{{define( 'SCRIPT_DEBUG', true);}}} to your wp-config.php
and then just edit and patch the .dev.js files to test this out.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8420#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list