diff --git a/src/wp-includes/functions.wp-scripts.php b/src/wp-includes/functions.wp-scripts.php
index abe930758d..82d3685672 100644
|
a
|
b
|
function wp_register_script( $handle, $src, $deps = array(), $ver = false, $in_f |
| 186 | 186 | /** |
| 187 | 187 | * Localize a script. |
| 188 | 188 | * |
| 189 | | * Works only if the script has already been added. |
| | 189 | * Works only if the script has already been registered. |
| 190 | 190 | * |
| 191 | 191 | * Accepts an associative array $l10n and creates a JavaScript object: |
| 192 | 192 | * |
| … |
… |
function wp_localize_script( $handle, $object_name, $l10n ) { |
| 224 | 224 | /** |
| 225 | 225 | * Sets translated strings for a script. |
| 226 | 226 | * |
| 227 | | * Works only if the script has already been added. |
| | 227 | * Works only if the script has already been registered. |
| 228 | 228 | * |
| 229 | 229 | * @see WP_Scripts::set_translations() |
| 230 | 230 | * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. |
| … |
… |
function wp_script_is( $handle, $list = 'enqueued' ) { |
| 402 | 402 | /** |
| 403 | 403 | * Add metadata to a script. |
| 404 | 404 | * |
| 405 | | * Works only if the script has already been added. |
| | 405 | * Works only if the script has already been registered. |
| 406 | 406 | * |
| 407 | 407 | * Possible values for $key and $value: |
| 408 | 408 | * 'conditional' string Comments for IE 6, lte IE 7, etc. |
diff --git a/src/wp-includes/functions.wp-styles.php b/src/wp-includes/functions.wp-styles.php
index e1749477ca..d82bb55925 100644
|
a
|
b
|
function wp_style_is( $handle, $list = 'enqueued' ) { |
| 217 | 217 | /** |
| 218 | 218 | * Add metadata to a CSS stylesheet. |
| 219 | 219 | * |
| 220 | | * Works only if the stylesheet has already been added. |
| | 220 | * Works only if the stylesheet has already been registered. |
| 221 | 221 | * |
| 222 | 222 | * Possible values for $key and $value: |
| 223 | 223 | * 'conditional' string Comments for IE 6, lte IE 7 etc. |