Changeset 27138
- Timestamp:
- 02/08/2014 10:46:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r27130 r27138 4094 4094 // expected_slashed (everything!) 4095 4095 $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' ) ); 4096 4097 /** 4098 * Filter attachment post data before it is updated in or added 4099 * to the database. 4100 * 4101 * @since 3.9.0 4102 * 4103 * @param array $data Array of sanitized attachment post data. 4104 * @param array $object Array of un-sanitized attachment post data. 4105 */ 4096 4106 $data = apply_filters( 'wp_insert_attachment_data', $data, $object ); 4097 4107 $data = wp_unslash( $data );
Note: See TracChangeset
for help on using the changeset viewer.