Make WordPress Core

Changeset 60509


Ignore:
Timestamp:
07/24/2025 03:00:42 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Twenty Ten: Use third-person singular verbs for some more function descriptions.

Reference: PHP Documentation Standards: Documenting Tips.

Follow-up to [60505], [60507].

See #63692.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/functions.php

    r60505 r60509  
    4242
    4343/*
    44  * Sets the content width based on the theme's design and stylesheet.
     44 * Set the content width based on the theme's design and stylesheet.
    4545 *
    4646 * Used to set the width of images and content. Should be equal to the width the theme
     
    5656if ( ! function_exists( 'twentyten_setup' ) ) :
    5757    /**
    58      * Set up theme defaults and registers support for various WordPress features.
     58     * Sets up theme defaults and registers support for various WordPress features.
    5959     *
    6060     * Note that this function is hooked into the after_setup_theme hook, which runs
     
    268268if ( ! function_exists( 'twentyten_admin_header_style' ) ) :
    269269    /**
    270      * Style the header image displayed on the Appearance > Header admin panel.
     270     * Styles the header image displayed on the Appearance > Header admin panel.
    271271     *
    272272     * Referenced via add_custom_image_header() in twentyten_setup().
     
    294294if ( ! function_exists( 'twentyten_header_image' ) ) :
    295295    /**
    296      * Custom header image markup displayed.
     296     * Displays the custom header image markup.
    297297     *
    298298     * @since Twenty Ten 4.0
     
    360360if ( ! function_exists( 'twentyten_continue_reading_link' ) ) :
    361361    /**
    362      * Return a "Continue Reading" link for excerpts.
     362     * Returns a "Continue Reading" link for excerpts.
    363363     *
    364364     * @since Twenty Ten 1.0
     
    372372
    373373/**
    374  * Replace "[...]" with an ellipsis and twentyten_continue_reading_link().
     374 * Replaces "[...]" with an ellipsis and twentyten_continue_reading_link().
    375375 *
    376376 * "[...]" is appended to automatically generated excerpts.
     
    412412
    413413/**
    414  * Remove inline styles printed when the gallery shortcode is used.
     414 * Removes inline styles printed when the gallery shortcode is used.
    415415 *
    416416 * Galleries are styled by the theme in Twenty Ten's style.css. This is just
     
    621621
    622622/**
    623  * Remove the default styles that are packaged with the Recent Comments widget.
     623 * Removes the default styles that are packaged with the Recent Comments widget.
    624624 *
    625625 * To override this in a child theme, remove the filter and optionally add your own
     
    639639if ( ! function_exists( 'twentyten_posted_on' ) ) :
    640640    /**
    641      * Print HTML with meta information for the current post-date/time and author.
     641     * Prints HTML with meta information for the current post-date/time and author.
    642642     *
    643643     * @since Twenty Ten 1.0
     
    667667if ( ! function_exists( 'twentyten_posted_in' ) ) :
    668668    /**
    669      * Print HTML with meta information for the current post (category, tags and permalink).
     669     * Prints HTML with meta information for the current post (category, tags and permalink).
    670670     *
    671671     * @since Twenty Ten 1.0
     
    795795if ( ! function_exists( 'wp_body_open' ) ) :
    796796    /**
    797      * Fire the wp_body_open action.
     797     * Fires the wp_body_open action.
    798798     *
    799799     * Added for backward compatibility to support pre-5.2.0 WordPress versions.
Note: See TracChangeset for help on using the changeset viewer.