From a8b4e3c54b332644eed066085b3c1871c24c82c3 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 30 Oct 2016 04:03:39 +0000 Subject: [PATCH] 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 --- .../customize/class-wp-customize-custom-css-setting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/customize/class-wp-customize-custom-css-setting.php b/src/wp-includes/customize/class-wp-customize-custom-css-setting.php index 285adb5f7f..2015458119 100644 --- a/src/wp-includes/customize/class-wp-customize-custom-css-setting.php +++ b/src/wp-includes/customize/class-wp-customize-custom-css-setting.php @@ -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 content: ""; 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 content: ""; declarations. You may need to remove this or add it to a custom CSS file.' ) ); } if ( empty( $validity->errors ) ) {