mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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:
parent
f1591eccca
commit
4356a28b52
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user