From 23ffb773aabc93e87f70d18cf9c650d9bb903e42 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Fri, 26 Feb 2016 12:50:28 +0000 Subject: [PATCH] Docs: Use correct `@since` tags for script enqueue functions. See [4968], [3788]. See #35964. Built from https://develop.svn.wordpress.org/trunk@36729 git-svn-id: http://core.svn.wordpress.org/trunk@36696 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.wp-scripts.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/functions.wp-scripts.php b/wp-includes/functions.wp-scripts.php index f92c3a3719..cb450f48fd 100644 --- a/wp-includes/functions.wp-scripts.php +++ b/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'. diff --git a/wp-includes/version.php b/wp-includes/version.php index 9329ae44e1..1932f4dab3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta1-36728'; +$wp_version = '4.5-beta1-36729'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.