Make WordPress Core


Ignore:
Timestamp:
09/08/2015 10:16:57 PM (9 years ago)
Author:
wonderboymusic
Message:

After [33843], update the location of some files in This filter is documented in docs

Props dimadin.
See #33413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-functions.php

    r33931 r33954  
    20782078    $counts = wp_cache_get( $cache_key, 'counts' );
    20792079    if ( false !== $counts ) {
    2080         /** This filter is documented in wp-includes/post.php */
     2080        /** This filter is documented in wp-includes/post-functions.php */
    20812081        return apply_filters( 'wp_count_posts', $counts, $type, $perm );
    20822082    }
     
    33923392    wp_transition_post_status( 'publish', $old_status, $post );
    33933393
    3394     /** This action is documented in wp-includes/post.php */
     3394    /** This action is documented in wp-includes/post-functions.php */
    33953395    do_action( 'edit_post', $post->ID, $post );
    33963396
    3397     /** This action is documented in wp-includes/post.php */
     3397    /** This action is documented in wp-includes/post-functions.php */
    33983398    do_action( "save_post_{$post->post_type}", $post->ID, $post, true );
    33993399
    3400     /** This action is documented in wp-includes/post.php */
     3400    /** This action is documented in wp-includes/post-functions.php */
    34013401    do_action( 'save_post', $post->ID, $post, true );
    34023402
    3403     /** This action is documented in wp-includes/post.php */
     3403    /** This action is documented in wp-includes/post-functions.php */
    34043404    do_action( 'wp_insert_post', $post->ID, $post, true );
    34053405}
     
    42984298        // Convert to WP_Post instances.
    42994299        $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 */
    43014301        $pages = apply_filters( 'get_pages', $pages, $r );
    43024302        return $pages;
     
    44404440
    44414441    if ( empty($pages) ) {
    4442         /** This filter is documented in wp-includes/post.php */
     4442        /** This filter is documented in wp-includes/post-functions.php */
    44434443        $pages = apply_filters( 'get_pages', array(), $r );
    44444444        return $pages;
     
    46254625        delete_metadata_by_mid( 'post', $mid );
    46264626
    4627     /** This action is documented in wp-includes/post.php */
     4627    /** This action is documented in wp-includes/post-functions.php */
    46284628    do_action( 'delete_post', $post_id );
    46294629    $result = $wpdb->delete( $wpdb->posts, array( 'ID' => $post_id ) );
     
    46314631        return false;
    46324632    }
    4633     /** This action is documented in wp-includes/post.php */
     4633    /** This action is documented in wp-includes/post-functions.php */
    46344634    do_action( 'deleted_post', $post_id );
    46354635
Note: See TracChangeset for help on using the changeset viewer.