Changeset 29745 for trunk/src/wp-includes/post.php
- Timestamp:
- 09/15/2014 02:23:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r29468 r29745 4720 4720 $defaults = array( 4721 4721 'file' => $file, 4722 'post_parent' => $parent4722 'post_parent' => 0 4723 4723 ); 4724 4724 4725 $data = wp_parse_args( $args, $defaults ); 4726 4727 if ( ! empty( $parent ) ) { 4728 $data['post_parent'] = $parent; 4729 } 4725 4730 4726 4731 $data['post_type'] = 'attachment';
Note: See TracChangeset
for help on using the changeset viewer.