Make WordPress Core


Ignore:
Timestamp:
07/29/2025 12:56:16 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Twenty Fifteen: Use third-person singular verbs for function descriptions.

Reference: PHP Documentation Standards: Documenting Tips.

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/inc/template-tags.php

    r59110 r60521  
    1212if ( ! function_exists( 'twentyfifteen_comment_nav' ) ) :
    1313    /**
    14      * Display navigation to next/previous comments when applicable.
     14     * Displays navigation to next/previous comments when applicable.
    1515     *
    1616     * @since Twenty Fifteen 1.0
     
    151151
    152152/**
    153  * Determine whether blog/site has more than one category.
     153 * Determines whether blog/site has more than one category.
    154154 *
    155155 * @since Twenty Fifteen 1.0
     
    187187
    188188/**
    189  * Flush out the transients used in {@see twentyfifteen_categorized_blog()}.
     189 * Flushes out the transients used in {@see twentyfifteen_categorized_blog()}.
    190190 *
    191191 * @since Twenty Fifteen 1.0
     
    200200if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) :
    201201    /**
    202      * Display an optional post thumbnail.
     202     * Displays an optional post thumbnail.
    203203     *
    204204     * Wraps the post thumbnail in an anchor element on index views, or a div
     
    234234if ( ! function_exists( 'twentyfifteen_get_link_url' ) ) :
    235235    /**
    236      * Return the post URL.
     236     * Returns the post URL.
    237237     *
    238238     * Falls back to the post permalink if no URL is found in the post.
     
    289289if ( ! function_exists( 'wp_body_open' ) ) :
    290290    /**
    291      * Fire the wp_body_open action.
     291     * Fires the wp_body_open action.
    292292     *
    293293     * Added for backward compatibility to support pre-5.2.0 WordPress versions.
Note: See TracChangeset for help on using the changeset viewer.