Changeset 4200
- Timestamp:
- 10/07/2016 06:17:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php
r3862 r4200 61 61 <?php the_title( '<h1 class="plugin-title">', '</h1>' ); ?> 62 62 63 <span class="byline"><?php printf( esc_html_x( 'By %s', 'post author', 'wporg-plugins' ), '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( Template::encode( get_the_author() ) ) . '</a></span>' ); ?></span> 63 <span class="byline"><?php 64 $url = get_post_meta( get_the_ID(), 'header_author_uri', true ); 65 $author = get_post_meta( get_the_ID(), 'header_author', true ) ?: get_the_author(); 66 67 printf( 68 _x( 'By %s', 'post author', 'wporg-plugins' ), 69 '<span class="author vcard">' . 70 ( $url ? '<a class="url fn n" href="' . esc_url( $url ) . '">' : '' ) . 71 esc_html( Template::encode( $author ) ) . 72 ( $url ? '</a>' : '' ) . 73 '</span>' 74 ); 75 ?></span> 64 76 </header><!-- .entry-header --> 65 77
Note: See TracChangeset
for help on using the changeset viewer.