mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@38361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -191,6 +191,7 @@ require( ABSPATH . WPINC . '/canonical.php' );
|
||||
require( ABSPATH . WPINC . '/shortcodes.php' );
|
||||
require( ABSPATH . WPINC . '/embed.php' );
|
||||
require( ABSPATH . WPINC . '/class-wp-embed.php' );
|
||||
require( ABSPATH . WPINC . '/class-oembed.php' );
|
||||
require( ABSPATH . WPINC . '/class-wp-oembed-controller.php' );
|
||||
require( ABSPATH . WPINC . '/media.php' );
|
||||
require( ABSPATH . WPINC . '/http.php' );
|
||||
|
||||
Reference in New Issue
Block a user