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

WordPress Trac noreply at wordpress.org
Wed Aug 19 20:09:54 UTC 2015


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

 * keywords:  has-patch => needs-docs
 * status:  closed => reopened
 * resolution:  fixed =>
 * severity:  minor => normal


Comment:

 The hook actually needs a full docbloc, see
 https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/#1-functions-and-class-methods. Shouldn't be
 more than a couple lines.

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


More information about the wp-trac mailing list