Skip to content

Commit db273b7

Browse files
committed
Update customizer error message
1 parent edca2a2 commit db273b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/customize/class-wp-customize-custom-css-setting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function validate( $value ) {
172172
* @see https://html.spec.whatwg.org/multipage/parsing.html#generic-raw-text-element-parsing-algorithm
173173
*/
174174
if ( stripos( $css, '</style' ) ) {
175-
$validity->add( 'illegal_markup', __( 'Markup is not allowed in CSS.' ) );
175+
$validity->add( 'illegal_markup', __( 'CSS must not contain possible closing STYLE tag "</style".' ) );
176176
}
177177

178178
if ( ! $validity->has_errors() ) {

0 commit comments

Comments
 (0)