[wp-trac] [WordPress Trac] #41695: i18n: Avoid using HTML tags in translation strings (wp-admin/includes/class-theme-upgrader.php)
WordPress Trac
noreply at wordpress.org
Mon Aug 21 23:04:22 UTC 2017
#41695: i18n: Avoid using HTML tags in translation strings (wp-admin/includes
/class-theme-upgrader.php)
--------------------------+-----------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
This patch removes HTML `<strong>` tags from translation strings.
Replacing `<strong>%s</strong>` with `%s` moving the HTML tags outside.
Old string:
* `<strong>The parent theme could not be found.</strong> You will need to
install the parent theme, <strong>%s</strong>, before you can use this
child theme.`
New string:
* `<strong>The parent theme could not be found.</strong> You will need to
install the parent theme, %s, before you can use this child theme.`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41695>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list