Make WordPress Core

Changeset 39009


Ignore:
Timestamp:
10/30/2016 04:03:39 AM (7 years ago)
Author:
westonruter
Message:

Customize: Fix message grammar for custom_css validity error when imbalanced characters possibly due to content CSS property.

Props Presskopp.
See #35395.
Fixes #38564.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-custom-css-setting.php

    r38829 r39009  
    204204        }
    205205        if ( $imbalanced && $this->is_possible_content_error( $css ) ) {
    206             $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.' ) );
     206            $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.' ) );
    207207        }
    208208
Note: See TracChangeset for help on using the changeset viewer.