diff -Naur old/post.php new/post.php
old
|
new
|
|
3384 | 3384 | * @param array $new_postarr Array of parsed post data. |
3385 | 3385 | * @param array $postarr Array of sanitized, but otherwise unmodified post data. |
3386 | 3386 | */ |
3387 | | $post_parent = apply_filters( 'wp_insert_post_parent', $post_parent, $post_ID, compact( array_keys( $postarr ) ), $postarr ); |
| 3387 | $new_postarr = compact( array_keys( $postarr ) ); |
| 3388 | $post_parent = apply_filters( 'wp_insert_post_parent', $post_parent, $post_ID, $new_postarr, $postarr ); |
3388 | 3389 | |
3389 | 3390 | /* |
3390 | 3391 | * If the post is being untrashed and it has a desired slug stored in post meta, |