Revert the change to use add_query_arg() for Open Sans, as it causes a fatal error when script concatenation is used. See #26063
Built from https://develop.svn.wordpress.org/trunk@26381 git-svn-id: http://core.svn.wordpress.org/trunk@26281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
89dfee993d
commit
d25288a7f7
|
@ -580,12 +580,8 @@ function wp_default_styles( &$styles ) {
|
|||
$subsets .= ',vietnamese';
|
||||
}
|
||||
|
||||
$query_args = array(
|
||||
'family' => 'Open+Sans:300italic,400italic,600italic,300,400,600',
|
||||
'subset' => $subsets,
|
||||
);
|
||||
// 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 );
|
||||
|
|
Loading…
Reference in New Issue