From 8594b7922ddc834afb7ed4a548f9122b66790818 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 13 Apr 2016 04:15:40 +0000 Subject: [PATCH] I18N: After [37188], display `script` and `style` tags in the message as `#is', '$1', $data ) ); diff --git a/src/wp-includes/functions.wp-styles.php b/src/wp-includes/functions.wp-styles.php index 37037d3d49..a961193f8a 100644 --- a/src/wp-includes/functions.wp-styles.php +++ b/src/wp-includes/functions.wp-styles.php @@ -87,7 +87,7 @@ function wp_add_inline_style( $handle, $data ) { _doing_it_wrong( __FUNCTION__, sprintf( /* translators: 1: style, 2: wp_add_inline_style() */ __( 'Do not pass %1$s tags to %2$s.' ), - 'style', + '<style>', 'wp_add_inline_style()' ), '3.7' ); $data = trim( preg_replace( '#]*>(.*)#is', '$1', $data ) );