[wp-trac] [WordPress Trac] #48244: script-loader.php Need to use _n() when more than one results are found

WordPress Trac noreply at wordpress.org
Wed Feb 19 09:59:46 UTC 2020


#48244: script-loader.php Need to use _n() when more than one results are found
----------------------------------------+------------------------------
 Reporter:  tobifjellner                |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Script Loader               |     Version:  4.5
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:
----------------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  good-first-bug has-patch => good-first-bug needs-patch


Comment:

 Please refer to the documentation on how to properly use these functions
 in JS:
 https://github.com/WordPress/gutenberg/tree/6942c1df30250d5f27e36c2938b7905acf79644c/packages/i18n#usage

 We'd need to make sure that these scripts will have `wp-i18n` as a
 dependency as well.

 Also: please test your patches.

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


More information about the wp-trac mailing list