diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 54bc4cfce2..27eadc6151 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1945,9 +1945,6 @@ function get_submit_button( $text = '', $type = 'primary large', $name = 'submit // Remove empty items, remove duplicate items, and finally build a string. $class = implode( ' ', array_unique( array_filter( $classes ) ) ); - if ( 'delete' === $type ) - $class = 'button delete'; - $text = $text ? $text : __( 'Save Changes' ); // Default the id attribute to $name unless an id was specifically provided in $other_attributes