#35679 closed defect (bug) (fixed)
Avoid using HTML tags in translation strings (wp-admin/plugins.php)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.5 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | I18N | Keywords: | has-patch |
| Focuses: | Cc: |
Description
See the attached patch.
Attachments (2)
Change History (11)
This ticket was mentioned in Slack in #core-i18n by ramiy. View the logs.
10 years ago
This ticket was mentioned in Slack in #core-i18n by akirk. View the logs.
10 years ago
#5
@
10 years ago
(will also <strong>delete its data</strong>) is confusing by itself (what would delete its data)?
I would suggest just moving the tags into placeholders:
%1$s by %2$s (will also <strong>delete its data</strong>)%1$s by %2$s
The latter string also probably needs a context, to avoid clashing with the one in media_handle_upload() if we remove the trailing dot there at some point.
Note: See
TracTickets for help on using
tickets.
Old strings:
<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>)<strong>%1$s</strong> by <em>%2$s</em>New strings:
%1$s by %2$s(will also <strong>delete its data</strong>)