Changeset 35725 for trunk/src/wp-includes/post.php
- Timestamp:
- 11/22/2015 03:50:32 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r35718 r35725 2130 2130 $counts = wp_cache_get( $cache_key, 'counts' ); 2131 2131 if ( false !== $counts ) { 2132 /** This filter is documented in wp-includes/post -functions.php */2132 /** This filter is documented in wp-includes/post.php */ 2133 2133 return apply_filters( 'wp_count_posts', $counts, $type, $perm ); 2134 2134 } … … 3485 3485 wp_transition_post_status( 'publish', $old_status, $post ); 3486 3486 3487 /** This action is documented in wp-includes/post -functions.php */3487 /** This action is documented in wp-includes/post.php */ 3488 3488 do_action( 'edit_post', $post->ID, $post ); 3489 3489 3490 /** This action is documented in wp-includes/post -functions.php */3490 /** This action is documented in wp-includes/post.php */ 3491 3491 do_action( "save_post_{$post->post_type}", $post->ID, $post, true ); 3492 3492 3493 /** This action is documented in wp-includes/post -functions.php */3493 /** This action is documented in wp-includes/post.php */ 3494 3494 do_action( 'save_post', $post->ID, $post, true ); 3495 3495 3496 /** This action is documented in wp-includes/post -functions.php */3496 /** This action is documented in wp-includes/post.php */ 3497 3497 do_action( 'wp_insert_post', $post->ID, $post, true ); 3498 3498 } … … 4404 4404 // Convert to WP_Post instances. 4405 4405 $pages = array_map( 'get_post', $cache ); 4406 /** This filter is documented in wp-includes/post -functions.php */4406 /** This filter is documented in wp-includes/post.php */ 4407 4407 $pages = apply_filters( 'get_pages', $pages, $r ); 4408 4408 return $pages; … … 4546 4546 4547 4547 if ( empty($pages) ) { 4548 /** This filter is documented in wp-includes/post -functions.php */4548 /** This filter is documented in wp-includes/post.php */ 4549 4549 $pages = apply_filters( 'get_pages', array(), $r ); 4550 4550 return $pages; … … 4736 4736 delete_metadata_by_mid( 'post', $mid ); 4737 4737 4738 /** This action is documented in wp-includes/post -functions.php */4738 /** This action is documented in wp-includes/post.php */ 4739 4739 do_action( 'delete_post', $post_id ); 4740 4740 $result = $wpdb->delete( $wpdb->posts, array( 'ID' => $post_id ) ); … … 4742 4742 return false; 4743 4743 } 4744 /** This action is documented in wp-includes/post -functions.php */4744 /** This action is documented in wp-includes/post.php */ 4745 4745 do_action( 'deleted_post', $post_id ); 4746 4746
Note: See TracChangeset
for help on using the changeset viewer.