Make WordPress Core

Changeset 8362


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

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

File:
1 edited

Legend:

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

    r8321 r8362  
    885885
    886886?>
    887 <input type='hidden' name='post_id' value='<?php echo (int) $post_id; ?>' />
    888887<div id="media-upload-notice">
    889888<?php if (isset($errors['upload_notice']) ) { ?>
     
    948947<?php do_action('pre-html-upload-ui'); ?>
    949948    <p>
    950     <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>
     949    <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>
    951950    </p>
    952     <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
    953951    <br class="clear" />
    954952    <?php if ( is_lighttpd_before_150() ): ?>
     
    10831081</div>
    10841082<input type="submit" class="button savebutton" name="save" value="<?php echo attribute_escape( __( 'Save all changes' ) ); ?>" />
     1083</form>
    10851084<?php
    10861085    endif;
     
    12861285                <span class="alignright"><img id="status_img" src="images/required.gif" title="required" alt="required" /></span>
    12871286            </th>
    1288             <td class="field"><input id="src" name="src" value="" type="text" aria-required="true" onblur="addExtImage.getImageData()"></td>
     1287            <td class="field"><input id="src" name="src" value="" type="text" aria-required="true" onblur="addExtImage.getImageData()" /></td>
    12891288        </tr>
    12901289
Note: See TracChangeset for help on using the changeset viewer.