Changeset 35725 for trunk/src/wp-includes/comment.php
- Timestamp:
- 11/22/2015 03:50:32 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r35718 r35725 1119 1119 clean_comment_cache( $comment->comment_ID ); 1120 1120 1121 /** This action is documented in wp-includes/comment -functions.php */1121 /** This action is documented in wp-includes/comment.php */ 1122 1122 do_action( 'wp_set_comment_status', $comment->comment_ID, 'delete' ); 1123 1123 … … 1567 1567 $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_ID'] ); 1568 1568 } 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 */ 1570 1570 $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_id'] ); 1571 1571 } … … 1579 1579 */ 1580 1580 $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 */ 1582 1582 $commentdata['comment_author'] = apply_filters( 'pre_comment_author_name', $commentdata['comment_author'] ); 1583 1583 /** … … 1597 1597 */ 1598 1598 $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 */ 1600 1600 $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 */ 1602 1602 $commentdata['comment_author_email'] = apply_filters( 'pre_comment_author_email', $commentdata['comment_author_email'] ); 1603 1603 $commentdata['filtered'] = true; … … 1760 1760 $maybe_notify = ( '0' == $comment->comment_approved ); 1761 1761 1762 /** This filter is documented in wp-includes/comment -functions.php */1762 /** This filter is documented in wp-includes/comment.php */ 1763 1763 $maybe_notify = apply_filters( 'notify_moderator', $maybe_notify, $comment_ID ); 1764 1764 … … 2070 2070 */ 2071 2071 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 */ 2073 2073 do_action( 'edit_post', $post_id, $post ); 2074 2074 … … 2587 2587 $post = get_post($post_id); 2588 2588 2589 /** This filter is documented in wp-includes/comment -functions.php */2589 /** This filter is documented in wp-includes/comment.php */ 2590 2590 $post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) ); 2591 2591 if ( ! in_array( $post->post_type, $post_types ) )
Note: See TracChangeset
for help on using the changeset viewer.