WordPress.org

Make WordPress Core

Changeset 25342


Ignore:
Timestamp:
09/11/2013 04:01:44 AM (8 years ago)
Author:
nacin
Message:

SimplePie: Fix use of DOMElement as array.

props MikeSchinkel.
fixes #25274.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/SimplePie/Sanitize.php

    r22970 r25342  
    316316                            else
    317317                            {
    318                                 $file = $this->registry->create('File', array($img['attribs']['src']['data'], $this->timeout, 5, array('X-FORWARDED-FOR' => $_SERVER['REMOTE_ADDR']), $this->useragent, $this->force_fsockopen));
     318                                $file = $this->registry->create('File', array($img->getAttribute('src'), $this->timeout, 5, array('X-FORWARDED-FOR' => $_SERVER['REMOTE_ADDR']), $this->useragent, $this->force_fsockopen));
    319319                                $headers = $file->headers;
    320320
Note: See TracChangeset for help on using the changeset viewer.