Changeset 34072 for trunk/src/wp-admin/edit-form-comment.php
- Timestamp:
- 09/12/2015 03:19:21 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/edit-form-comment.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-comment.php
r34042 r34072 23 23 <div id="post-body" class="metabox-holder columns-2"> 24 24 <div id="post-body-content" class="edit-form-section edit-comment-section"> 25 <?php 26 if ( $comment->comment_post_ID > 0 ): 27 $comment_link = get_comment_link( $comment ); 28 ?> 29 <div class="inside"> 30 <div id="comment-link-box"> 31 <strong><?php _ex( 'Permalink:', 'comment' ); ?></strong> 32 <span id="sample-permalink"><a href="<?php echo $comment_link; ?>"><?php echo $comment_link; ?></a></span> 33 </div> 34 </div> 35 <?php endif; ?> 25 36 <div id="namediv" class="stuffbox"> 26 37 <div class="inside"> … … 68 79 <div id="minor-publishing"> 69 80 70 <div id="minor-publishing-actions">71 <div id="preview-action">72 <a class="preview button" href="<?php echo get_comment_link( $comment ); ?>" target="_blank"><?php _e('View Comment'); ?></a>73 </div>74 <div class="clear"></div>75 </div>76 77 81 <div id="misc-publishing-actions"> 78 82 … … 121 125 $parent = get_comment( $comment->comment_parent ); 122 126 if ( $parent ) : 123 $parent_link = esc_url( get_comment_link( $ comment ) );127 $parent_link = esc_url( get_comment_link( $parent ) ); 124 128 $name = get_comment_author( $parent ); 125 129 ?>
Note: See TracChangeset
for help on using the changeset viewer.