WordPress.org

Make WordPress Core

Ticket #18798: media.diff

File media.diff, 369 bytes (added by wpdavis, 3 years ago)
  • wp-admin/includes/media.php

     
    10751075 
    10761076        $image_url = wp_get_attachment_url($post->ID); 
    10771077 
    1078         $edit_post = sanitize_post($post, 'edit'); 
     1078        $edit_post = sanitize_post($post, 'raw'); 
    10791079 
    10801080 
    10811081