Changeset 7998 for trunk/wp-admin/comment.php
- Timestamp:
- 05/27/2008 05:46:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r7961 r7998 79 79 <table width="100%"> 80 80 <tr> 81 <td><input type='button' class="button" value='<?php _e('No'); ?>' onclick="self.location='<?php echo get_option('siteurl'); ?>/wp-admin/edit-comments.php';" /></td>81 <td><input type='button' class="button" value='<?php _e('No'); ?>' onclick="self.location='<?php echo admin_url('edit-comments.php'); ?>" /></td> 82 82 <td class="textright"><input type='submit' class="button" value='<?php echo $button; ?>' /></td> 83 83 </tr> … … 147 147 wp_redirect( wp_get_original_referer() ); 148 148 else 149 wp_redirect( get_option('siteurl') . '/wp-admin/edit-comments.php');149 wp_redirect( admin_url('edit-comments.php') ); 150 150 151 151 die; … … 172 172 wp_redirect( wp_get_referer() ); 173 173 else 174 wp_redirect( get_option('siteurl') . '/wp-admin/edit.php?p=' . absint( $comment->comment_post_ID ) . '#comments');174 wp_redirect( admin_url('edit.php?p=' . absint( $comment->comment_post_ID ) . '#comments') ); 175 175 176 176 exit(); … … 201 201 wp_redirect( wp_get_referer() ); 202 202 else 203 wp_redirect( get_option('siteurl') . '/wp-admin/edit.php?p=' . absint( $comment->comment_post_ID ) . '#comments');203 wp_redirect( admin_url('edit.php?p=' . absint( $comment->comment_post_ID ) . '#comments') ); 204 204 205 205 exit();
Note: See TracChangeset
for help on using the changeset viewer.