Update @since for wp_script_is() and wp_style_is(). props jdgrimes. see #25326.
Built from https://develop.svn.wordpress.org/trunk@25449 git-svn-id: http://core.svn.wordpress.org/trunk@25370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6931079cec
commit
d6f65fb147
|
@ -167,7 +167,7 @@ function wp_enqueue_script( $handle, $src = false, $deps = array(), $ver = false
|
||||||
/**
|
/**
|
||||||
* Remove an enqueued script.
|
* Remove an enqueued script.
|
||||||
*
|
*
|
||||||
* @since WP 3.1
|
* @since 3.1.0
|
||||||
* @see WP_Scripts::dequeue() For parameter information.
|
* @see WP_Scripts::dequeue() For parameter information.
|
||||||
*/
|
*/
|
||||||
function wp_dequeue_script( $handle ) {
|
function wp_dequeue_script( $handle ) {
|
||||||
|
@ -189,7 +189,7 @@ function wp_dequeue_script( $handle ) {
|
||||||
* pass 'registered' to $list, to see if the script is registered,
|
* pass 'registered' to $list, to see if the script is registered,
|
||||||
* and you can check processing statuses with 'to_do' and 'done'.
|
* and you can check processing statuses with 'to_do' and 'done'.
|
||||||
*
|
*
|
||||||
* @since WP unknown; BP unknown
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @param string $handle Name of the script.
|
* @param string $handle Name of the script.
|
||||||
* @param string $list Optional. Defaults to 'enqueued'. Values are
|
* @param string $list Optional. Defaults to 'enqueued'. Values are
|
||||||
|
|
|
@ -149,7 +149,7 @@ function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false,
|
||||||
/**
|
/**
|
||||||
* Remove an enqueued style.
|
* Remove an enqueued style.
|
||||||
*
|
*
|
||||||
* @since WP 3.1
|
* @since 3.1.0
|
||||||
* @see WP_Styles::dequeue() For parameter information.
|
* @see WP_Styles::dequeue() For parameter information.
|
||||||
*/
|
*/
|
||||||
function wp_dequeue_style( $handle ) {
|
function wp_dequeue_style( $handle ) {
|
||||||
|
@ -171,7 +171,7 @@ function wp_dequeue_style( $handle ) {
|
||||||
* pass 'registered' to $list, to see if the style is registered,
|
* pass 'registered' to $list, to see if the style is registered,
|
||||||
* and you can check processing statuses with 'to_do' and 'done'.
|
* and you can check processing statuses with 'to_do' and 'done'.
|
||||||
*
|
*
|
||||||
* @since WP unknown; BP unknown
|
* @since 2.8.0
|
||||||
* @global object $wp_styles The WP_Styles object for printing styles.
|
* @global object $wp_styles The WP_Styles object for printing styles.
|
||||||
*
|
*
|
||||||
* @param string $handle Name of the stylesheet.
|
* @param string $handle Name of the stylesheet.
|
||||||
|
|
Loading…
Reference in New Issue