Make WordPress Core


Ignore:
Timestamp:
07/03/2021 09:13:48 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Add missing documentation for some filters.

Add missing @since tags for some functions.

Correct alignment of some @param tags.

Follow-up to [46271], [46278], [51304].

See #52628, #53461.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/template-parts/pagination.php

    r47122 r51322  
    1010 */
    1111
    12 /**
    13  * Translators:
    14  * This text contains HTML to allow the text to be shorter on small screens.
    15  * The text inside the span with the class nav-short will be hidden on small screens.
    16  */
    17 
    1812$prev_text = sprintf(
    1913    '%s <span class="nav-prev-text">%s</span>',
    2014    '<span aria-hidden="true">&larr;</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     */
    2119    __( 'Newer <span class="nav-short">Posts</span>', 'twentytwenty' )
    2220);
    2321$next_text = sprintf(
    2422    '<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     */
    2527    __( 'Older <span class="nav-short">Posts</span>', 'twentytwenty' ),
    2628    '<span aria-hidden="true">&rarr;</span>'
Note: See TracChangeset for help on using the changeset viewer.