浏览代码

Stratford: Fix missing google font variable warning

Allan Cole 5 年之前
父节点
当前提交
384789c690
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      stratford/functions.php

+ 2 - 2
stratford/functions.php

@@ -140,7 +140,7 @@ function stratford_fonts_url() {
 	*/
 	$inconsolata = esc_html_x( 'on', 'Inconsolata font: on or off', 'stratford' );
 
-	if ( 'off' !== $playfair || 'off' !== $roboto ) {
+	if ( 'off' !== $poppins || 'off' !== $lato || 'off' !== $inconsolata ) {
 		$font_families = array();
 
 		if ( 'off' !== $poppins ) {
@@ -150,7 +150,7 @@ function stratford_fonts_url() {
 		if ( 'off' !== $lato ) {
 			$font_families[] = 'Lato:400,700,400italic,700italic';
 		}
-	
+
 		if ( 'off' !== $inconsolata ) {
 			$font_families[] = 'Inconsolata:400,700';
 		}