Ticket #9084: patch.diff
| File patch.diff, 742 bytes (added by sirzooro, 4 years ago) |
|---|
-
wp-includes/post.php
diff -Naur ori/wp-includes/post.php new/wp-includes/post.php
ori new 1460 1460 $data = compact( array( 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_content_filtered', 'post_title', 'post_excerpt', 'post_status', 'post_type', 'comment_status', 'ping_status', 'post_password', 'post_name', 'to_ping', 'pinged', 'post_modified', 'post_modified_gmt', 'post_parent', 'menu_order', 'guid' ) ); 1461 1461 $data = apply_filters('wp_insert_post_data', $data, $postarr); 1462 1462 $data = stripslashes_deep( $data ); 1463 extract( $data, EXTR_OVERWRITE ); 1463 1464 $where = array( 'ID' => $post_ID ); 1464 1465 1465 1466 if ($update) {
