[wp-trac] [WordPress Trac] #32780: Disable redirect behavior when updating a term
WordPress Trac
noreply at wordpress.org
Wed Jun 24 14:04:58 UTC 2015
#32780: Disable redirect behavior when updating a term
-----------------------------+----------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+----------------------------
As a user who has meta boxes on my "Edit <taxonomy>" view, I'd prefer to
be kept on the view after hitting the "Update" button. This behavior would
be consistent with what I experience when editing a post or options.
WordPress' current behavior is to take me to the list view for all terms
in the taxonomy. This is annoying when I have dozens of terms, as it takes
multiple steps for me to get back to the edit view.
This code is the culprit:
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/edit-
tags.php#L151
Here's my hacky workaround:
https://gist.github.com/danielbachhuber/dac825eb195febcb0e19
At the very least, it would be nice to be able to change the target of the
redirect.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32780>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list