WordPress.org

Make WordPress Core

Changeset 30095


Ignore:
Timestamp:
10/29/2014 09:40:58 PM (7 years ago)
Author:
johnbillion
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-header.php

    r30021 r30095  
    616616
    617617<form method="post" action="<?php echo esc_url( add_query_arg( 'step', 1 ) ) ?>">
     618<?php submit_button( null, 'screen-reader-text', 'save-header-options', false ); ?>
    618619<table class="form-table">
    619620<tbody>
Note: See TracChangeset for help on using the changeset viewer.