Ticket #15847: insertattachmentfilter.diff
File insertattachmentfilter.diff, 709 bytes (added by , 14 years ago) |
---|
-
wp-includes/post.php
3380 3380 3381 3381 // expected_slashed (everything!) 3382 3382 $data = compact( array( 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_content_filtered', 'post_title', 'post_excerpt', 'post_status', 'post_type', 'comment_status', 'ping_status', 'post_password', 'post_name', 'to_ping', 'pinged', 'post_modified', 'post_modified_gmt', 'post_parent', 'menu_order', 'post_mime_type', 'guid' ) ); 3383 $data = apply_filters('wp_insert_attachment_data', $data); 3383 3384 $data = stripslashes_deep( $data ); 3384 3385 3385 3386 if ( $update ) {