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
This commit is contained in:
Andrea Fercia 2016-10-31 16:39:32 +00:00
parent f1591eccca
commit 4356a28b52
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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.