Skip to content

Commit

Permalink
Tests: update order of wrapper attributes to fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Jan 1, 2025
1 parent c2e99d1 commit 7ff2e55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-library/src/navigation-submenu/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ function render_block_core_navigation_submenu( $attributes, $content, $block ) {
}

$wrapper_attributes = sprintf(
'class="%s" style="%s"',
$css_classes,
$style_attribute
'style="%1$s" class="%2$s"',
$style_attribute,
$css_classes
);

$html .= sprintf(
Expand Down

0 comments on commit 7ff2e55

Please sign in to comment.