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:
nacin
2011-04-28 17:03:23 +00:00
parent 9fc2cddeea
commit 59446cff1d
3 changed files with 41 additions and 50 deletions

View File

@@ -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.
*