Don't pass variables by reference.

props markjaquith.
fixes #27656.


git-svn-id: https://develop.svn.wordpress.org/trunk@27957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2014-04-05 18:16:45 +00:00
parent 84c4332b3e
commit 631b55ac0b
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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.