[wp-trac] [WordPress Trac] #16936: Changing a menu or tag/category title with matching slugs changes both

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 22 19:08:05 UTC 2011


#16936: Changing a menu or tag/category title with matching slugs changes both
-------------------------+-------------------------------------------------
 Reporter:               |      Owner:
  scottcropper           |     Status:  new
     Type:  defect       |  Milestone:  Awaiting Review
  (bug)                  |    Version:  3.1
 Priority:  normal       |   Keywords:  2nd-opinion needs-testing needs-
Component:  General      |  codex
 Severity:  normal       |
-------------------------+-------------------------------------------------
 If a menu is created with a title that matches the slug of a tag or
 category or vice versa they become connected in the admin.  After that if
 either are edited they both change titles and slugs.  This can easily be
 replicated in a fresh WP 3.1 install with no plugins.

 1. Create either a menu or tag/category with the title test (slug for
 tag/category should be test).
 2. Then create the other with the same title.
 3. Change either and both will change and have matching titles.

 Why would menu names be connected to an individual tag or category?  The
 only purpose I could imagine would be in a template showing a particular
 tag/category of posts and grabbing a matching menu if one exists.  If this
 is expected behavior then I think its important that this be added to the
 codex and the admin interface to alert the user to the other changes made.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16936>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list