Changeset 43535
- Timestamp:
- 07/25/2018 08:56:39 PM (7 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r43174 r43535 2988 2988 $post->post_status = $new_status; 2989 2989 wp_transition_post_status( $new_status, $old_status, $post ); 2990 2991 /** This action is documented in wp-includes/post.php */ 2992 do_action( "edit_post_{$post->post_type}", $post->ID, $post ); 2990 2993 2991 2994 /** This action is documented in wp-includes/post.php */ -
trunk/src/wp-includes/comment.php
r43467 r43535 2472 2472 */ 2473 2473 do_action( 'wp_update_comment_count', $post_id, $new, $old ); 2474 2475 /** This action is documented in wp-includes/post.php */ 2476 do_action( "edit_post_{$post->post_type}", $post_id, $post ); 2477 2474 2478 /** This action is documented in wp-includes/post.php */ 2475 2479 do_action( 'edit_post', $post_id, $post ); -
trunk/src/wp-includes/post.php
r43520 r43535 3800 3800 * Fires once an existing post has been updated. 3801 3801 * 3802 * The dynamic portion of the hook name, `$post->post_type`, refers to 3803 * the post type slug. 3804 * 3805 * @since 5.0.0 3806 * 3807 * @param int $post_ID Post ID. 3808 * @param WP_Post $post Post object. 3809 */ 3810 do_action( "edit_post_{$post->post_type}", $post_ID, $post ); 3811 3812 /** 3813 * Fires once an existing post has been updated. 3814 * 3802 3815 * @since 1.2.0 3803 3816 * … … 3806 3819 */ 3807 3820 do_action( 'edit_post', $post_ID, $post ); 3821 3808 3822 $post_after = get_post( $post_ID ); 3809 3823 … … 3950 3964 $post->post_status = 'publish'; 3951 3965 wp_transition_post_status( 'publish', $old_status, $post ); 3966 3967 /** This action is documented in wp-includes/post.php */ 3968 do_action( "edit_post_{$post->post_type}", $post->ID, $post ); 3952 3969 3953 3970 /** This action is documented in wp-includes/post.php */
Note: See TracChangeset
for help on using the changeset viewer.