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
This commit is contained in:
Dominik Schilling 2016-02-26 12:50:28 +00:00
parent 484d9ec6a6
commit 23ffb773aa
2 changed files with 6 additions and 6 deletions

View File

@ -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'.

View File

@ -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.