diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-08-31 14:55:29 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-08-31 14:55:29 +0000 |
| commit | b764f60728be1d4e026f9d7ae618ab47e23322f8 (patch) | |
| tree | 1f1b45c4f1c1cf027b3240f605346e56209be8ff /wp-admin/comment.php | |
| parent | dad010666b767a1d06588d1d09c771c62f67c387 (diff) | |
| download | wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.tar.gz wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.tar.xz wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.zip | |
WP Merge to rev #4147
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@729 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/comment.php')
| -rw-r--r-- | wp-admin/comment.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 95bee96..27652aa 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -62,7 +62,7 @@ case 'mailapprovecomment': echo "</table>\n"; echo "<p>" . __('Are you sure you want to do that?') . "</p>\n"; - echo "<form action='".get_settings('siteurl')."/wp-admin/comment.php' method='get'>\n"; + echo "<form action='".get_option('siteurl')."/wp-admin/comment.php' method='get'>\n"; wp_nonce_field($nonce_action); echo "<input type='hidden' name='action' value='$formaction' />\n"; if ( 'spam' == $_GET['delete_type'] ) @@ -72,7 +72,7 @@ case 'mailapprovecomment': echo "<input type='hidden' name='noredir' value='1' />\n"; echo "<input type='submit' value='" . __('Yes') . "' />"; echo " "; - echo "<input type='button' value='" . __('No') . "' onclick=\"self.location='". get_settings('siteurl') ."/wp-admin/edit-comments.php';\" />\n"; + echo "<input type='button' value='" . __('No') . "' onclick=\"self.location='". get_option('siteurl') ."/wp-admin/edit-comments.php';\" />\n"; echo "</form>\n"; echo "</div>\n"; @@ -106,7 +106,7 @@ case 'deletecomment': if ((wp_get_referer() != '') && (false == $noredir)) { wp_redirect(wp_get_referer()); } else { - wp_redirect(get_settings('siteurl') .'/wp-admin/edit-comments.php'); + wp_redirect(get_option('siteurl') .'/wp-admin/edit-comments.php'); } exit(); break; @@ -133,7 +133,7 @@ case 'unapprovecomment': if ((wp_get_referer() != "") && (false == $noredir)) { wp_redirect(wp_get_referer()); } else { - wp_redirect(get_settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments'); + wp_redirect(get_option('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments'); } exit(); break; @@ -156,7 +156,7 @@ case 'approvecomment': wp_die( __('You are not allowed to edit comments on this post, so you cannot approve this comment.') ); wp_set_comment_status($comment->comment_ID, "approve"); - if (get_settings("comments_notify") == true) { + if (get_option("comments_notify") == true) { wp_notify_postauthor($comment->comment_ID); } @@ -164,7 +164,7 @@ case 'approvecomment': if ((wp_get_referer() != "") && (false == $noredir)) { wp_redirect(wp_get_referer()); } else { - wp_redirect(get_settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments'); + wp_redirect(get_option('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments'); } exit(); break; |
