Changeset 4144 for trunk/wp-admin/comment.php
- Timestamp:
- 08/30/2006 09:46:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/comment.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r3985 r4144 63 63 echo "<p>" . __('Are you sure you want to do that?') . "</p>\n"; 64 64 65 echo "<form action='".get_ settings('siteurl')."/wp-admin/comment.php' method='get'>\n";65 echo "<form action='".get_option('siteurl')."/wp-admin/comment.php' method='get'>\n"; 66 66 wp_nonce_field($nonce_action); 67 67 echo "<input type='hidden' name='action' value='$formaction' />\n"; … … 73 73 echo "<input type='submit' value='" . __('Yes') . "' />"; 74 74 echo " "; 75 echo "<input type='button' value='" . __('No') . "' onclick=\"self.location='". get_ settings('siteurl') ."/wp-admin/edit-comments.php';\" />\n";75 echo "<input type='button' value='" . __('No') . "' onclick=\"self.location='". get_option('siteurl') ."/wp-admin/edit-comments.php';\" />\n"; 76 76 echo "</form>\n"; 77 77 echo "</div>\n"; … … 107 107 wp_redirect(wp_get_referer()); 108 108 } else { 109 wp_redirect(get_ settings('siteurl') .'/wp-admin/edit-comments.php');109 wp_redirect(get_option('siteurl') .'/wp-admin/edit-comments.php'); 110 110 } 111 111 exit(); … … 134 134 wp_redirect(wp_get_referer()); 135 135 } else { 136 wp_redirect(get_ settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments');136 wp_redirect(get_option('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments'); 137 137 } 138 138 exit(); … … 157 157 158 158 wp_set_comment_status($comment->comment_ID, "approve"); 159 if (get_ settings("comments_notify") == true) {159 if (get_option("comments_notify") == true) { 160 160 wp_notify_postauthor($comment->comment_ID); 161 161 } … … 165 165 wp_redirect(wp_get_referer()); 166 166 } else { 167 wp_redirect(get_ settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments');167 wp_redirect(get_option('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments'); 168 168 } 169 169 exit();
Note: See TracChangeset
for help on using the changeset viewer.