[wp-trac] Re: [WordPress Trac] #8246: screen_meta and plugins and columns and 2.7beta3 ???

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 16 18:49:32 GMT 2008


#8246: screen_meta and plugins and columns and 2.7beta3 ???
----------------------------+-----------------------------------------------
 Reporter:  arena           |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  high            |    Milestone:  2.7      
Component:  Administration  |      Version:           
 Severity:  major           |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by arena):

 Replying to [ticket:8246 arena]:
 > screen_meta($screen)
 > 3209      if ( !meta_box_prefs($screen) &&
 isset($column_screens[$screen]) ) {
 > 3210          manage_columns_prefs($column_screens[$screen]);
 >
 > How do i set array $column_screens for my specific screen (in fact page
 plugin ...)
 >
 > suggestion :
 >
 > 3189 $column_screens = apply_filters('column_screens', $column_screens,
 $screen);


 Or another suggestion could be :

         $column_screens = array('edit' => 'post', 'edit-pages' => 'page',
 'edit-tags' => 'tag', 'categories' => 'category',
                 'edit-link-categories' => 'link-category', 'link-manager'
 => 'link', 'users' => 'user', 'upload' => 'media',
                 'edit-comments' => 'comment', $screen => $screen);


 >
 > thanks
 >

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8246#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list