#39898 closed defect (bug) (fixed)
Avoid using HTML in translation strings (wp-includes/customize/class-wp-customize-custom-css-setting.php)
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | I18N | Version: | 4.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
In the past, we've made an effort to remove <code> tags from translatable strings, as they generally do not need to be translated.
[38829] introduced a bunch of new strings with <code> tags in WP_Customize_Custom_CSS_Setting class for displaying error messages when validating custom CSS rules.
I've just stumbled upon a string where <code>content: "";</code> was translated literally, which means we should remove non-translatable parts from these strings.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 40067: