mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18503 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -125,10 +125,12 @@ foreach( $load as $handle ) {
|
||||
$content .= get_file($rtl_path) . "\n";
|
||||
}
|
||||
|
||||
if ( strpos( $style->src, '/wp-includes/css/' ) === 0 )
|
||||
$out .= str_replace( '../images/', '../wp-includes/images/', $content );
|
||||
else
|
||||
if ( strpos( $style->src, '/wp-includes/css/' ) === 0 ) {
|
||||
$content = str_replace( '../images/', '../wp-includes/images/', $content );
|
||||
$out .= str_replace( '../js/tinymce/', '../wp-includes/js/tinymce/', $content );
|
||||
} else {
|
||||
$out .= str_replace( '../images/', 'images/', $content );
|
||||
}
|
||||
}
|
||||
|
||||
header('Content-Type: text/css');
|
||||
|
||||
Reference in New Issue
Block a user