Skip to content

Commit

Permalink
order by ID
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Oct 23, 2024
1 parent 960a7f8 commit acab831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private static function migrate_to_4_0_0() {
$latest_post = get_posts(
array(
'numberposts' => 1,
'orderby' => 'date',
'orderby' => 'ID',
'order' => 'DESC',
'post_type' => 'any',
'post_status' => 'publish',
Expand Down

0 comments on commit acab831

Please sign in to comment.