mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 04:49:49 +01:00
Customize: Fix message grammar for custom_css
validity error when imbalanced characters possibly due to content
CSS property.
Props Presskopp. See #35395. Fixes #38564. git-svn-id: https://develop.svn.wordpress.org/trunk@39009 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5de9799317
commit
a8b4e3c54b
@ -203,7 +203,7 @@ final class WP_Customize_Custom_CSS_Setting extends WP_Customize_Setting {
|
||||
$imbalanced = true;
|
||||
}
|
||||
if ( $imbalanced && $this->is_possible_content_error( $css ) ) {
|
||||
$validity->add( 'possible_false_positive', __( 'Imbalanced/Unclosed character errors can be caused <code>content: "";</code> declarations. You may need to remove this or add it a custom CSS file.' ) );
|
||||
$validity->add( 'possible_false_positive', __( 'Imbalanced/unclosed character errors can be caused by <code>content: "";</code> declarations. You may need to remove this or add it to a custom CSS file.' ) );
|
||||
}
|
||||
|
||||
if ( empty( $validity->errors ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user