diff --git a/wp-includes/functions.wp-styles.php b/wp-includes/functions.wp-styles.php index 5acea977fe..31993b6c97 100644 --- a/wp-includes/functions.wp-styles.php +++ b/wp-includes/functions.wp-styles.php @@ -106,8 +106,9 @@ function wp_add_inline_style( $handle, $data ) { * @param string|bool $ver String specifying the stylesheet version number. Used to ensure that the correct version * is sent to the client regardless of caching. Default 'false'. Accepts 'false', 'null', or 'string'. * @param string $media Optional. The media for which this stylesheet has been defined. - * Default 'all'. Accepts 'all', 'aural', 'braille', 'handheld', 'projection', 'print', - * 'screen', 'tty', or 'tv'. + * Default 'all'. Accepts media types like 'all', 'print' and 'screen', or media queries like + * '(orientation: portrait)' and '(max-width: 640px)'. + * * @return bool Whether the style has been registered. True on success, false on failure. */ function wp_register_style( $handle, $src, $deps = array(), $ver = false, $media = 'all' ) { @@ -149,8 +150,8 @@ function wp_deregister_style( $handle ) { * to ensure that the correct version is sent to the client regardless of caching, and so * should be included if a version number is available and makes sense for the stylesheet. * @param string $media Optional. The media for which this stylesheet has been defined. - * Default 'all'. Accepts 'all', 'aural', 'braille', 'handheld', 'projection', 'print', - * 'screen', 'tty', or 'tv'. + * Default 'all'. Accepts media types like 'all', 'print' and 'screen', or media queries like + * '(orientation: portrait)' and '(max-width: 640px)'. */ function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = 'all' ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 06ba801daa..f80b32ae8f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36648'; +$wp_version = '4.5-alpha-36649'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.