WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/22/2015 03:50:32 AM (6 years ago)
Author:
SergeyBiryukov
Message:

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

Partially reverts [33954].

Fixes #33413.

File:
1 edited

Legend:

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

    r35718 r35725  
    11191119    clean_comment_cache( $comment->comment_ID );
    11201120
    1121     /** This action is documented in wp-includes/comment-functions.php */
     1121    /** This action is documented in wp-includes/comment.php */
    11221122    do_action( 'wp_set_comment_status', $comment->comment_ID, 'delete' );
    11231123
     
    15671567        $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_ID'] );
    15681568    } elseif ( isset( $commentdata['user_id'] ) ) {
    1569         /** This filter is documented in wp-includes/comment-functions.php */
     1569        /** This filter is documented in wp-includes/comment.php */
    15701570        $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_id'] );
    15711571    }
     
    15791579     */
    15801580    $commentdata['comment_agent'] = apply_filters( 'pre_comment_user_agent', ( isset( $commentdata['comment_agent'] ) ? $commentdata['comment_agent'] : '' ) );
    1581     /** This filter is documented in wp-includes/comment-functions.php */
     1581    /** This filter is documented in wp-includes/comment.php */
    15821582    $commentdata['comment_author'] = apply_filters( 'pre_comment_author_name', $commentdata['comment_author'] );
    15831583    /**
     
    15971597     */
    15981598    $commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] );
    1599     /** This filter is documented in wp-includes/comment-functions.php */
     1599    /** This filter is documented in wp-includes/comment.php */
    16001600    $commentdata['comment_author_url'] = apply_filters( 'pre_comment_author_url', $commentdata['comment_author_url'] );
    1601     /** This filter is documented in wp-includes/comment-functions.php */
     1601    /** This filter is documented in wp-includes/comment.php */
    16021602    $commentdata['comment_author_email'] = apply_filters( 'pre_comment_author_email', $commentdata['comment_author_email'] );
    16031603    $commentdata['filtered'] = true;
     
    17601760    $maybe_notify = ( '0' == $comment->comment_approved );
    17611761
    1762     /** This filter is documented in wp-includes/comment-functions.php */
     1762    /** This filter is documented in wp-includes/comment.php */
    17631763    $maybe_notify = apply_filters( 'notify_moderator', $maybe_notify, $comment_ID );
    17641764
     
    20702070     */
    20712071    do_action( 'wp_update_comment_count', $post_id, $new, $old );
    2072     /** This action is documented in wp-includes/post-functions.php */
     2072    /** This action is documented in wp-includes/post.php */
    20732073    do_action( 'edit_post', $post_id, $post );
    20742074
     
    25872587    $post = get_post($post_id);
    25882588
    2589     /** This filter is documented in wp-includes/comment-functions.php */
     2589    /** This filter is documented in wp-includes/comment.php */
    25902590    $post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) );
    25912591    if ( ! in_array( $post->post_type, $post_types ) )
Note: See TracChangeset for help on using the changeset viewer.