Make WordPress Core


Ignore:
Timestamp:
10/18/2008 08:46:30 PM (17 years ago)
Author:
ryan
Message:

phpdoc corrections from jacobsantos. see #7918

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.wp-scripts.php

    r9002 r9243  
    3535}
    3636
     37/**
     38 * Register new JavaScript file.
     39 *
     40 * @since r16
     41 * @see WP_Scripts::add() For parameter information.
     42 */
    3743function wp_register_script( $handle, $src, $deps = array(), $ver = false ) {
    3844    global $wp_scripts;
     
    4450
    4551/**
    46  * Localizes a script
     52 * Localizes a script.
    4753 *
    48  * Localizes only if script has already been added
     54 * Localizes only if script has already been added.
    4955 *
     56 * @since r16
    5057 * @see WP_Script::localize()
    5158 */
     
    5865}
    5966
     67/**
     68 * Remove a registered script.
     69 *
     70 * @since r16
     71 * @see WP_Scripts::remove() For parameter information.
     72 */
    6073function wp_deregister_script( $handle ) {
    6174    global $wp_scripts;
     
    6780
    6881/**
    69  * Equeues script
     82 * Enqueues script.
    7083 *
    7184 * Registers the script if src provided (does NOT overwrite) and enqueues.
    7285 *
     86 * @since r16
    7387 * @see WP_Script::add(), WP_Script::enqueue()
    7488*/
Note: See TracChangeset for help on using the changeset viewer.