Skip to content

Commit

Permalink
Yoda?
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Apr 14, 2023
1 parent 3a6c161 commit 461d7ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function get_item_revisions( $request ) {
'rendered' => sprintf( __( '%1$s (%2$s)', 'gutenberg' ), $time_ago, $date_short ),
),
'id' => $id,
'is_latest' => $id === array_key_first( $user_theme_revisions ),
'is_latest' => array_key_first( $user_theme_revisions ) === $id,
);
}
}
Expand Down

0 comments on commit 461d7ad

Please sign in to comment.