WordPress.org

Make WordPress Core

Ticket #8557: media.php.2.diff

File media.php.2.diff, 607 bytes (added by abackstrom, 9 years ago)

Revised patch.

  • wp-admin/includes/media.php

     
    13861386?>
    13871387
    13881388<form enctype="multipart/form-data" method="post" action="<?php echo esc_attr($form_action_url); ?>" class="media-upload-form type-form validate" id="<?php echo $type; ?>-form">
     1389<input type="submit" class="hidden button savebutton" name="save">
    13891390<input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
    13901391<?php wp_nonce_field('media-form'); ?>
    13911392