WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/28/2011 06:24:00 PM (10 years ago)
Author:
azaozz
Message:

Introduce WP_Dependencies::get_data() method, change scripts and styles priority to follow the "natural" order in HTML, i.e. the last one wins, props scribu, see #11520

File:
1 edited

Legend:

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

    r18464 r18480  
    3838 *
    3939 * Works only if the stylesheet has already been added.
    40  * Accepts a string $data containing the CSS.
     40 * Accepts a string $data containing the CSS. If two or more CSS code blocks are
     41 * added to the same stylesheet $handle, they will be printed in the order
     42 * they were added, i.e. the latter added styles can redeclare the previous.
    4143 *
    4244 * @since 3.3
Note: See TracChangeset for help on using the changeset viewer.