Style Concatenation: Fix loading of dashicons non-woff files when concatenation is in use. Fixes #26250

git-svn-id: https://develop.svn.wordpress.org/trunk@26374 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2013-11-26 01:46:11 +00:00
parent 868ada7dfb
commit c15ef05674

View File

@ -126,7 +126,9 @@ foreach( $load as $handle ) {
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 );
$content = str_replace( '../js/tinymce/', '../wp-includes/js/tinymce/', $content );
$content = str_replace( '../fonts/', '../wp-includes/fonts/', $content );
$out .= $content;
} else {
$out .= str_replace( '../images/', 'images/', $content );
}