mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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