diff options
Diffstat (limited to 'wp-includes/functions.wp-scripts.php')
-rw-r--r-- | wp-includes/functions.wp-scripts.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wp-includes/functions.wp-scripts.php b/wp-includes/functions.wp-scripts.php index de13496..1be1822 100644 --- a/wp-includes/functions.wp-scripts.php +++ b/wp-includes/functions.wp-scripts.php @@ -11,10 +11,10 @@ /** * Initializes $wp_scripts if it has not been set. * - * @global WP_Scripts $wp_scripts - * * @since 4.2.0 * + * @global WP_Scripts $wp_scripts + * * @return WP_Scripts WP_Scripts instance. */ function wp_scripts() { @@ -77,10 +77,10 @@ function _wp_scripts_maybe_doing_it_wrong( $function_name, $handle = '' ) { * hook to register/enqueue new scripts. * * @see WP_Scripts::do_item() - * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. - * * @since 2.1.0 * + * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. + * * @param string|string[]|false $handles Optional. Scripts to be printed. Default 'false'. * @return string[] On success, an array of handles of processed WP_Dependencies items; otherwise, an empty array. */ @@ -234,11 +234,11 @@ function wp_localize_script( $handle, $object_name, $l10n ) { * Works only if the script has already been registered. * * @see WP_Scripts::set_translations() - * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. - * * @since 5.0.0 * @since 5.1.0 The `$domain` parameter was made optional. * + * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. + * * @param string $handle Script handle the textdomain will be attached to. * @param string $domain Optional. Text domain. Default 'default'. * @param string $path Optional. The full file path to the directory containing translation files. |