Revert the change to use add_query_arg() for Open Sans, as it causes a fatal error when script concatenation is used. See #26063

git-svn-id: https://develop.svn.wordpress.org/trunk@26381 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2013-11-26 02:40:09 +00:00
parent 696014fff5
commit 16a44dfb6a

View File

@ -580,12 +580,8 @@ function wp_default_styles( &$styles ) {
$subsets .= ',vietnamese'; $subsets .= ',vietnamese';
} }
$query_args = array(
'family' => 'Open+Sans:300italic,400italic,600italic,300,400,600',
'subset' => $subsets,
);
// Hotlink Open Sans, for now // Hotlink Open Sans, for now
$open_sans_font_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' ); $open_sans_font_url = "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
} }
$styles->add( 'open-sans', $open_sans_font_url ); $styles->add( 'open-sans', $open_sans_font_url );