WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/12/2014 04:11:38 PM (8 years ago)
Author:
nacin
Message:

Revert [27203], restore JIT color scheme stylesheets. Restores [27111].

fixes #27175. see #20729.

File:
1 edited

Legend:

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

    r27203 r27515  
    6363
    6464        $href = $this->_css_href( $obj->src, $ver, $handle );
     65        if ( empty( $href ) ) {
     66            // Turns out there is nothing to print.
     67            return true;
     68        }
    6569        $rel = isset($obj->extra['alt']) && $obj->extra['alt'] ? 'alternate stylesheet' : 'stylesheet';
    6670        $title = isset($obj->extra['title']) ? "title='" . esc_attr( $obj->extra['title'] ) . "'" : '';
Note: See TracChangeset for help on using the changeset viewer.