Changeset 33954 for trunk/src/wp-includes/post-functions.php
- Timestamp:
- 09/08/2015 10:16:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-functions.php
r33931 r33954 2078 2078 $counts = wp_cache_get( $cache_key, 'counts' ); 2079 2079 if ( false !== $counts ) { 2080 /** This filter is documented in wp-includes/post .php */2080 /** This filter is documented in wp-includes/post-functions.php */ 2081 2081 return apply_filters( 'wp_count_posts', $counts, $type, $perm ); 2082 2082 } … … 3392 3392 wp_transition_post_status( 'publish', $old_status, $post ); 3393 3393 3394 /** This action is documented in wp-includes/post .php */3394 /** This action is documented in wp-includes/post-functions.php */ 3395 3395 do_action( 'edit_post', $post->ID, $post ); 3396 3396 3397 /** This action is documented in wp-includes/post .php */3397 /** This action is documented in wp-includes/post-functions.php */ 3398 3398 do_action( "save_post_{$post->post_type}", $post->ID, $post, true ); 3399 3399 3400 /** This action is documented in wp-includes/post .php */3400 /** This action is documented in wp-includes/post-functions.php */ 3401 3401 do_action( 'save_post', $post->ID, $post, true ); 3402 3402 3403 /** This action is documented in wp-includes/post .php */3403 /** This action is documented in wp-includes/post-functions.php */ 3404 3404 do_action( 'wp_insert_post', $post->ID, $post, true ); 3405 3405 } … … 4298 4298 // Convert to WP_Post instances. 4299 4299 $pages = array_map( 'get_post', $cache ); 4300 /** This filter is documented in wp-includes/post .php */4300 /** This filter is documented in wp-includes/post-functions.php */ 4301 4301 $pages = apply_filters( 'get_pages', $pages, $r ); 4302 4302 return $pages; … … 4440 4440 4441 4441 if ( empty($pages) ) { 4442 /** This filter is documented in wp-includes/post .php */4442 /** This filter is documented in wp-includes/post-functions.php */ 4443 4443 $pages = apply_filters( 'get_pages', array(), $r ); 4444 4444 return $pages; … … 4625 4625 delete_metadata_by_mid( 'post', $mid ); 4626 4626 4627 /** This action is documented in wp-includes/post .php */4627 /** This action is documented in wp-includes/post-functions.php */ 4628 4628 do_action( 'delete_post', $post_id ); 4629 4629 $result = $wpdb->delete( $wpdb->posts, array( 'ID' => $post_id ) ); … … 4631 4631 return false; 4632 4632 } 4633 /** This action is documented in wp-includes/post .php */4633 /** This action is documented in wp-includes/post-functions.php */ 4634 4634 do_action( 'deleted_post', $post_id ); 4635 4635
Note: See TracChangeset
for help on using the changeset viewer.