Changeset 44166 for trunk/src/wp-includes/post.php
- Timestamp:
- 12/14/2018 05:12:12 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43819,43832
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/post.php
r44150 r44166 3603 3603 } 3604 3604 3605 $new_postarr = array_merge( 3606 array( 3607 'ID' => $post_ID, 3608 ), 3609 compact( array_diff( array_keys( $defaults ), array( 'context', 'filter' ) ) ) 3610 ); 3611 3605 3612 /** 3606 3613 * Filters the post parent -- used to check for and prevent hierarchy loops. … … 3613 3620 * @param array $postarr Array of sanitized, but otherwise unmodified post data. 3614 3621 */ 3615 $post_parent = apply_filters( 'wp_insert_post_parent', $post_parent, $post_ID, compact( array_keys( $postarr ) ), $postarr );3622 $post_parent = apply_filters( 'wp_insert_post_parent', $post_parent, $post_ID, $new_postarr, $postarr ); 3616 3623 3617 3624 /*
Note: See TracChangeset
for help on using the changeset viewer.