Make WordPress Core


Ignore:
Timestamp:
05/26/2024 08:49:30 PM (9 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the placement of @global tags in various files.

Follow-up to [6589], [8598], [10798], [25490], [25594], [31192], [31194], [35718], [37437], [44169], [44948], [45247], [56763], [56773], [57370], [57503].

Props shailu25.
Fixes #61295.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.wp-scripts.php

    r58068 r58200  
    1212 * Initializes $wp_scripts if it has not been set.
    1313 *
     14 * @since 4.2.0
     15 *
    1416 * @global WP_Scripts $wp_scripts
    15  *
    16  * @since 4.2.0
    1717 *
    1818 * @return WP_Scripts WP_Scripts instance.
     
    7878 *
    7979 * @see WP_Scripts::do_item()
     80 * @since 2.1.0
     81 *
    8082 * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts.
    81  *
    82  * @since 2.1.0
    8383 *
    8484 * @param string|string[]|false $handles Optional. Scripts to be printed. Default 'false'.
     
    235235 *
    236236 * @see WP_Scripts::set_translations()
    237  * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts.
    238  *
    239237 * @since 5.0.0
    240238 * @since 5.1.0 The `$domain` parameter was made optional.
     239 *
     240 * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts.
    241241 *
    242242 * @param string $handle Script handle the textdomain will be attached to.
Note: See TracChangeset for help on using the changeset viewer.