[wp-trac] [WordPress Trac] #35961: Unit tests for _n_noop & _nx_noop

WordPress Trac noreply at wordpress.org
Fri Feb 26 12:00:26 UTC 2016


#35961: Unit tests for _n_noop & _nx_noop
-------------------------------------+------------------------------
 Reporter:  realloc                  |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  I18N                     |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------

Comment (by swissspidy):

 Yes, the docs are inconsistent. As
 [https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/#documenting-tips per the handbook], third-
 person singular verbs should be used to describe what a function does. For
 example:

 > Registers plural strings in POT file, but doesn't translate them.

 @realloc Would you mind creating a separate patch for the docs changes of
 these two functions?

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


More information about the wp-trac mailing list