Don't pass variables by reference.
props markjaquith. fixes #27656. Built from https://develop.svn.wordpress.org/trunk@27957 git-svn-id: http://core.svn.wordpress.org/trunk@27787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -136,7 +136,8 @@ class WP_oEmbed {
|
||||
$providers = array();
|
||||
|
||||
// Fetch URL content
|
||||
if ( $html = wp_remote_retrieve_body( wp_safe_remote_get( $url ) ) ) {
|
||||
$request = wp_safe_remote_get( $url );
|
||||
if ( $html = wp_remote_retrieve_body( $request ) ) {
|
||||
|
||||
/**
|
||||
* Filter the link types that contain oEmbed provider URLs.
|
||||
|
||||
Reference in New Issue
Block a user