Ticket #15230: 15230.diff
File 15230.diff, 621 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/post.php
3431 3431 } 3432 3432 } 3433 3433 } else { 3434 /** 3435 * Fires immediately before a new post is inserted in the database. 3436 * 3437 * @param array $data Array of unslashed post data. 3438 * @param array $postarr An array of post data. 3439 */ 3440 do_action( 'pre_post_insert', $data, $postarr ); 3434 3441 // If there is a suggested ID, use it if not already present. 3435 3442 if ( ! empty( $import_id ) ) { 3436 3443 $import_id = (int) $import_id;