Opened 15 years ago
Closed 15 years ago
#12951 closed defect (bug) (fixed)
Admin Menu Items overwritten with custom post types
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
When the arg for menu_position in register_post_type == an existing menu position before that point in the code, it overwrites it. In the case where it is the same as core menu positions further along in the code, it gets overwritten.
I discussed solutions in dev chat with jane and dion. The solution in my patch is 5 lines and resolves both instances of the problem mentioned above.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
fixes admin menu items from being overwritten