From 60f86d2865d67870b8db39330dbae20a504bbced Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 8 Oct 2015 22:55:25 +0000 Subject: [PATCH] Docs: Add missing `@since` versions for the `oembed_minwidth` and `oembed_maxwidth` filters, introduced in [34903]. See #34227. Built from https://develop.svn.wordpress.org/trunk@34971 git-svn-id: http://core.svn.wordpress.org/trunk@34936 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/embed-functions.php | 6 +++++- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-includes/embed-functions.php b/wp-includes/embed-functions.php index 65c7d3d311..263123740e 100644 --- a/wp-includes/embed-functions.php +++ b/wp-includes/embed-functions.php @@ -332,7 +332,7 @@ function wp_embed_handler_video( $matches, $attr, $url, $rawattr ) { * * @since 4.4.0 * - * @see WP_oEmbed_Controller + * @see WP_oEmbed_Controller::parse_query() * * @param WP_Query $wp_query The current WP_Query instance. */ @@ -526,6 +526,8 @@ function get_oembed_response_data( $post = null, $width ) { /** * Filter the allowed minimum width for the oEmbed response. * + * @since 4.4.0 + * * @param int $width The minimum width. Defaults to 200. */ $minwidth = apply_filters( 'oembed_minwidth', 200 ); @@ -533,6 +535,8 @@ function get_oembed_response_data( $post = null, $width ) { /** * Filter the allowed maximum width for the oEmbed response. * + * @since 4.4.0 + * * @param int $width The maximum width. Defaults to 600. */ $maxwidth = apply_filters( 'oembed_maxwidth', 600 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 5981cc5a50..d1b6ca63ce 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34970'; +$wp_version = '4.4-alpha-34971'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.