From c6f6d66df73b5c266d8143c51dd8caf84ffb7503 Mon Sep 17 00:00:00 2001 From: Nirav sherasiya Date: Thu, 19 Mar 2026 17:01:47 +0530 Subject: [PATCH] Add compact button variation in variation list --- src/wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 6680bca89691a..5023703fd5580 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -2604,7 +2604,7 @@ function get_submit_button( $text = '', $type = 'primary large', $name = 'submit $type = explode( ' ', $type ); } - $button_shorthand = array( 'primary', 'small', 'large' ); + $button_shorthand = array( 'primary', 'small', 'large', 'compact' ); $classes = array( 'button' ); foreach ( $type as $t ) {