diff --git a/wp-includes/post.php b/wp-includes/post.php
index e6ca1f2..626a227 100644
|
a
|
b
|
function wp_insert_post( $postarr, $wp_error = false ) { |
| 3709 | 3709 | * |
| 3710 | 3710 | * @param array $data An array of slashed post data. |
| 3711 | 3711 | * @param array $postarr An array of sanitized, but otherwise unmodified post data. |
| | 3712 | * @param bool $update Whether this is an existing post being updated or not. |
| 3712 | 3713 | */ |
| 3713 | | $data = apply_filters( 'wp_insert_post_data', $data, $postarr ); |
| | 3714 | $data = apply_filters( 'wp_insert_post_data', $data, $postarr, $update ); |
| 3714 | 3715 | } |
| 3715 | 3716 | $data = wp_unslash( $data ); |
| 3716 | 3717 | $where = array( 'ID' => $post_ID ); |