Make WordPress Core


Ignore:
Timestamp:
06/06/2026 11:01:43 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Twenty Sixteen: 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/twentysixteen/functions.php

    r62344 r62471  
    2828/**
    2929 * Twenty Sixteen only works in WordPress 4.4 or later.
     30 *
     31 * @global string $wp_version The WordPress version string.
    3032 */
    3133if ( version_compare( $GLOBALS['wp_version'], '4.4-alpha', '<' ) ) {
     
    4446         *
    4547         * @since Twenty Sixteen 1.0
     48         *
     49         * @global string $wp_version The WordPress version string.
    4650         */
    4751        function twentysixteen_setup() {
     
    242246 * Priority 0 to make it available to lower priority callbacks.
    243247 *
    244  * @global int $content_width
    245  *
    246  * @since Twenty Sixteen 1.0
     248 * @since Twenty Sixteen 1.0
     249 *
     250 * @global int $content_width Content width.
    247251 */
    248252function twentysixteen_content_width() {
Note: See TracChangeset for help on using the changeset viewer.