Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #11520, comment 32


Ignore:
Timestamp:
07/28/2011 04:41:03 PM (13 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11520, comment 32

    initial v1  
    22> * fix print_inline_style() printing the styles in reverse order
    33
    4 Was actually following the rest of the logic for WP_Dependencies: if there is a conflict (in names or values) the first added object wing. For CSS that should be printed last so it overwrites previous styles.
     4Was actually following the rest of the logic for WP_Dependencies: if there is a conflict (in names or values) the first added object wins. For CSS that should be printed last so it overwrites previous styles.
    55
    66For scripts this is here: https://core.trac.wordpress.org/browser/trunk/wp-includes/class.wp-scripts.php#L168