Skip to content

Commit

Permalink
Filters: Update the sort filter label
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Dec 3, 2024
1 parent 93b8ed3 commit d411a89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ function get_sort_options( $options ) {
$label = __( 'Sort', 'wporg' );
switch ( $sort ) {
case 'date_desc':
$label = __( 'Newest', 'wporg' );
$label = __( 'Sort: Newest', 'wporg' );
break;
case 'date_asc':
$label = __( 'Oldest', 'wporg' );
$label = __( 'Sort: Oldest', 'wporg' );
break;
}

Expand Down

0 comments on commit d411a89

Please sign in to comment.