diff --git a/wp-includes/functions.wp-scripts.php b/wp-includes/functions.wp-scripts.php index c64d51d5e9..cd2b2a2977 100644 --- a/wp-includes/functions.wp-scripts.php +++ b/wp-includes/functions.wp-scripts.php @@ -110,7 +110,7 @@ function wp_add_inline_script( $handle, $data, $position = 'after' ) { _doing_it_wrong( __FUNCTION__, sprintf( /* translators: 1: script, 2: wp_add_inline_script() */ __( 'Do not pass %1$s tags to %2$s.' ), - 'script', + '<script>', 'wp_add_inline_script()' ), '4.5' ); $data = trim( preg_replace( '#]*>(.*)#is', '$1', $data ) ); diff --git a/wp-includes/functions.wp-styles.php b/wp-includes/functions.wp-styles.php index 37037d3d49..a961193f8a 100644 --- a/wp-includes/functions.wp-styles.php +++ b/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 ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 750b667b4b..38d9628e15 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37189'; +$wp_version = '4.6-alpha-37190'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.