mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Embeds: Fix syntax on instantiating a new WP_oEmbed_Controller
instance and cross-reference in the DocBlock for wp_oembed_parse_query()
.
See #34227. Built from https://develop.svn.wordpress.org/trunk@34969 git-svn-id: http://core.svn.wordpress.org/trunk@34934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f21439cc64
commit
fa3b23dc0d
@ -332,10 +332,12 @@ function wp_embed_handler_video( $matches, $attr, $url, $rawattr ) {
|
|||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
*
|
*
|
||||||
|
* @see WP_oEmbed_Controller
|
||||||
|
*
|
||||||
* @param WP_Query $wp_query The current WP_Query instance.
|
* @param WP_Query $wp_query The current WP_Query instance.
|
||||||
*/
|
*/
|
||||||
function wp_oembed_parse_query( $wp_query ) {
|
function wp_oembed_parse_query( $wp_query ) {
|
||||||
$controller = new WP_oEmbed_Controller;
|
$controller = new WP_oEmbed_Controller();
|
||||||
$controller->parse_query( $wp_query );
|
$controller->parse_query( $wp_query );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-34968';
|
$wp_version = '4.4-alpha-34969';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user