diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-12-01 12:27:29 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-12-01 12:27:29 +0000 |
commit | aae5b160f307adf0703ae8f7c2b158b91570ec95 (patch) | |
tree | ba0d1eee6e2eedfe3fd0a693d773162ab9dc8a67 /wp-includes/comment-template.php | |
parent | 9415bbca12c01c39da58e0ed2c4e6b44ff833e5d (diff) | |
download | wordpress-mu-aae5b160f307adf0703ae8f7c2b158b91570ec95.tar.gz wordpress-mu-aae5b160f307adf0703ae8f7c2b158b91570ec95.tar.xz wordpress-mu-aae5b160f307adf0703ae8f7c2b158b91570ec95.zip |
WP Merge to 4578, except for script-loader
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@817 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/comment-template.php')
-rw-r--r-- | wp-includes/comment-template.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 3fee66a..6f53558 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -290,6 +290,8 @@ function comments_template( $file = '/comments.php' ) { $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$post->ID' AND ( comment_approved = '1' OR ( comment_author = '$author_db' AND comment_author_email = '$email_db' AND comment_approved = '0' ) ) ORDER BY comment_date"); } + $comments = apply_filters( 'comments_array', $comments, $post->ID ); + define('COMMENTS_TEMPLATE', true); $include = apply_filters('comments_template', TEMPLATEPATH . $file ); if ( file_exists( $include ) ) |