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