[wp-trac] [WordPress Trac] #40901: get_comments_number_text() third argument not used in certain situations (was: get_comments_number_text() third argument parsing weirdly)

WordPress Trac noreply at wordpress.org
Fri Jun 21 13:02:54 UTC 2019


#40901: get_comments_number_text() third argument not used in certain situations
------------------------------------+-----------------------------
 Reporter:  eclare                  |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Comments                |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  needs-patch needs-docs  |     Focuses:  docs
------------------------------------+-----------------------------
Changes (by earnjam):

 * keywords:   => needs-patch needs-docs
 * focuses:  template => docs
 * version:  4.7.5 =>
 * milestone:  Awaiting Review => Future Release


Comment:

 This is specific to the Polish translation (or other languages where the
 comment number translation requires declension).

 In those cases, when the 3rd parameter contains a `%`, it is not used and
 it just uses a translation of `% Comments`. This should probably be
 clarified in the documentation.

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


More information about the wp-trac mailing list