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

WordPress Trac noreply at wordpress.org
Fri Aug 21 16:07:58 UTC 2015


#17891: Pass $post_type to 'restrict_manage_posts'
-------------------------------+-----------------------------
 Reporter:  scribu             |       Owner:  DrewAPicture
     Type:  enhancement        |      Status:  reviewing
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  good-first-bug     |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by DrewAPicture):

 * keywords:  needs-docs good-first-bug => good-first-bug
 * owner:  wonderboymusic => DrewAPicture
 * status:  reopened => reviewing


Comment:

 Replying to [comment:13 pavelevap]:
 > Sure, I will add patch in a while...
 >
 > I found similar docs, but I am not sure if there is any standard for
 this sentence?
 >
 > {{{
 > Added `$post_type` parameter.
 > The `$post_type` parameter was added.
 > Introduced the `$post_type` parameter.
 > ...
 > }}}

 Personally, I prefer the second one:
 {{{
 The `$post_type` parameter was added.
 }}}

 I'll fix it on commit. Thanks for the patch!

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


More information about the wp-trac mailing list