Make WordPress Core

Changeset 60682


Ignore:
Timestamp:
08/27/2025 01:40:57 PM (6 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the order of @since and @global tags in some files.

Follow-up to [9053], [13177], [16660], [32642], [37226], [54953], [59865], [60658].

Props viralsampat, shailu25, sandipsinh007.
Fixes #63879. See #63166.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r60681 r60682  
    17521752 * add_settings_section() and add_settings_field()
    17531753 *
     1754 * @since 2.7.0
     1755 *
    17541756 * @global array $wp_settings_sections Storage array of all settings sections added to admin pages.
    17551757 * @global array $wp_settings_fields Storage array of settings fields and info about their pages/sections.
    1756  * @since 2.7.0
    17571758 *
    17581759 * @param string $page The slug name of the page whose settings sections you want to output.
     
    18011802 * rather than directly.
    18021803 *
     1804 * @since 2.7.0
     1805 *
    18031806 * @global array $wp_settings_fields Storage array of settings fields and their pages/sections.
    1804  *
    1805  * @since 2.7.0
    18061807 *
    18071808 * @param string $page Slug title of the admin page whose settings fields you want to show.
  • trunk/src/wp-admin/nav-menus.php

    r60440 r60682  
    673673
    674674/**
     675 * @since 3.0.0
     676 *
    675677 * @global int $_wp_nav_menu_max_depth
    676  *
    677  * @since 3.0.0
    678678 *
    679679 * @param string $classes
  • trunk/src/wp-includes/ms-settings.php

    r60228 r60682  
    2222 * file will attempt to populate them based on the current request.
    2323 *
     24 * @since 3.0.0
     25 *
    2426 * @global WP_Network $current_site The current network.
    2527 * @global object     $current_blog The current site.
     
    3234 * @global bool       $public       Deprecated. Whether the site found on load is public.
    3335 *                                  Use `get_site()->public` instead.
    34  *
    35  * @since 3.0.0
    3636 */
    3737global $current_site, $current_blog, $domain, $path, $site_id, $public;
  • trunk/src/wp-includes/option.php

    r60448 r60682  
    16301630 * from table a, and the corresponding transient_timeout record from table b.
    16311631 *
     1632 * @since 4.9.0
     1633 *
    16321634 * @global wpdb $wpdb WordPress database abstraction object.
    1633  *
    1634  * @since 4.9.0
    16351635 *
    16361636 * @param bool $force_db Optional. Force cleanup to run against the database even when an external object cache is used.
Note: See TracChangeset for help on using the changeset viewer.