[wp-trac] [WordPress Trac] #47858: Incorrect redirect after deleting a term from a taxonomy of a custom post type

WordPress Trac noreply at wordpress.org
Fri Aug 9 08:45:58 UTC 2019


#47858: Incorrect redirect after deleting a term from a taxonomy of a custom post
type
----------------------------+-----------------------------
 Reporter:  johnbillion     |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Taxonomy        |    Version:
 Severity:  normal          |   Keywords:  needs-patch
  Focuses:  administration  |
----------------------------+-----------------------------
 Given a taxonomy attached to a custom post type, deleting a term from the
 individual term editing screen redirects the user to the term listing
 screen without the `post_type` query var, which is incorrect and means the
 Posts menu is highlighted.

 Steps to reproduce on a site with a taxonomy attached to a custom post
 type:

 * Navigate to the term listing screen for the taxonomy
 * Click the `Edit` link below a term
 * Click the `Delete` link at the bottom of the screen and confirm the
 prompt

 Observe that the URL you're redirected to is missing the `post_type` query
 var and that the Posts admin menu is highlighted.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47858>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list