WordPress.org

Make WordPress Core

Ticket #35113: 35113.patch

File 35113.patch, 867 bytes (added by mercime, 6 years ago)
  • src/wp-admin/includes/theme-install.php

     
    143143<p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.'); ?></p>
    144144<form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-theme'); ?>">
    145145        <?php wp_nonce_field( 'theme-upload'); ?>
    146         <input type="file" name="themezip" />
     146        <label class="screen-reader-text" for="themezip"><?php _e('Theme zip file'); ?></label>
     147        <input type="file" id="themezip" name="themezip" />
    147148        <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?>
    148149</form>
    149150        <?php