Changeset 34072
- Timestamp:
- 09/12/2015 03:19:21 AM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
-
css/edit.css (modified) (2 diffs)
-
edit-form-comment.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/edit.css
r34011 r34072 90 90 } 91 91 92 #edit-slug-box { 92 #edit-slug-box, 93 #comment-link-box { 93 94 line-height: 24px; 94 95 min-height: 25px; /* Yes, line-height + 1 */ … … 101 102 margin-right: 10px; 102 103 font-size: 11px; 104 } 105 106 #comment-link-box { 107 margin: 5px 0; 108 padding: 0 5px; 103 109 } 104 110 -
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.