Changeset 61092
- Timestamp:
- 10/30/2025 06:19:11 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/template-parts/pagination.php
r57276 r61092 10 10 */ 11 11 12 $order = get_query_var( 'order', 'DESC' ); 13 14 /* 15 * Translators: This text contains HTML to allow the text to be shorter on small screens. 16 * The text inside the span with the class nav-short will be hidden on small screens. 17 */ 18 $new_posts_text = __( 'Newer <span class="nav-short">Posts</span>', 'twentytwenty' ); 19 20 /* 21 * Translators: This text contains HTML to allow the text to be shorter on small screens. 22 * The text inside the span with the class nav-short will be hidden on small screens. 23 */ 24 $old_posts_text = __( 'Older <span class="nav-short">Posts</span>', 'twentytwenty' ); 25 12 26 $prev_text = sprintf( 13 27 '%s <span class="nav-prev-text">%s</span>', 14 28 '<span aria-hidden="true">←</span>', 15 /* 16 * Translators: This text contains HTML to allow the text to be shorter on small screens. 17 * The text inside the span with the class nav-short will be hidden on small screens. 18 */ 19 __( 'Newer <span class="nav-short">Posts</span>', 'twentytwenty' ) 29 ( 'DESC' === $order ) ? $new_posts_text : $old_posts_text 20 30 ); 21 31 $next_text = sprintf( 22 32 '<span class="nav-next-text">%s</span> %s', 23 /* 24 * Translators: This text contains HTML to allow the text to be shorter on small screens. 25 * The text inside the span with the class nav-short will be hidden on small screens. 26 */ 27 __( 'Older <span class="nav-short">Posts</span>', 'twentytwenty' ), 33 ( 'DESC' === $order ) ? $old_posts_text : $new_posts_text, 28 34 '<span aria-hidden="true">→</span>' 29 35 );
Note: See TracChangeset
for help on using the changeset viewer.