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/comment-functions.php

    r33948 r33954  
    10211021    clean_comment_cache($comment_id);
    10221022
    1023     /** This action is documented in wp-includes/comment.php */
     1023    /** This action is documented in wp-includes/comment-functions.php */
    10241024    do_action( 'wp_set_comment_status', $comment_id, 'delete' );
    10251025
     
    14531453        $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_ID'] );
    14541454    } elseif ( isset( $commentdata['user_id'] ) ) {
    1455         /** This filter is documented in wp-includes/comment.php */
     1455        /** This filter is documented in wp-includes/comment-functions.php */
    14561456        $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_id'] );
    14571457    }
     
    14651465     */
    14661466    $commentdata['comment_agent'] = apply_filters( 'pre_comment_user_agent', ( isset( $commentdata['comment_agent'] ) ? $commentdata['comment_agent'] : '' ) );
    1467     /** This filter is documented in wp-includes/comment.php */
     1467    /** This filter is documented in wp-includes/comment-functions.php */
    14681468    $commentdata['comment_author'] = apply_filters( 'pre_comment_author_name', $commentdata['comment_author'] );
    14691469    /**
     
    14831483     */
    14841484    $commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] );
    1485     /** This filter is documented in wp-includes/comment.php */
     1485    /** This filter is documented in wp-includes/comment-functions.php */
    14861486    $commentdata['comment_author_url'] = apply_filters( 'pre_comment_author_url', $commentdata['comment_author_url'] );
    1487     /** This filter is documented in wp-includes/comment.php */
     1487    /** This filter is documented in wp-includes/comment-functions.php */
    14881488    $commentdata['comment_author_email'] = apply_filters( 'pre_comment_author_email', $commentdata['comment_author_email'] );
    14891489    $commentdata['filtered'] = true;
     
    19001900     */
    19011901    do_action( 'wp_update_comment_count', $post_id, $new, $old );
    1902     /** This action is documented in wp-includes/post.php */
     1902    /** This action is documented in wp-includes/post-functions.php */
    19031903    do_action( 'edit_post', $post_id, $post );
    19041904
     
    23822382    $post = get_post($post_id);
    23832383
    2384     /** This filter is documented in wp-includes/comment.php */
     2384    /** This filter is documented in wp-includes/comment-functions.php */
    23852385    $post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) );
    23862386    if ( ! in_array( $post->post_type, $post_types ) )
Note: See TracChangeset for help on using the changeset viewer.