| 114 | | /* translators: post author. */ |
| 115 | | printf( esc_html_x( 'By %s', 'post author', 'wporg-plugins' ), '<span class="author vcard">' . wp_kses_post( $author ) . '</span>' ); |
| | 112 | if ( $committers ) { |
| | 113 | $url = get_post_meta( $post->ID, 'header_author_uri', true ); |
| | 114 | $author = strip_tags( get_post_meta( $post->ID, 'header_author', true ) ) ?: get_the_author(); |
| | 115 | $author = $url ? '<a class="url fn n" rel="nofollow" href="' . esc_url( $url ) . '">' . $author . '</a>' : $author; |
| | 116 | |
| | 117 | /* translators: post author. */ |
| | 118 | printf( esc_html_x( 'By %s', 'post author', 'wporg-plugins' ), '<span class="author vcard">' . wp_kses_post( $author ) . '</span>' ); |
| | 119 | } |