[wp-trac] [WordPress Trac] #19125: CPT as a submenu item does not get the correct classes when adding new

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 3 04:47:41 UTC 2011


#19125: CPT as a submenu item does not get the correct classes when adding new
--------------------------+------------------------------
 Reporter:  helenyhou     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by helenyhou):

 Replying to [comment:2 nacin]:
 > It should be noted that with [attachment:19125.diff], there won't be any
 submenu added, unless you call add_submenu_page() manually for the post-
 new.php?post_type=$post_type file.

 Not quite sure I understand what you mean by this?

 > Because this wasn't implemented originally, I'd be somewhat hesitant to
 do it now.

 I think it just became more noticeable because menus do not stay expanded
 anymore, so it's less clear where you are in the admin. You are right,
 though - it doesn't work in 3.2.1 (or previous) either.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19125#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list