From a0f43f5cbf0eee61efc282e6542ac883f945677e Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 26 Nov 2013 01:47:10 +0000 Subject: [PATCH] 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 --- wp-admin/load-styles.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-admin/load-styles.php b/wp-admin/load-styles.php index c51355d720..75e655c4d4 100644 --- a/wp-admin/load-styles.php +++ b/wp-admin/load-styles.php @@ -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 ); }