mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Notice fixes, props sivel, see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11052 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ case 'edit' :
|
||||
|
||||
<p class="submit">
|
||||
<input type="submit" class="button-primary" name="save" value="<?php _e('Update Media'); ?>" />
|
||||
<input type="hidden" name="post_id" id="post_id" value="<?php echo $post_id; ?>" />
|
||||
<input type="hidden" name="post_id" id="post_id" value="<?php echo isset($post_id) ? $post_id : ''; ?>" />
|
||||
<input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo $att_id; ?>" />
|
||||
<input type="hidden" name="action" value="editattachment" />
|
||||
<?php wp_original_referer_field(true, 'previous'); ?>
|
||||
|
||||
Reference in New Issue
Block a user