Make WordPress Core

Changeset 62471


Ignore:
Timestamp:
06/06/2026 11:01:43 PM (34 hours 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.

Location:
trunk/src/wp-content/themes/twentysixteen
Files:
2 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() {
  • trunk/src/wp-content/themes/twentysixteen/inc/back-compat.php

    r60527 r62471  
    3636 * @since Twenty Sixteen 1.0
    3737 *
    38  * @global string $wp_version WordPress version.
     38 * @global string $wp_version The WordPress version string.
    3939 */
    4040function twentysixteen_upgrade_notice() {
     
    5454 * @since Twenty Sixteen 1.0
    5555 *
    56  * @global string $wp_version WordPress version.
     56 * @global string $wp_version The WordPress version string.
    5757 */
    5858function twentysixteen_customize() {
     
    7676 * @since Twenty Sixteen 1.0
    7777 *
    78  * @global string $wp_version WordPress version.
     78 * @global string $wp_version The WordPress version string.
    7979 */
    8080function twentysixteen_preview() {
Note: See TracChangeset for help on using the changeset viewer.