mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Remove default-embeds.php. fixes #17112.
git-svn-id: https://develop.svn.wordpress.org/trunk@17751 602fd350-edb4-49c9-b593-d223f7449a82
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