[wp-trac] [WordPress Trac] #19353: WP_Screen::get tramples screen ids

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 25 05:20:47 UTC 2011


#19353: WP_Screen::get tramples screen ids
----------------------------+-----------------------
 Reporter:  batmoo          |       Owner:  nacin
     Type:  defect (bug)    |      Status:  accepted
 Priority:  high            |   Milestone:  3.3
Component:  Administration  |     Version:  3.3
 Severity:  major           |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by nacin):

 There are two primary and distinct fixes here.

 One, if $hook_name is a post type, then we should instantly go with that.
 This is primarily for compatibility with the $page argument of
 add_meta_box().

 Two, we can be a lot more specific about the whole hyphen explode thing.

 Incoming patch.

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


More information about the wp-trac mailing list