WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/28/2009 12:48:20 AM (12 years ago)
Author:
azaozz
Message:

WP_Dependencies: pass NULL to disable script and style version query strings, props scribu amattie, fixes #11315

File:
1 edited

Legend:

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

    r12531 r12558  
    4646 * @param array $deps Array of handles of any stylesheet that this stylesheet depends on.
    4747 *  (Stylesheets that must be loaded before this stylesheet.) Pass an empty array if there are no dependencies.
    48  * @param string|bool $ver String specifying the stylesheet version number, if it has one. This parameter
    49  *  is used to ensure that the correct version is sent to the client regardless of caching, and so should be included
    50  *  if a version number is available and makes sense for the stylesheet.
     48 * @param string|bool $ver String specifying the stylesheet version number. Set to NULL to disable.
     49 *  Used to ensure that the correct version is sent to the client regardless of caching.
    5150 * @param string $media The media for which this stylesheet has been defined.
    5251 */
     
    7877/**
    7978 * Enqueue a CSS style file.
     79 *
     80 * Registers the style if src provided (does NOT overwrite) and enqueues.
    8081 *
    8182 * @since r79
Note: See TracChangeset for help on using the changeset viewer.