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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 24 22:21:31 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 batmoo):

 Example code:

 {{{
 add_action( 'init', function() {
         register_post_type( 'breaking-news', array(
                 'label' => 'Breaking News',
                 'public' => true,
                 'has_archive' => true,
                 'supports' => array('title', 'editor'),
         ) );
 });
 }}}

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


More information about the wp-trac mailing list