Update @since for wp_script_is() and wp_style_is(). props jdgrimes. see #25326.
git-svn-id: https://develop.svn.wordpress.org/trunk@25449 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1d80307d5d
commit
80b315f740
@ -167,7 +167,7 @@ function wp_enqueue_script( $handle, $src = false, $deps = array(), $ver = false
|
||||
/**
|
||||
* Remove an enqueued script.
|
||||
*
|
||||
* @since WP 3.1
|
||||
* @since 3.1.0
|
||||
* @see WP_Scripts::dequeue() For parameter information.
|
||||
*/
|
||||
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,
|
||||
* 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 $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.
|
||||
*
|
||||
* @since WP 3.1
|
||||
* @since 3.1.0
|
||||
* @see WP_Styles::dequeue() For parameter information.
|
||||
*/
|
||||
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,
|
||||
* 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.
|
||||
*
|
||||
* @param string $handle Name of the stylesheet.
|
||||
|
Loading…
x
Reference in New Issue
Block a user