WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/06/2021 12:34:36 PM (5 months ago)
Author:
desrosj
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].

Props SergeyBiryukov.
Merges [51322] to the 5.8 branch.
See #52628, #53461.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-content/themes/twentytwenty/template-parts/pagination.php

    r47122 r51338  
    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.