WordPress.org

Make WordPress Core

Ticket #20856: 20856.patch

File 20856.patch, 793 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-admin/includes/media.php

     
    17921792<input type="hidden" name="tab" value="<?php echo esc_attr( $tab ); ?>" /> 
    17931793<input type="hidden" name="post_id" value="<?php echo (int) $post_id; ?>" /> 
    17941794<input type="hidden" name="post_mime_type" value="<?php echo isset( $_GET['post_mime_type'] ) ? esc_attr( $_GET['post_mime_type'] ) : ''; ?>" /> 
     1795<input type="hidden" name="context" value="<?php echo isset( $_GET['context'] ) ? esc_attr( $_GET['context'] ) : ''; ?>" /> 
    17951796 
    17961797<p id="media-search" class="search-box"> 
    17971798        <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label>