enclosures: rewrite relative urls on import, duh
This commit is contained in:
parent
9594ea6875
commit
86e534290e
|
@ -1078,7 +1078,8 @@
|
||||||
if (is_array($encs)) {
|
if (is_array($encs)) {
|
||||||
foreach ($encs as $e) {
|
foreach ($encs as $e) {
|
||||||
$e_item = array(
|
$e_item = array(
|
||||||
$e->link, $e->type, $e->length, $e->title, $e->width, $e->height);
|
rewrite_relative_url($site_url, $e->link),
|
||||||
|
$e->type, $e->length, $e->title, $e->width, $e->height);
|
||||||
array_push($enclosures, $e_item);
|
array_push($enclosures, $e_item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue