Pass comment author name and comment ID to 'get_comment_author_link' filter on Edit Comment screen, for consistency with [30092].
props tyxla. fixes #30894. git-svn-id: https://develop.svn.wordpress.org/trunk@31053 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
eb4d356e29
commit
7d7b33ff49
@ -48,8 +48,9 @@ if ( !defined('ABSPATH') )
|
||||
<?php
|
||||
if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) {
|
||||
$link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('visit site') . '</a>';
|
||||
$author = get_comment_author( $comment->comment_ID );
|
||||
/** This filter is documented in wp-includes/comment-template.php */
|
||||
printf( __( 'URL (%s):' ), apply_filters( 'get_comment_author_link', $link ) );
|
||||
printf( __( 'URL (%s):' ), apply_filters( 'get_comment_author_link', $link, $author, $comment->comment_ID ) );
|
||||
} else {
|
||||
_e( 'URL:' );
|
||||
} ?></td>
|
||||
|
Loading…
Reference in New Issue
Block a user