Embeds: Remove the `allow_insecure_embeds` filter.

This reverts [35640]. On further reflection, it really didn't do what it said it did.

Fixes #34588.


Built from https://develop.svn.wordpress.org/trunk@35702


git-svn-id: http://core.svn.wordpress.org/trunk@35666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2015-11-19 05:02:27 +00:00
parent f173cdfb18
commit 53acbb936e
2 changed files with 1 additions and 13 deletions

View File

@ -143,18 +143,6 @@ class WP_Embed {
return '';
}
/**
* Optionally allow or block non-SSL embeds.
*
* @since 4.4.0
*
* @param bool $allowed Flag to determine if non-SSL embeds should be allowed. Default true.
* @param string $url The URL being embedded.
*/
if ( 0 !== strpos( $url, 'https://' ) && ! apply_filters( 'allow_insecure_embeds', true, $url ) ) {
return false;
}
$rawattr = $attr;
$attr = wp_parse_args( $attr, wp_embed_defaults( $url ) );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta4-35701';
$wp_version = '4.4-beta4-35702';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.