From 264c582530c6036b9ed4425572d95af4f2263927 Mon Sep 17 00:00:00 2001 From: lucha <lucha@paranoici.org> Date: Sun, 6 Jan 2013 20:39:55 +0100 Subject: [PATCH 165/229] Remove Google API, google fonts, flash plugin diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 99ef20f3..dd8cabf8 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -1660,8 +1661,9 @@ function wp_default_styles( $styles ) { $subsets .= ',vietnamese'; } + // A/I removed google font // Hotlink Open Sans, for now. - $open_sans_font_url = "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets&display=fallback"; + $open_sans_font_url = ""; } // Register a stylesheet for the selected admin color scheme. @@ -1738,7 +1740,8 @@ function wp_default_styles( $styles ) { */ $font_family = _x( 'Noto Serif:400,400i,700,700i', 'Google Font Name and Variants' ); if ( 'off' !== $font_family ) { - $fonts_url = 'https://fonts.googleapis.com/css?family=' . urlencode( $font_family ); + // A/I removed google font + $fonts_url = '' . urlencode( $font_family ); } $styles->add( 'wp-editor-font', $fonts_url ); -- 2.17.1