Skip to content

Commit c997077

Browse files
committed
Block theme: Ensure sort modal heading text is always "Sort"
This was mistakenly changed in 81c9db6, the label should not dynamically update. Fixes #664
1 parent d1d50a4 commit c997077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function get_sort_options( $options ) {
222222

223223
return array(
224224
'label' => $label,
225-
'title' => $label,
225+
'title' => __( 'Sort', 'wporg-patterns' ),
226226
'key' => 'orderby',
227227
'action' => get_filter_action_url(),
228228
'options' => $options,

0 commit comments

Comments
 (0)