WordPress.org

Make WordPress Core

Changeset 8361


Ignore:
Timestamp:
07/16/2008 10:09:27 PM (10 years ago)
Author:
azaozz
Message:

Fix invalid HTML and remove duplicate fields. Fixes #7293 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r8358 r8361  
    872872
    873873?>
    874 <input type='hidden' name='post_id' value='<?php echo (int) $post_id; ?>' />
    875874<div id="media-upload-notice">
    876875<?php if (isset($errors['upload_notice']) ) { ?>
     
    935934<?php do_action('pre-html-upload-ui'); ?>
    936935    <p>
    937     <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php echo attribute_escape(__('Upload')); ?>" /> <a href="#" onClick="return top.tb_remove();"><?php _e('Cancel'); ?></a>
     936    <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php echo attribute_escape(__('Upload')); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a>
    938937    </p>
    939     <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
     938
    940939    <br class="clear" />
    941940    <?php if ( is_lighttpd_before_150() ): ?>
     
    10701069</div>
    10711070<input type="submit" class="button savebutton" name="save" value="<?php echo attribute_escape( __( 'Save all changes' ) ); ?>" />
     1071</form>
    10721072<?php
    10731073    endif;
     
    12821282                <span class="alignright"><img id="status_img" src="images/required.gif" title="required" alt="required" /></span>
    12831283            </th>
    1284             <td class="field"><input id="src" name="src" value="" type="text" aria-required="true" onblur="addExtImage.getImageData()"></td>
     1284            <td class="field"><input id="src" name="src" value="" type="text" aria-required="true" onblur="addExtImage.getImageData()" /></td>
    12851285        </tr>
    12861286
Note: See TracChangeset for help on using the changeset viewer.