[wp-trac] [WordPress Trac] #41652: i18n: Use %s placeholders in network translation string

WordPress Trac noreply at wordpress.org
Wed Aug 16 13:19:07 UTC 2017


#41652: i18n: Use %s placeholders in network translation string
----------------------------+-----------------------------
 Reporter:  ramiy           |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  I18N            |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 In the network translation string

 `The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating
 a network.`

 the constant name can be mistakenly changes by the translator.

 The best practice is to replace the `DO_NOT_UPGRADE_GLOBAL_TABLES`
 constant with a `%s` placeholder.

 The patch also adds `<code>` tag around the constant name.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41652>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list