Changeset 9243 for trunk/wp-includes/functions.wp-scripts.php
- Timestamp:
- 10/18/2008 08:46:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.wp-scripts.php
r9002 r9243 35 35 } 36 36 37 /** 38 * Register new JavaScript file. 39 * 40 * @since r16 41 * @see WP_Scripts::add() For parameter information. 42 */ 37 43 function wp_register_script( $handle, $src, $deps = array(), $ver = false ) { 38 44 global $wp_scripts; … … 44 50 45 51 /** 46 * Localizes a script 52 * Localizes a script. 47 53 * 48 * Localizes only if script has already been added 54 * Localizes only if script has already been added. 49 55 * 56 * @since r16 50 57 * @see WP_Script::localize() 51 58 */ … … 58 65 } 59 66 67 /** 68 * Remove a registered script. 69 * 70 * @since r16 71 * @see WP_Scripts::remove() For parameter information. 72 */ 60 73 function wp_deregister_script( $handle ) { 61 74 global $wp_scripts; … … 67 80 68 81 /** 69 * E queues script82 * Enqueues script. 70 83 * 71 84 * Registers the script if src provided (does NOT overwrite) and enqueues. 72 85 * 86 * @since r16 73 87 * @see WP_Script::add(), WP_Script::enqueue() 74 88 */
Note: See TracChangeset
for help on using the changeset viewer.