Commit 620fb58b authored by lucha's avatar lucha Committed by lechuck

removed Open Sans fonts form GoogleApi

parent 0fb15954
......@@ -62,7 +62,7 @@ function wp_default_scripts( &$scripts ) {
}
$scripts->base_url = $guessurl;
$scripts->content_url = defined('WP_CONTENT_URL')? WP_CONTENT_URL : '';
$scripts->content_url = defined('WP_COder.NTENT_URL')? WP_CONTENT_URL : '';
$scripts->default_version = get_bloginfo( 'version' );
$scripts->default_dirs = array('/wp-admin/js/', '/wp-includes/js/');
......@@ -584,25 +584,25 @@ function wp_default_styles( &$styles ) {
/* translators: If there are characters in your language that are not supported
* by Open Sans, translate this to 'off'. Do not translate into your own language.
*/
if ( 'off' !== _x( 'on', 'Open Sans font: on or off' ) ) {
$subsets = 'latin,latin-ext';
/* translators: To add an additional Open Sans character subset specific to your language,
* translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language.
*/
$subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)' );
if ( 'cyrillic' == $subset ) {
$subsets .= ',cyrillic,cyrillic-ext';
} elseif ( 'greek' == $subset ) {
$subsets .= ',greek,greek-ext';
} elseif ( 'vietnamese' == $subset ) {
$subsets .= ',vietnamese';
}
// Hotlink Open Sans, for now
$open_sans_font_url = "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
}
/* if ( 'off' !== _x( 'on', 'Open Sans font: on or off' ) ) { */
/* $subsets = 'latin,latin-ext'; */
/* /\* translators: To add an additional Open Sans character subset specific to your language, */
/* * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. */
/* *\/ */
/* $subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)' ); */
/* if ( 'cyrillic' == $subset ) { */
/* $subsets .= ',cyrillic,cyrillic-ext'; */
/* } elseif ( 'greek' == $subset ) { */
/* $subsets .= ',greek,greek-ext'; */
/* } elseif ( 'vietnamese' == $subset ) { */
/* $subsets .= ',vietnamese'; */
/* } */
/* // Hotlink Open Sans, for now */
/* $open_sans_font_url = "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets"; */
/* } */
// Register a stylesheet for the selected admin color scheme.
$styles->add( 'colors', true, array( 'wp-admin', 'buttons', 'open-sans', 'dashicons' ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment