Ticket #24299: 24299.patch
| File 24299.patch, 519 bytes (added by , 13 years ago) |
|---|
-
wp-includes/post.php
2872 2872 } 2873 2873 2874 2874 do_action('save_post', $post_ID, $post); 2875 do_action('save_post_' . $post->post_type, $post_ID, $post); 2875 2876 do_action('wp_insert_post', $post_ID, $post); 2876 2877 2877 2878 return $post_ID; … … 2964 2965 2965 2966 do_action( 'edit_post', $post->ID, $post ); 2966 2967 do_action( 'save_post', $post->ID, $post ); 2968 do_action( 'save_post_' . $post->post_type, $post->ID, $post ); 2967 2969 do_action( 'wp_insert_post', $post->ID, $post ); 2968 2970 } 2969 2971