Remove default-embeds.php. fixes #17112.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -3196,20 +3196,6 @@ function wp_list_pluck( $list, $field ) {
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if default embed handlers should be loaded.
|
||||
*
|
||||
* Checks to make sure that the embeds library hasn't already been loaded. If
|
||||
* it hasn't, then it will load the embeds library.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*/
|
||||
function wp_maybe_load_embeds() {
|
||||
if ( ! apply_filters('load_default_embeds', true) )
|
||||
return;
|
||||
require_once( ABSPATH . WPINC . '/default-embeds.php' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if Widgets library should be loaded.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user