WordPress.org

Make WordPress Core

Changeset 34969


Ignore:
Timestamp:
10/08/2015 10:39:52 PM (6 years ago)
Author:
DrewAPicture
Message:

Embeds: Fix syntax on instantiating a new WP_oEmbed_Controller instance and cross-reference in the DocBlock for wp_oembed_parse_query().

See #34227.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/embed-functions.php

    r34968 r34969  
    333333 * @since 4.4.0
    334334 *
     335 * @see WP_oEmbed_Controller
     336 *
    335337 * @param WP_Query $wp_query The current WP_Query instance.
    336338 */
    337339function wp_oembed_parse_query( $wp_query ) {
    338     $controller = new WP_oEmbed_Controller;
     340    $controller = new WP_oEmbed_Controller();
    339341    $controller->parse_query( $wp_query );
    340342}
Note: See TracChangeset for help on using the changeset viewer.