[wp-trac] [WordPress Trac] #17891: Pass $post_type to 'restrict_manage_posts'

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 22 01:07:27 UTC 2012


#17891: Pass $post_type to 'restrict_manage_posts'
-------------------------------------+------------------------------
 Reporter:  scribu                   |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Administration           |     Version:
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-refresh  |
-------------------------------------+------------------------------
Changes (by Viper007Bond):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 Now that we're not passing around the `$post_type` global, we should
 instead pass the whole `$this->screen` object.

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


More information about the wp-trac mailing list