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

WordPress Trac noreply at wordpress.org
Wed Aug 19 06:22:42 UTC 2015


#17891: Pass $post_type to 'restrict_manage_posts'
-------------------------------+-----------------------------
 Reporter:  scribu             |       Owner:  wonderboymusic
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:
 Severity:  minor              |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33644"]:
 {{{
 #!CommitTicketReference repository="" revision="33644"
 The `'restrict_manage_posts'` hook currently fires on the Post and Media
 list tables, but is passed zero arguments. Pass `$post_type`.

 Props sunnyratilal, scribu.
 Fixes #17891.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17891#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list