Prechádzať zdrojové kódy

Merge branch 'trunk' into add/skatepark-testimonial-block-pattern

Sarah Norris 4 rokov pred
rodič
commit
ae022892da

+ 1 - 0
blockbase/inc/customizer/wp-customize-colors.php

@@ -153,6 +153,7 @@ class GlobalStylesColorCustomizer {
 		$user_theme_json_post->post_content = json_encode( $user_theme_json_post_content );
 		wp_update_post( $user_theme_json_post );
 		delete_transient( 'global_styles' );
+		delete_transient( 'gutenberg_global_styles' );
 	}
 
 	function check_if_colors_are_default() {

+ 1 - 0
blockbase/inc/customizer/wp-customize-fonts.php

@@ -465,6 +465,7 @@ class GlobalStylesFontsCustomizer {
 		$user_theme_json_post->post_content = json_encode( $user_theme_json_post_content );
 		wp_update_post( $user_theme_json_post );
 		delete_transient( 'global_styles' );
+		delete_transient( 'gutenberg_global_styles' );
 	}
 
 }

+ 0 - 3
blockbase/theme.json

@@ -501,9 +501,6 @@
 			},
 			"link": {
 				"color": {
-					"fontFamily": "var(--wp--custom--heading--typography--font-family)",
-					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
-					"lineHeight": "var(--wp--custom--heading--typography--line-height)",
 					"text": "var(--wp--custom--color--primary)"
 				}
 			}

+ 3 - 3
mayland-blocks/theme.json

@@ -206,6 +206,9 @@
 					}
 				}
 			},
+			"layout": {
+				"contentSize": "620px"
+			},
 			"list": {
 				"spacing": {
 					"padding": {
@@ -529,9 +532,6 @@
 			},
 			"link": {
 				"color": {
-					"fontFamily": "var(--wp--custom--heading--typography--font-family)",
-					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
-					"lineHeight": "var(--wp--custom--heading--typography--line-height)",
 					"text": "var(--wp--custom--color--foreground)"
 				}
 			}

+ 0 - 3
quadrat/theme.json

@@ -608,9 +608,6 @@
 			},
 			"link": {
 				"color": {
-					"fontFamily": "var(--wp--custom--heading--typography--font-family)",
-					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
-					"lineHeight": "var(--wp--custom--heading--typography--line-height)",
 					"text": "var(--wp--custom--color--foreground)"
 				}
 			}

+ 0 - 3
seedlet-blocks/theme.json

@@ -566,9 +566,6 @@
 			},
 			"link": {
 				"color": {
-					"fontFamily": "var(--wp--custom--heading--typography--font-family)",
-					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
-					"lineHeight": "var(--wp--custom--heading--typography--line-height)",
 					"text": "var(--wp--custom--color--primary)"
 				}
 			}

+ 0 - 3
skatepark/theme.json

@@ -513,9 +513,6 @@
 			},
 			"link": {
 				"color": {
-					"fontFamily": "var(--wp--custom--heading--typography--font-family)",
-					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
-					"lineHeight": "var(--wp--custom--heading--typography--line-height)",
 					"text": "var(--wp--custom--color--primary)"
 				}
 			}