[wp-trac] [WordPress Trac] #19077: Custom Post Type Sub-Menu Items Broken

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 29 01:07:20 UTC 2011

#19077: Custom Post Type Sub-Menu Items Broken
 Reporter:  Jick          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  UI            |     Version:  3.3
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |

Comment (by SergeyBiryukov):

 Replying to [comment:3 SergeyBiryukov]:
 > `$current_screen->post_type` was set from `$typenow`

 Correction: only in some cases (e.g. `'edit' == $current_screen->id`).

 But still, `$typenow` wasn't overwritten with an empty value in other
 cases (e.g. `'mycustomposttype_page_customposttypesubpage' ==

Ticket URL: <http://core.trac.wordpress.org/ticket/19077#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list