Make WordPress Core


Ignore:
Timestamp:
08/26/2016 09:48:32 AM (5 years ago)
Author:
wonderboymusic
Message:

OEmbed: move _wp_oembed_get_object() to embed.php, where all of the other embed functions live. WP_oEmbed is then in a file by itself. Load class-oembed.php in wp-settings.php and remove extraneous include calls.

See #37827.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r38351 r38361  
    192192require( ABSPATH . WPINC . '/embed.php' );
    193193require( ABSPATH . WPINC . '/class-wp-embed.php' );
     194require( ABSPATH . WPINC . '/class-oembed.php' );
    194195require( ABSPATH . WPINC . '/class-wp-oembed-controller.php' );
    195196require( ABSPATH . WPINC . '/media.php' );
Note: See TracChangeset for help on using the changeset viewer.