Make WordPress Core

Ticket #57069: 57069.9.patch

File 57069.9.patch, 2.8 KB (added by upadalavipul, 2 years ago)
  • wp-content/themes/twentyseventeen/inc/template-tags.php

     
    124124
    125125/**
    126126 * Display a front page section.
     127 *
     128 * @global WP_Post $post Global post object.
    127129 *
    128130 * @param WP_Customize_Partial $partial Partial associated with a selective refresh request.
    129131 * @param int                  $id Front page section to display.
  • wp-content/themes/twentythirteen/functions.php

     
    489489         * Display navigation to next/previous post when applicable.
    490490         *
    491491         * @since Twenty Thirteen 1.0
     492         *
     493         * @global WP_Post $post Global post object.
     494         *
    492495         */
    493496        function twentythirteen_post_nav() {
    494497                global $post;
  • wp-content/themes/twentytwelve/functions.php

     
    428428         * Used as a callback by wp_list_comments() for displaying the comments.
    429429         *
    430430         * @since Twenty Twelve 1.0
     431         *
     432         * @global WP_Post $post Global post object.
     433         *
    431434         */
    432435        function twentytwelve_comment( $comment, $args, $depth ) {
    433436                $GLOBALS['comment'] = $comment;
  • wp-content/themes/twentytwenty/inc/template-tags.php

     
    307307                 * Use this filter to hide post tags.
    308308                 *
    309309                 * @since Twenty Twenty 1.0
     310                 *
     311                 * @global WP_Post $post Global post object.
    310312                 *
    311313                 * @param array $args {
    312314                 *     @type string $tags
     
    650652 * Adds conditional body classes.
    651653 *
    652654 * @since Twenty Twenty 1.0
     655 *
     656 * @global WP_Post $post Global post object.
    653657 *
    654658 * @param array $classes Classes added to the body tag.
    655659 * @return array Classes added to the body tag.
  • wp-includes/blocks/comments.php

     
    1616 * the block is in legacy mode. If not, the HTML generated in the editor is
    1717 * returned instead.
    1818 *
     19 * @global WP_Post $post Global post object.
     20 *
    1921 * @param array    $attributes Block attributes.
    2022 * @param string   $content    Block default content.
    2123 * @param WP_Block $block      Block instance.