[wp-trac] [WordPress Trac] #33925: same SLUGS make problems in dashboard SCREEN OPTIONS
WordPress Trac
noreply at wordpress.org
Fri Oct 30 05:46:56 UTC 2015
#33925: same SLUGS make problems in dashboard SCREEN OPTIONS
----------------------------+---------------------
Reporter: selnomeria | Owner: helen
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Administration | Version: 4.3
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
----------------------------+---------------------
Changes (by DrewAPicture):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"35450"]:
{{{
#!CommitTicketReference repository="" revision="35450"
Menus: Prevent display conflicts in the screen options for Menus when a
post type and taxonomy share the same slug.
Prior to this change, both taxonomies and post types added meta boxes to
the Menus UI (which in-turn registered screen options) using the same ID
formula: `add-{$id}`. This caused a conflict between the two elements,
resulting in the rendering of a screen option for only the taxonomy or
post type but not both. Moving to a new meta box ID for post types, `add-
post-type-{$id}`, removes that conflict.
Note: This change in meta box IDs for post types effectively resets
current user settings for the visibility of post types in the Menus UI.
Fixes #33925.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33925#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list