Make WordPress Core

Changeset 55004


Ignore:
Timestamp:
12/18/2022 01:00:29 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Twenty Seventeen: Document the $twentyseventeencounter global.

Follow-up to [38833], [38986], [55003].

See #57069, #56792.

Location:
trunk/src/wp-content/themes
Files:
3 edited

Legend:

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

    r55003 r55004  
    126126 * Display a front page section.
    127127 *
    128  * @global WP_Post $post Global post object.
     128 * @global int|string $twentyseventeencounter Front page section counter.
     129 * @global WP_Post    $post                   Global post object.
    129130 *
    130131 * @param WP_Customize_Partial $partial Partial associated with a selective refresh request.
  • trunk/src/wp-content/themes/twentythirteen/functions.php

    r55003 r55004  
    489489         * Display navigation to next/previous post when applicable.
    490490         *
     491         * @since Twenty Thirteen 1.0
     492         *
    491493         * @global WP_Post $post Global post object.
    492          *
    493          * @since Twenty Thirteen 1.0
    494494         */
    495495        function twentythirteen_post_nav() {
  • trunk/src/wp-content/themes/twentytwelve/functions.php

    r55003 r55004  
    428428         * Used as a callback by wp_list_comments() for displaying the comments.
    429429         *
     430         * @since Twenty Twelve 1.0
     431         *
    430432         * @global WP_Post $post Global post object.
    431          *
    432          * @since Twenty Twelve 1.0
    433433         */
    434434        function twentytwelve_comment( $comment, $args, $depth ) {
Note: See TracChangeset for help on using the changeset viewer.