mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Revert [27203], restore JIT color scheme stylesheets. Restores [27111].
fixes #27175. see #20729. git-svn-id: https://develop.svn.wordpress.org/trunk@27515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -62,6 +62,10 @@ class WP_Styles extends WP_Dependencies {
|
||||
$media = 'all';
|
||||
|
||||
$href = $this->_css_href( $obj->src, $ver, $handle );
|
||||
if ( empty( $href ) ) {
|
||||
// Turns out there is nothing to print.
|
||||
return true;
|
||||
}
|
||||
$rel = isset($obj->extra['alt']) && $obj->extra['alt'] ? 'alternate stylesheet' : 'stylesheet';
|
||||
$title = isset($obj->extra['title']) ? "title='" . esc_attr( $obj->extra['title'] ) . "'" : '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user