mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Simplify how admin color schemes are enqueued.
Removes a piece of [27111]. fixes #20729. git-svn-id: https://develop.svn.wordpress.org/trunk@27203 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -62,10 +62,6 @@ 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