# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: \wp-includes
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
|
| 2879 | 2879 | do_action( 'post_updated', $post_ID, $post_after, $post_before); |
| 2880 | 2880 | } |
| 2881 | 2881 | |
| 2882 | | do_action('save_post', $post_ID, $post); |
| 2883 | | do_action('wp_insert_post', $post_ID, $post); |
| | 2882 | do_action( 'save_post', $post_ID, $post, $update ); |
| | 2883 | do_action( 'wp_insert_post', $post_ID, $post, $update ); |
| 2884 | 2884 | |
| 2885 | 2885 | return $post_ID; |
| 2886 | 2886 | } |
| … |
… |
|
| 2965 | 2965 | wp_transition_post_status( 'publish', $old_status, $post ); |
| 2966 | 2966 | |
| 2967 | 2967 | do_action( 'edit_post', $post->ID, $post ); |
| 2968 | | do_action( 'save_post', $post->ID, $post ); |
| 2969 | | do_action( 'wp_insert_post', $post->ID, $post ); |
| | 2968 | do_action( 'save_post', $post->ID, $post, true ); |
| | 2969 | do_action( 'wp_insert_post', $post->ID, $post, true ); |
| 2970 | 2970 | } |
| 2971 | 2971 | |
| 2972 | 2972 | /** |