Skip to content

Commit

Permalink
Fix trailing spaces on navigation block classnames (WordPress#68161)
Browse files Browse the repository at this point in the history
Co-authored-by: kurudrive <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: luisherranz <[email protected]>
Co-authored-by: ramonjd <[email protected]>
  • Loading branch information
5 people authored Dec 23, 2024
1 parent b1a4344 commit 212144c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/navigation/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,8 @@ private static function get_responsive_container_markup( $attributes, $inner_blo
$inner_blocks_html,
$toggle_aria_label_open,
$toggle_aria_label_close,
esc_attr( implode( ' ', $responsive_container_classes ) ),
esc_attr( implode( ' ', $open_button_classes ) ),
esc_attr( trim( implode( ' ', $responsive_container_classes ) ) ),
esc_attr( trim( implode( ' ', $open_button_classes ) ) ),
( ! empty( $overlay_inline_styles ) ) ? "style=\"$overlay_inline_styles\"" : '',
$toggle_button_content,
$toggle_close_button_content,
Expand Down

0 comments on commit 212144c

Please sign in to comment.