[wp-trac] [WordPress Trac] #44849: Post type parameter not preserved when editing/deleting custom taxonomy term
WordPress Trac
noreply at wordpress.org
Tue Aug 28 16:58:53 UTC 2018
#44849: Post type parameter not preserved when editing/deleting custom taxonomy
term
--------------------------+------------------------------
Reporter: wallfur | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.9.8
Severity: minor | Resolution:
Keywords: | Focuses: administration
--------------------------+------------------------------
Comment (by wallfur):
Even with the `admin_url` filter in place, after deleting a term, I get
redirected to https://foo.example/wp-
admin/term.php?taxonomy=CUSTOMTAX&post_type=CUSTOMPOST&wp_http_referer
=%2Fwp-admin%2Fedit-
tags.php%3Ftaxonomy%3DCUSTOMTAX%26post_type%3DCUSTOM&message=2 (not sure
why to `term.php`) but
[[https://core.trac.wordpress.org/browser/branches/4.9/src/wp-
admin/term.php?rev=42811#L18|it redirects again]] to the URL missing the
post type https://foo.example/wp-admin/edit-tags.php?taxonomy=CUSTOMTAX.
I feel I'm missing something obvious, but the custom post type & taxonomy
are so simple.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44849#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list