Add a hidden submit button to the Appearance -> Header screen so keyboard users can submit the form correctly when a default image provided by the theme is in use.
Fixes #20880. Props kovshenin, joedolson. Built from https://develop.svn.wordpress.org/trunk@30095 git-svn-id: http://core.svn.wordpress.org/trunk@30095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
73f6a574b7
commit
ee6d4968da
|
@ -615,6 +615,7 @@ class Custom_Image_Header {
|
|||
</table>
|
||||
|
||||
<form method="post" action="<?php echo esc_url( add_query_arg( 'step', 1 ) ) ?>">
|
||||
<?php submit_button( null, 'screen-reader-text', 'save-header-options', false ); ?>
|
||||
<table class="form-table">
|
||||
<tbody>
|
||||
<?php if ( get_uploaded_header_images() ) : ?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30094';
|
||||
$wp_version = '4.1-alpha-30095';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue