diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index fc90562c7..84fb6f556 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -178,12 +178,13 @@ function the_author_posts() { */ function the_author_posts_link($deprecated = '') { global $authordata; - printf( + $link = sprintf( '%3$s', get_author_posts_url( $authordata->ID, $authordata->user_nicename ), esc_attr( sprintf( __( 'Posts by %s' ), get_the_author() ) ), get_the_author() ); + echo apply_filters( 'the_author_posts_link', $link ); } /**