#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 |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
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.
In 40067: