Changeset 43707
- Timestamp:
- 10/11/2018 04:17:00 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk reverse-merged: 43535,43616
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-includes/class-wp-customize-manager.php
r43702 r43707 2964 2964 $post->post_status = $new_status; 2965 2965 wp_transition_post_status( $new_status, $old_status, $post ); 2966 2967 /** This action is documented in wp-includes/post.php */2968 do_action( "edit_post_{$post->post_type}", $post->ID, $post );2969 2966 2970 2967 /** This action is documented in wp-includes/post.php */ -
branches/4.9/src/wp-includes/comment.php
r43617 r43707 2404 2404 */ 2405 2405 do_action( 'wp_update_comment_count', $post_id, $new, $old ); 2406 2407 /** This action is documented in wp-includes/post.php */2408 do_action( "edit_post_{$post->post_type}", $post_id, $post );2409 2410 2406 /** This action is documented in wp-includes/post.php */ 2411 2407 do_action( 'edit_post', $post_id, $post ); -
branches/4.9/src/wp-includes/post.php
r43639 r43707 3628 3628 * Fires once an existing post has been updated. 3629 3629 * 3630 * The dynamic portion of the hook name, `$post->post_type`, refers to3631 * the post type slug.3632 *3633 * @since 4.9.93634 *3635 * @param int $post_ID Post ID.3636 * @param WP_Post $post Post object.3637 */3638 do_action( "edit_post_{$post->post_type}", $post_ID, $post );3639 3640 /**3641 * Fires once an existing post has been updated.3642 *3643 3630 * @since 1.2.0 3644 3631 * … … 3647 3634 */ 3648 3635 do_action( 'edit_post', $post_ID, $post ); 3649 3650 $post_after = get_post( $post_ID ); 3636 $post_after = get_post($post_ID); 3651 3637 3652 3638 /** … … 3786 3772 $post->post_status = 'publish'; 3787 3773 wp_transition_post_status( 'publish', $old_status, $post ); 3788 3789 /** This action is documented in wp-includes/post.php */3790 do_action( "edit_post_{$post->post_type}", $post->ID, $post );3791 3774 3792 3775 /** This action is documented in wp-includes/post.php */
Note: See TracChangeset
for help on using the changeset viewer.