Make WordPress Core


Ignore:
Timestamp:
06/01/2026 11:20:59 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Twenty Eleven: Add missing documentation for some global variables.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/header.php

    r62344 r62442  
    99 * @since Twenty Eleven 1.0
    1010 */
     11
     12/**
     13 * @global int $page  WordPress paginated post page count.
     14 * @global int $paged WordPress archive pagination page count.
     15 */
     16global $page, $paged;
     17
    1118?><!DOCTYPE html>
    1219<html <?php language_attributes(); ?>>
     
    1724<?php
    1825        // Print the <title> tag based on what is being viewed.
    19         global $page, $paged;
    20 
    2126        wp_title( '|', true, 'right' );
    2227
Note: See TracChangeset for help on using the changeset viewer.