Docs: Add missing @since
versions for the oembed_minwidth
and oembed_maxwidth
filters, introduced in [34903].
See #34227. git-svn-id: https://develop.svn.wordpress.org/trunk@34971 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2585c20b35
commit
7c300ef221
@ -332,7 +332,7 @@ function wp_embed_handler_video( $matches, $attr, $url, $rawattr ) {
|
|||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
*
|
*
|
||||||
* @see WP_oEmbed_Controller
|
* @see WP_oEmbed_Controller::parse_query()
|
||||||
*
|
*
|
||||||
* @param WP_Query $wp_query The current WP_Query instance.
|
* @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.
|
* Filter the allowed minimum width for the oEmbed response.
|
||||||
*
|
*
|
||||||
|
* @since 4.4.0
|
||||||
|
*
|
||||||
* @param int $width The minimum width. Defaults to 200.
|
* @param int $width The minimum width. Defaults to 200.
|
||||||
*/
|
*/
|
||||||
$minwidth = apply_filters( 'oembed_minwidth', 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.
|
* Filter the allowed maximum width for the oEmbed response.
|
||||||
*
|
*
|
||||||
|
* @since 4.4.0
|
||||||
|
*
|
||||||
* @param int $width The maximum width. Defaults to 600.
|
* @param int $width The maximum width. Defaults to 600.
|
||||||
*/
|
*/
|
||||||
$maxwidth = apply_filters( 'oembed_maxwidth', 600 );
|
$maxwidth = apply_filters( 'oembed_maxwidth', 600 );
|
||||||
|
Loading…
Reference in New Issue
Block a user