[wp-trac] [WordPress Trac] #42139: Incorrect use of plural in script-loader.php

WordPress Trac noreply at wordpress.org
Sun Oct 8 09:01:18 UTC 2017


#42139: Incorrect use of plural in script-loader.php
--------------------------+----------------------
 Reporter:  tobifjellner  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 `_n()` can only be used when you know the amount you're dealing with at
 this point of time. However, these strings are used in JavaScript context
 and and the amount is not known.

 It's not ideal, but until we have something like #20491 in core, we have
 to live with such exceptions.

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


More information about the wp-trac mailing list