代码见:文字说明如下:
找到:WP-include/comment-template.php 这个文件
然后在:function get_comment_author_link( $comment_ID = 0 ) {
/** @todo Only call these functi** when they are needed. Include in if… else blocks */
$url = get_comment_author_url( $comment_ID );
$author = get_comment_author( $comment_ID );
if ( empty( $url ) || ‘http://’ == $url )
$return = $author;
else
$return = “$author”;
return apply_filters(‘get_comment_author_link’, $return);
}
然后在找到:
$return = “$author”;
return apply_filters(‘get_comment_author_link’, $return);
}
加一个target=’_blank’
$return = “$author”;
return apply_filters(‘get_comment_author_link’, $return);
| 欢迎光临 网赚论坛 (http://www.caifuba.net/) | Powered by Discuz! X3.1 |