Skip to content

Commit

Permalink
Block theme: Ensure sort modal heading text is always "Sort"
Browse files Browse the repository at this point in the history
This was mistakenly changed in 81c9db6, the label should not dynamically update.

Fixes #664
  • Loading branch information
ryelle committed Apr 15, 2024
1 parent d1d50a4 commit c997077
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function get_sort_options( $options ) {

return array(
'label' => $label,
'title' => $label,
'title' => __( 'Sort', 'wporg-patterns' ),
'key' => 'orderby',
'action' => get_filter_action_url(),
'options' => $options,
Expand Down

0 comments on commit c997077

Please sign in to comment.