X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4feeb71a9d812a9ae371c28a3d8b442a4394ded7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-includes/functions.wp-styles.php diff --git a/wp-includes/functions.wp-styles.php b/wp-includes/functions.wp-styles.php index 3c9d6493..5312f823 100644 --- a/wp-includes/functions.wp-styles.php +++ b/wp-includes/functions.wp-styles.php @@ -84,7 +84,12 @@ function wp_add_inline_style( $handle, $data ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); if ( false !== stripos( $data, '' ) ) { - _doing_it_wrong( __FUNCTION__, __( 'Do not pass style tags to wp_add_inline_style().' ), '3.7' ); + _doing_it_wrong( __FUNCTION__, sprintf( + /* translators: 1: #is', '$1', $data ) ); } @@ -95,7 +100,7 @@ function wp_add_inline_style( $handle, $data ) { * Register a CSS stylesheet. * * @see WP_Dependencies::add() - * @link http://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types. + * @link https://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types. * * @since 2.6.0 * @since 4.3.0 A return value was added. @@ -140,7 +145,7 @@ function wp_deregister_style( $handle ) { * * @see WP_Dependencies::add() * @see WP_Dependencies::enqueue() - * @link http://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types. + * @link https://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types. * * @since 2.6.0 *