From 4356a28b52530140cc1d57b18c9c23b167a9b491 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 31 Oct 2016 16:39:32 +0000 Subject: [PATCH] Administration: remove a leftover check from get_submit_button. Props sstoqnov. Fixes #34891. Built from https://develop.svn.wordpress.org/trunk@39059 git-svn-id: http://core.svn.wordpress.org/trunk@39001 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 3 --- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 54bc4cfce2..27eadc6151 100644 --- a/wp-admin/includes/template.php +++ b/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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f3f9e0175..b2ce64c4af 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-39058'; +$wp_version = '4.7-beta1-39059'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.