Make WordPress Core

Changeset 32040


Ignore:
Timestamp:
04/05/2015 03:54:08 PM (10 years ago)
Author:
DrewAPicture
Message:

Add a variety of missing descriptions and fix syntax for wp_scripts(), _wp_scripts_maybe_doing_it_wrong(), and wp_script_add_data().

See #31888.

File:
1 edited

Legend:

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

    r31887 r32040  
    1616 * @since 4.2.0
    1717 *
    18  * @return WP_Scripts
     18 * @return WP_Scripts WP_Scripts instance.
    1919 */
    2020function wp_scripts() {
     
    2727
    2828/**
    29  * Helper function to output a _doing_it_wrong message when applicable
    30  *
     29 * Helper function to output a _doing_it_wrong message when applicable.
     30 *
     31 * @ignore
    3132 * @since 4.2.0
    32  * @access private
    33  * @ignore
    34  *
    35  * @param string $function
     33 *
     34 * @param string $function Function name.
    3635 */
    3736function _wp_scripts_maybe_doing_it_wrong( $function ) {
     
    284283 * 'conditional' string Comments for IE 6, lte IE 7, etc.
    285284 *
     285 * @since 4.2.0
     286 *
    286287 * @see WP_Dependency::add_data()
    287  *
    288  * @since 4.2.0
    289288 *
    290289 * @param string $handle Name of the script.
Note: See TracChangeset for help on using the changeset viewer.