فهرست منبع

Merge pull request #3716 from Automattic/fix/custom-fonts-conditional

BCB: fix custom fonts loading conditional
Ben Dwyer 4 سال پیش
والد
کامیت
c486cce38f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      blank-canvas-blocks/functions.php

+ 1 - 1
blank-canvas-blocks/functions.php

@@ -68,7 +68,7 @@ function blank_canvas_blocks_fonts_url() {
 	}
 
 	$custom_data = $theme_data['defaults']['custom'];
-	if ( array_key_exists( 'fontsToLoadFromGoogle', $custom_data ) ) {
+	if ( ! array_key_exists( 'fontsToLoadFromGoogle', $custom_data ) ) {
 		return '';
 	}