Ticket #22425: 22425.patch
| File 22425.patch, 692 bytes (added by , 13 years ago) |
|---|
-
wp-includes/SimplePie/Locator.php
277 277 $parsed = $this->registry->call('Misc', 'parse_url', array($href)); 278 278 if ($parsed['scheme'] === '' || preg_match('/^(http(s)|feed)?$/i', $parsed['scheme'])) 279 279 { 280 if ( $this->base_location < $link->getLineNo())280 if (method_exists($link, 'getLineNo') && $this->base_location < $link->getLineNo()) 281 281 { 282 282 $href = $this->registry->call('Misc', 'absolutize_url', array(trim($link->getAttribute('href')), $this->base)); 283 283 }