[wp-trac] [WordPress Trac] #37732: Add a space after a period in docs

WordPress Trac noreply at wordpress.org
Fri Aug 19 09:20:28 UTC 2016


#37732: Add a space after a period in docs
-------------------------------+-------------------
 Reporter:  ixkaito            |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  4.7
Component:  Posts, Post Types  |     Version:  2.7
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+-------------------
Changes (by swissspidy):

 * keywords:   => has-patch
 * version:  0.71 => 2.7
 * milestone:  Awaiting Review => 4.7


Comment:

 Thanks for the patch! Introduced in [9138].

 It looks like the docblock can be further improved. For example, the
 default value should be at the end of the parameter description, not at
 the beginning. Also, the default value for the other params isn't
 documented.

 Adjusted the docs in [attachment:37732.2.diff] according to our
 [https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/ PHP documentation standards].

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


More information about the wp-trac mailing list