Changeset 43617 for branches/4.9/src/wp-includes/post.php
- Timestamp:
- 09/03/2018 09:11:38 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 43535,43616
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-includes/post.php
r43510 r43617 3628 3628 * Fires once an existing post has been updated. 3629 3629 * 3630 * The dynamic portion of the hook name, `$post->post_type`, refers to 3631 * the post type slug. 3632 * 3633 * @since 4.9.9 3634 * 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 * 3630 3643 * @since 1.2.0 3631 3644 * … … 3634 3647 */ 3635 3648 do_action( 'edit_post', $post_ID, $post ); 3636 $post_after = get_post($post_ID); 3649 3650 $post_after = get_post( $post_ID ); 3637 3651 3638 3652 /** … … 3772 3786 $post->post_status = 'publish'; 3773 3787 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 ); 3774 3791 3775 3792 /** This action is documented in wp-includes/post.php */
Note: See TracChangeset
for help on using the changeset viewer.