Make WordPress Core


Ignore:
Timestamp:
04/22/2009 12:24:45 PM (17 years ago)
Author:
azaozz
Message:

Notice fixes, props sivel, see #9393

File:
1 edited

Legend:

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

    r10137 r11052  
    9595<p class="submit">
    9696<input type="submit" class="button-primary" name="save" value="<?php _e('Update Media'); ?>" />
    97 <input type="hidden" name="post_id" id="post_id" value="<?php echo $post_id; ?>" />
     97<input type="hidden" name="post_id" id="post_id" value="<?php echo isset($post_id) ? $post_id : ''; ?>" />
    9898<input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo $att_id; ?>" />
    9999<input type="hidden" name="action" value="editattachment" />
Note: See TracChangeset for help on using the changeset viewer.