Changeset 34039
- Timestamp:
- 09/11/2015 06:04:22 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r34019 r34039 181 181 if ( $comment->comment_parent ) { 182 182 $parent = get_comment( $comment->comment_parent ); 183 $parent_link = esc_url( get_comment_link( $ comment->comment_parent ) );184 $name = get_comment_author( $parent ->comment_ID);183 $parent_link = esc_url( get_comment_link( $parent ) ); 184 $name = get_comment_author( $parent ); 185 185 printf( ' | ' . __( 'In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name ); 186 186 } -
trunk/src/wp-admin/edit-form-comment.php
r34015 r34039 122 122 if ( $parent ) : 123 123 $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); 124 $name = get_comment_author( $parent ->comment_ID);124 $name = get_comment_author( $parent ); 125 125 ?> 126 126 <div class="misc-pub-section misc-pub-reply-to"> -
trunk/src/wp-includes/class-walker-comment.php
r33962 r34039 262 262 <div class="comment-author vcard"> 263 263 <?php if ( 0 != $args['avatar_size'] ) echo get_avatar( $comment, $args['avatar_size'] ); ?> 264 <?php printf( __( '<cite class="fn">%s</cite> <span class="says">says:</span>' ), get_comment_author_link( ) ); ?>264 <?php printf( __( '<cite class="fn">%s</cite> <span class="says">says:</span>' ), get_comment_author_link( $comment ) ); ?> 265 265 </div> 266 266 <?php if ( '0' == $comment->comment_approved ) : ?> … … 314 314 <div class="comment-author vcard"> 315 315 <?php if ( 0 != $args['avatar_size'] ) echo get_avatar( $comment, $args['avatar_size'] ); ?> 316 <?php printf( __( '%s <span class="says">says:</span>' ), sprintf( '<b class="fn">%s</b>', get_comment_author_link( ) ) ); ?>316 <?php printf( __( '%s <span class="says">says:</span>' ), sprintf( '<b class="fn">%s</b>', get_comment_author_link( $comment ) ) ); ?> 317 317 </div><!-- .comment-author --> 318 318 -
trunk/src/wp-includes/comment-template.php
r34008 r34039 1673 1673 else { 1674 1674 $comment = get_comment($replytoid); 1675 $author = ( $linktoparent ) ? '<a href="#comment-' . get_comment_ID() . '">' . get_comment_author( ) . '</a>' : get_comment_author();1675 $author = ( $linktoparent ) ? '<a href="#comment-' . get_comment_ID() . '">' . get_comment_author( $comment ) . '</a>' : get_comment_author( $comment ); 1676 1676 printf( $replytext, $author ); 1677 1677 } -
trunk/src/wp-includes/theme-compat/comments-popup.php
r33774 r34039 53 53 <li id="comment-<?php comment_ID() ?>"> 54 54 <?php comment_text() ?> 55 <p><cite><?php comment_type(); ?> <?php printf(__('by %1$s — %2$s @ <a href="#comment-%3$s">%4$s</a>'), get_comment_author_link( ), get_comment_date(), get_comment_ID(), get_comment_time()); ?></cite></p>55 <p><cite><?php comment_type(); ?> <?php printf(__('by %1$s — %2$s @ <a href="#comment-%3$s">%4$s</a>'), get_comment_author_link( $comment ), get_comment_date(), get_comment_ID(), get_comment_time()); ?></cite></p> 56 56 </li> 57 57 -
trunk/src/wp-includes/widgets/class-wp-widget-recent-comments.php
r33954 r34039 111 111 /* translators: comments widget: 1: comment author, 2: post link */ 112 112 $output .= sprintf( _x( '%1$s on %2$s', 'widgets' ), 113 '<span class="comment-author-link">' . get_comment_author_link( $comment ->comment_ID) . '</span>',113 '<span class="comment-author-link">' . get_comment_author_link( $comment ) . '</span>', 114 114 '<a href="' . esc_url( get_comment_link( $comment->comment_ID ) ) . '">' . get_the_title( $comment->comment_post_ID ) . '</a>' 115 115 );
Note: See TracChangeset
for help on using the changeset viewer.