Thanks to visit codestin.com
Credit goes to core.trac.wordpress.org

Make WordPress Core

Changeset 62456


Ignore:
Timestamp:
06/03/2026 10:15:36 PM (4 weeks ago)
Author:
SergeyBiryukov
Message:

Twenty Thirteen: Add missing documentation for some global variables.

Props sabernhardt, upadalavipul, shailu25, rajinsharwar, audrasjb, viralsampat, noruzzaman, huzaifaalmesbah, SergeyBiryukov.
See #58715.

Location:
trunk/src/wp-content/themes/twentythirteen
Files:
2 edited

Legend:

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

    r62344 r62456  
    4141/**
    4242 * Twenty Thirteen only works in WordPress 3.6 or later.
     43 *
     44 * @global string $wp_version The WordPress version string.
    4345 */
    4446if ( version_compare( $GLOBALS['wp_version'], '3.6-alpha', '<' ) ) {
     
    7173 *
    7274 * @since Twenty Thirteen 1.0
     75 *
     76 * @global string $wp_version The WordPress version string.
    7377 */
    7478function twentythirteen_setup() {
     
    361365 * @deprecated Twenty Thirteen 3.8 Disabled filter because, by default, fonts are self-hosted.
    362366 *
     367 * @global string $wp_version The WordPress version string.
     368 *
    363369 * @param array   $urls          URLs to print for resource hints.
    364370 * @param string  $relation_type The relation type the URLs are printed.
     
    403409 * @since Twenty Thirteen 1.0
    404410 *
    405  * @global int $paged WordPress archive pagination page count.
    406  * @global int $page  WordPress paginated post page count.
     411 * @global int $paged Page number of a list of posts.
     412 * @global int $page  Page number of a single post.
    407413 *
    408414 * @param string $title Default title text for current view.
     
    489495     *
    490496     * @since Twenty Thirteen 1.0
     497     *
     498     * @global WP_Query $wp_query WordPress Query object.
    491499     */
    492500    function twentythirteen_paging_nav() {
  • trunk/src/wp-content/themes/twentythirteen/inc/back-compat.php

    r60515 r62456  
    3333 *
    3434 * @since Twenty Thirteen 1.0
     35 *
     36 * @global string $wp_version The WordPress version string.
    3537 */
    3638function twentythirteen_upgrade_notice() {
     
    4951 *
    5052 * @since Twenty Thirteen 1.0
     53 *
     54 * @global string $wp_version The WordPress version string.
    5155 */
    5256function twentythirteen_customize() {
     
    6973 *
    7074 * @since Twenty Thirteen 1.0
     75 *
     76 * @global string $wp_version The WordPress version string.
    7177 */
    7278function twentythirteen_preview() {
Note: See TracChangeset for help on using the changeset viewer.