Ticket #37249: author-template.diff
| File author-template.diff, 1.1 KB (added by , 10 years ago) |
|---|
-
src/wp-includes/author-template.php
411 411 if ( 'list' == $args['style'] ) { 412 412 $return .= '<li>'; 413 413 } 414 415 $link = sprintf( 416 '<a href="%1$s" title="%2$s" rel="author">%3$s</a>', 417 esc_url( get_author_posts_url( $author->ID, $author->user_nicename ) ), 418 esc_attr( sprintf(__("Posts by %s"), $author->display_name) ), 419 $name 420 ); 414 421 415 $link = '<a href="' . get_author_posts_url( $author->ID, $author->user_nicename ) . '" title="' . esc_attr( sprintf(__("Posts by %s"), $author->display_name) ) . '">' . $name . '</a>';416 417 422 if ( ! empty( $args['feed_image'] ) || ! empty( $args['feed'] ) ) { 418 423 $link .= ' '; 419 424 if ( empty( $args['feed_image'] ) ) { 420 425 $link .= '('; 421 426 } 422 427 423 $link .= '<a href="' . get_author_feed_link( $author->ID, $args['feed_type']) . '"';428 $link .= '<a href="' . esc_url( get_author_feed_link( $author->ID, $args['feed_type'] ) ) . '"'; 424 429 425 430 $alt = ''; 426 431 if ( ! empty( $args['feed'] ) ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)