Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Jan 26, 2024
1 parent 5f5c3a8 commit 8a45a04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mu-plugins/blocks/query-filter/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ class="wporg-query-filter__modal-close"
* @param WP_Block $block The current block being rendered.
*/
do_action( 'wporg_query_filter_in_form', $settings['key'], $block );

/* translators: %s is count of currently selected filters. */
$label_count = __( 'Apply (%s)', 'wporg' );
?>

<div class="wporg-query-filter__modal-actions">
Expand All @@ -152,10 +155,7 @@ class="wporg-query-filter__modal-action-clear"
/>
<input
type="submit"
data-label-with-count="<?php
/* translators: %s is count of currently selected filters. */
esc_attr_e( 'Apply (%s)', 'wporg' );
?>"
data-label-with-count="<?php echo esc_attr( $label_count ); ?>"
data-label=<?php esc_attr_e( 'Apply', 'wporg' ); ?>
value="<?php echo esc_html( $apply_label ); ?>"
/>
Expand Down

0 comments on commit 8a45a04

Please sign in to comment.