Changeset 7169
- Timestamp:
- 03/06/08 10:09:14 (9 months ago)
- Files:
-
- trunk/wp-admin/comment.php (modified) (3 diffs)
- trunk/wp-admin/edit-page-form.php (modified) (1 diff)
- trunk/wp-admin/edit-post-rows.php (modified) (1 diff)
- trunk/wp-admin/includes/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/comment.php
r7104 r7169 170 170 wp_redirect( wp_get_referer() ); 171 171 else 172 wp_redirect( get_option('siteurl') . '/wp-admin/edit.php?p=' . absint( $comment->comment_post_ID ) . ' &c=1#comments' );172 wp_redirect( get_option('siteurl') . '/wp-admin/edit.php?p=' . absint( $comment->comment_post_ID ) . '#comments' ); 173 173 174 174 exit(); … … 199 199 wp_redirect( wp_get_referer() ); 200 200 else 201 wp_redirect( get_option('siteurl') . '/wp-admin/edit.php?p=' . absint( $comment->comment_post_ID ) . ' &c=1#comments' );201 wp_redirect( get_option('siteurl') . '/wp-admin/edit.php?p=' . absint( $comment->comment_post_ID ) . '#comments' ); 202 202 203 203 exit(); … … 213 213 edit_comment(); 214 214 215 $location = ( empty( $_POST['referredby'] ) ? "edit.php?p=$comment_post_id &c=1" : $_POST['referredby'] ) . '#comment-' . $comment_id;215 $location = ( empty( $_POST['referredby'] ) ? "edit.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id; 216 216 $location = apply_filters( 'comment_edit_redirect', $location, $comment_id ); 217 217 wp_redirect( $location ); trunk/wp-admin/edit-page-form.php
r7146 r7169 140 140 <ul> 141 141 <?php if ($post_ID): ?> 142 <li><a href="edit-pages.php?page_id=<?php echo $post_ID ?> &c=1"><?php _e('See Comments on this Page') ?></a></li>142 <li><a href="edit-pages.php?page_id=<?php echo $post_ID ?>"><?php _e('See Comments on this Page') ?></a></li> 143 143 <?php endif; ?> 144 144 <li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li> trunk/wp-admin/edit-post-rows.php
r7168 r7169 112 112 if ( $left ) 113 113 echo '<strong>'; 114 comments_number("<a href='edit.php?p=$id &c=1' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('0') . '</span></a>', "<a href='edit.php?p=$id&c=1' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('1') . '</span></a>', "<a href='edit.php?p=$id&c=1' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('%') . '</span></a>');114 comments_number("<a href='edit.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('0') . '</span></a>', "<a href='edit.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('1') . '</span></a>', "<a href='edit.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('%') . '</span></a>'); 115 115 if ( $left ) 116 116 echo '</strong>'; trunk/wp-admin/includes/template.php
r7144 r7169 406 406 if ( $left ) 407 407 echo '<strong>'; 408 comments_number("<a href='edit-pages.php?page_id=$id &c=1' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('0') . '</span></a>', "<a href='edit-pages.php?page_id=$id&c=1' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('1') . '</span></a>', "<a href='edit-pages.php?page_id=$id&c=1' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('%') . '</span></a>');408 comments_number("<a href='edit-pages.php?page_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('0') . '</span></a>', "<a href='edit-pages.php?page_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('1') . '</span></a>', "<a href='edit-pages.php?page_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('%') . '</span></a>'); 409 409 if ( $left ) 410 410 echo '</strong>'; … … 600 600 $the_comment_status = wp_get_comment_status($comment->comment_ID); 601 601 $class = ('unapproved' == $the_comment_status) ? 'unapproved' : ''; 602 $post_link = '<a href=" ' . get_comment_link(). '">' . get_the_title($comment->comment_post_ID) . '</a>';602 $post_link = '<a href="edit.php?p=' . $comment->comment_post_ID . '">' . get_the_title($comment->comment_post_ID) . '</a>'; 603 603 $author_url = get_comment_author_url(); 604 604 if ( 'http://' == $author_url )
