Changeset 14102 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/template-parts/photo-single.php
- Timestamp:
- 10/09/2024 08:48:37 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/template-parts/photo-single.php
r13257 r14102 9 9 10 10 namespace WordPressdotorg\Photo_Directory\Theme; 11 use WordPressdotorg\Photo_Directory\Favorites; 11 12 use WordPressdotorg\Photo_Directory\Random; 12 13 use WordPressdotorg\Photo_Directory\Template_Tags; … … 29 30 ?></div> 30 31 <?php endif; ?> 32 <div class="photo-author"> 31 33 <?php printf( 32 '<a href="%s" class="photo-author ">%s</a>',34 '<a href="%s" class="photo-author-link" text="%s">%s</a>', 33 35 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 36 esc_attr__( 'View contributor's photos' ), 34 37 get_avatar( get_the_author_meta( 'ID' ), 32 ) . get_the_author_meta( 'display_name' ) 35 38 ); 36 39 ?> 40 </div> 41 <?php Favorites::get_photo_favorites_markup(); ?> 37 42 <div class="photos-download"> 38 43 <button type="button" class="download-title download-button button button-large" aria-expanded="false" aria-controls="downloads-dropdown"> … … 89 94 sprintf( 90 95 /* translators: %s: The alternative text for the photo. */ 91 'View larger photo: %s',96 __( 'View larger photo: %s', 'wporg-photos' ), 92 97 esc_attr( $alt_text ) 93 98 )
Note: See TracChangeset
for help on using the changeset viewer.