Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44849, comment 4


Ignore:
Timestamp:
08/28/2018 05:06:44 PM (5 years ago)
Author:
wallfur
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44849, comment 4

    initial v1  
    1 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.
     1Even 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%3DCUSTOMPOST&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.
    22
    33I feel I'm missing something obvious, but the custom post type & taxonomy are so simple.