[wp-trac] [WordPress Trac] #35675: Avoid using HTML tags in translation strings (wp-admin/custom-header.php)
WordPress Trac
noreply at wordpress.org
Sun Jan 31 11:34:57 UTC 2016
#35675: Avoid using HTML tags in translation strings (wp-admin/custom-header.php)
--------------------------+-----------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
See the attached patch.
* remove the `<strong>` tag from the string.
* add translators comments.
* split into smaller strings.
* use `%s` and `%d` instead of `%1$d`.
Generally, this patch creates 3 simpler strings without HTML tags, from 2
strings with HTML tags.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35675>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list