WordPress.org

Make WordPress Core

Ticket #9498: theme.install.input.tag.close.patch

File theme.install.input.tag.close.patch, 1.4 KB (added by simek, 11 years ago)
  • theme-install.php

     
    189189?>
    190190
    191191<li>
    192         <input type="checkbox" name="features[<?php echo $html_safe['feature']; ?>]" id="feature-id-<?php echo $html_safe['feature']; ?>" value="<?php echo $html_safe['feature']; ?>">
     192        <input type="checkbox" name="features[<?php echo $html_safe['feature']; ?>]" id="feature-id-<?php echo $html_safe['feature']; ?>" value="<?php echo $html_safe['feature']; ?>" />
    193193        <label for="feature-id-<?php echo $html_safe['feature']; ?>"><?php echo $html_safe['feature']; ?></label>
    194194</li>
    195195
     
    260260        ?>
    261261<h4><?php _e('Install a theme in .zip format') ?></h4>
    262262<p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.') ?></p>
    263 <form method="post" enctype="multipart/form-data"
    264         action="<?php echo admin_url('theme-install.php?tab=do_upload') ?>"><?php wp_nonce_field( 'theme-upload') ?>
    265 <input type="file" name="themezip" /> <input type="submit"
    266         class="button" value="<?php _e('Install Now') ?>" /></form>
     263<form method="post" enctype="multipart/form-data" action="<?php echo admin_url('theme-install.php?tab=do_upload') ?>"><?php wp_nonce_field( 'theme-upload') ?>
     264        <input type="file" name="themezip" /> <input type="submit" class="button" value="<?php _e('Install Now') ?>" />
     265</form>
    267266        <?php
    268267}
    269268