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 ) {