[wp-trac] [WordPress Trac] #16865: 'post' definition should use menu_position
WordPress Trac
noreply at wordpress.org
Mon Aug 24 21:18:22 UTC 2015
#16865: 'post' definition should use menu_position
----------------------------+-----------------------------
Reporter: scribu | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
----------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"33723"]:
{{{
#!CommitTicketReference repository="" revision="33723"
With a few modifications in `wp-admin/menu.php`, we can eliminate the
extra logic for Post and Page menu registration. Instead, they can just
declare `menu_position` on post type registration.
Props scribu, wonderboymusic.
Fixes #16865.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16865#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list