[wp-trac] [WordPress Trac] #28442: New filter for post status links (in admin)

WordPress Trac noreply at wordpress.org
Wed Jun 4 04:57:40 UTC 2014


#28442: New filter for post status links (in admin)
----------------------------+------------------------------
 Reporter:  khromov         |       Owner:
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+------------------------------

Comment (by kpdesign):

 @khromov: Thank you for the patch.

 Just a couple notes on the docs:
 - The @since needs to be 3-digit (4.0.0) per the
 [http://make.wordpress.org/core/handbook/inline-documentation-standards
 /php-documentation-standards/#4-hooks-actions-and-filters inline docs
 standard].
 - I would suggest changing the parameter description to include the
 defaults, in keeping with how other similar descriptions are written:

 {{{
 @param array $status_links An array of fully-formed post status links.
 Default 'All'.
                            Accepts 'All', 'Mine', 'Published', 'Sticky',
 'Draft',
                            'Pending', and 'Trash'.
 }}}

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


More information about the wp-trac mailing list