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

Built from https://develop.svn.wordpress.org/trunk@26374


git-svn-id: http://core.svn.wordpress.org/trunk@26274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2013-11-26 01:47:10 +00:00
parent e54ee86aaa
commit a0f43f5cbf
1 changed files with 3 additions and 1 deletions

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 );
}