Make WordPress Core

Changeset 62468


Ignore:
Timestamp:
06/05/2026 10:00:03 PM (3 days ago)
Author:
SergeyBiryukov
Message:

Twenty Fifteen: 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/twentyfifteen
Files:
2 edited

Legend:

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

    r62344 r62468  
    3737/**
    3838 * Twenty Fifteen only works in WordPress 4.1 or later.
     39 *
     40 * @global string $wp_version The WordPress version string.
    3941 */
    4042if ( version_compare( $GLOBALS['wp_version'], '4.1-alpha', '<' ) ) {
     
    5153     *
    5254     * @since Twenty Fifteen 1.0
     55     *
     56     * @global string $wp_version The WordPress version string.
    5357     */
    5458    function twentyfifteen_setup() {
     
    500504 * @deprecated Twenty Fifteen 3.4 Disabled filter because, by default, fonts are self-hosted.
    501505 *
     506 * @global string $wp_version The WordPress version string.
     507 *
    502508 * @param array   $urls          URLs to print for resource hints.
    503509 * @param string  $relation_type The relation type the URLs are printed.
  • trunk/src/wp-content/themes/twentyfifteen/inc/back-compat.php

    r60521 r62468  
    3333 *
    3434 * @since Twenty Fifteen 1.0
     35 *
     36 * @global string $wp_version The WordPress version string.
    3537 */
    3638function twentyfifteen_upgrade_notice() {
     
    4951 *
    5052 * @since Twenty Fifteen 1.0
     53 *
     54 * @global string $wp_version The WordPress version string.
    5155 */
    5256function twentyfifteen_customize() {
     
    6973 *
    7074 * @since Twenty Fifteen 1.0
     75 *
     76 * @global string $wp_version The WordPress version string.
    7177 */
    7278function twentyfifteen_preview() {
Note: See TracChangeset for help on using the changeset viewer.