Skip to content

Commit acab831

Browse files
committed
order by ID
1 parent 960a7f8 commit acab831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-migration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ private static function migrate_to_4_0_0() {
285285
$latest_post = get_posts(
286286
array(
287287
'numberposts' => 1,
288-
'orderby' => 'date',
288+
'orderby' => 'ID',
289289
'order' => 'DESC',
290290
'post_type' => 'any',
291291
'post_status' => 'publish',

0 commit comments

Comments
 (0)