[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
Thu Sep 16 00:05:41 UTC 2021


#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:  5.9
Component:  Editor                    |     Version:  4.5
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  javascript
--------------------------------------+-------------------------

Comment (by rsiddharth):

 @swissspidy, uploaded new version of the patch with the following changes:

  - Added `common` as a dependency for `wplink` and `tags-suggest`.
  - Used `$scripts->set_translations( 'wplink' );` for loading `wp-i18n`
 for `wplink`.
  - Changed `@since` for `window.uiAutocompleteL10n` to 4.5.0.

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


More information about the wp-trac mailing list