mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this.
Props jdgrimes. See #25160. git-svn-id: https://develop.svn.wordpress.org/trunk@25254 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -179,7 +179,7 @@ class WP_Importer {
|
||||
*/
|
||||
function get_page( $url, $username = '', $password = '', $head = false ) {
|
||||
// Increase the timeout
|
||||
add_filter( 'http_request_timeout', array( &$this, 'bump_request_timeout' ) );
|
||||
add_filter( 'http_request_timeout', array( $this, 'bump_request_timeout' ) );
|
||||
|
||||
$headers = array();
|
||||
$args = array();
|
||||
|
||||
Reference in New Issue
Block a user