From b764f60728be1d4e026f9d7ae618ab47e23322f8 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 31 Aug 2006 14:55:29 +0000 Subject: WP Merge to rev #4147 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@729 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/moderation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wp-admin/moderation.php') diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php index 799fd0d..9fae674 100644 --- a/wp-admin/moderation.php +++ b/wp-admin/moderation.php @@ -47,7 +47,7 @@ case 'update': break; case 'approve': wp_set_comment_status($key, 'approve'); - if ( get_settings('comments_notify') == true ) { + if ( get_option('comments_notify') == true ) { wp_notify_postauthor($key); } ++$item_approved; @@ -125,7 +125,7 @@ if ($comments) { $i = 0; foreach($comments as $comment) { ++$i; - $comment_date = mysql2date(get_settings("date_format") . " @ " . get_settings("time_format"), $comment->comment_date); + $comment_date = mysql2date(get_option("date_format") . " @ " . get_option("time_format"), $comment->comment_date); $post_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID='$comment->comment_post_ID'"); if ($i % 2) $class = 'js-unapproved alternate'; else $class = 'js-unapproved'; -- cgit