From 7ff2e55ee75ed6baee6c45ac946d3151a1635948 Mon Sep 17 00:00:00 2001 From: yogeshbhutkar Date: Wed, 1 Jan 2025 11:56:27 +0530 Subject: [PATCH] Tests: update order of wrapper attributes to fix failing tests --- packages/block-library/src/navigation-submenu/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/block-library/src/navigation-submenu/index.php b/packages/block-library/src/navigation-submenu/index.php index f17125443c11ff..ff0366a30be11c 100644 --- a/packages/block-library/src/navigation-submenu/index.php +++ b/packages/block-library/src/navigation-submenu/index.php @@ -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(