#35738 closed defect (bug) (fixed)
Avoid using HTML tags in translation strings (wp-admin/install.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 (2)
Change History (8)
This ticket was mentioned in Slack in #core-i18n by ramiy. View the logs.
9 years ago
#4
@
9 years ago
In the first string the <code>wp-config.php</code>
was replaced with %s
placeholder.
In the second string I add code tags to the DO_NOT_UPGRADE_GLOBAL_TABLES
constant. And I replaced it with %s
, moving the constant out of the string with the code tag.
Note: See
TracTickets for help on using
tickets.
Old strings:
Your <code>wp-config.php</code> file has an empty database table prefix, which is not supported.
The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when installing WordPress.
New strings:
Your %s file has an empty database table prefix, which is not supported.
The constant %s cannot be defined when installing WordPress.