From 276635f8a33a6b5a990dc284116fe3bc536e9bfb Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Fri, 26 Feb 2016 12:49:37 +0000 Subject: [PATCH] Docs: Use correct `@since` tags for script enqueue functions. See [4968], [3788]. See #35964. git-svn-id: https://develop.svn.wordpress.org/trunk@36729 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.wp-scripts.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/functions.wp-scripts.php b/src/wp-includes/functions.wp-scripts.php index f92c3a3719..cb450f48fd 100644 --- a/src/wp-includes/functions.wp-scripts.php +++ b/src/wp-includes/functions.wp-scripts.php @@ -57,7 +57,7 @@ function _wp_scripts_maybe_doing_it_wrong( $function ) { * @see WP_Scripts::do_items() * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. * - * @since 2.6.0 + * @since 2.1.0 * * @param string|bool|array $handles Optional. Scripts to be printed. Default 'false'. * @return array On success, a processed array of WP_Dependencies items; otherwise, an empty array. @@ -122,7 +122,7 @@ function wp_add_inline_script( $handle, $data, $position = 'after' ) { * @see WP_Dependencies::add() * @see WP_Dependencies::add_data() * - * @since 2.6.0 + * @since 2.1.0 * @since 4.3.0 A return value was added. * * @param string $handle Name of the script. Should be unique. @@ -167,7 +167,7 @@ function wp_register_script( $handle, $src, $deps = array(), $ver = false, $in_f * @link https://core.trac.wordpress.org/ticket/11520 * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. * - * @since 2.6.0 + * @since 2.2.0 * * @todo Documentation cleanup * @@ -195,7 +195,7 @@ function wp_localize_script( $handle, $object_name, $l10n ) { * * @see WP_Dependencies::remove() * - * @since 2.6.0 + * @since 2.1.0 * * @param string $handle Name of the script to be removed. */ @@ -239,7 +239,7 @@ function wp_deregister_script( $handle ) { * @see WP_Dependencies::add_data() * @see WP_Dependencies::enqueue() * - * @since 2.6.0 + * @since 2.1.0 * * @param string $handle Name of the script. * @param string|bool $src Path to the script from the root directory of WordPress. Example: '/js/myscript.js'.