Skip to content

Commit c9403cb

Browse files
committed
Change priority of attachments
Use `image` as highest prio, followed by `audio` and `video`. This should also improve the enclosure handling.
1 parent 253cfff commit c9403cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/transformer/class-post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ protected function get_attachment() {
311311
);
312312

313313
$media = array(
314+
'image' => array(),
314315
'audio' => array(),
315316
'video' => array(),
316-
'image' => array(),
317317
);
318318
$id = $this->wp_object->ID;
319319

0 commit comments

Comments
 (0)