#35743 closed defect (bug) (fixed)
Avoid using HTML tags in translation strings (wp-admin/upload.php)
Reported by: | ramiy | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | has-patch |
Focuses: | Cc: |
Description
See the attached patch.
Attachments (1)
Change History (7)
#3
follow-up:
↓ 4
@
9 years ago
It's easy to forget or accidentally remove %s
at the end. Let's just change upload.php?mode=list
to a placeholder.
#4
in reply to:
↑ 3
@
9 years ago
Replying to SergeyBiryukov:
It's easy to forget or accidentally remove
%s
at the end. Let's just changeupload.php?mode=list
to a placeholder.
Ok.
Note: See
TracTickets for help on using
tickets.
Old string:
The grid view for the Media Library requires JavaScript. <a href="upload.php?mode=list">Switch to the list view</a>.
New strings:
The grid view for the Media Library requires JavaScript. %s.
Switch to the list view