@wordpress/block-library 7.14.6 → 7.14.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-library",
|
|
3
|
-
"version": "7.14.
|
|
3
|
+
"version": "7.14.7",
|
|
4
4
|
"description": "Block library for the WordPress editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "132a0fa836ddf9516e8bf7f1546491ec01e81d3a"
|
|
77
77
|
}
|
|
@@ -100,7 +100,7 @@ function block_core_navigation_link_build_css_font_sizes( $context ) {
|
|
|
100
100
|
// Add the custom font size inline style.
|
|
101
101
|
$font_sizes['inline_styles'] = sprintf(
|
|
102
102
|
'font-size: %s;',
|
|
103
|
-
|
|
103
|
+
wp_get_typography_font_size_value(
|
|
104
104
|
array(
|
|
105
105
|
'size' => $context['style']['typography']['fontSize'],
|
|
106
106
|
)
|
|
@@ -100,7 +100,7 @@ function block_core_navigation_submenu_build_css_font_sizes( $context ) {
|
|
|
100
100
|
// Add the custom font size inline style.
|
|
101
101
|
$font_sizes['inline_styles'] = sprintf(
|
|
102
102
|
'font-size: %s;',
|
|
103
|
-
|
|
103
|
+
wp_get_typography_font_size_value(
|
|
104
104
|
array(
|
|
105
105
|
'size' => $context['style']['typography']['fontSize'],
|
|
106
106
|
)
|
package/src/page-list/index.php
CHANGED
|
@@ -121,7 +121,7 @@ function block_core_page_list_build_css_font_sizes( $context ) {
|
|
|
121
121
|
// Add the custom font size inline style.
|
|
122
122
|
$font_sizes['inline_styles'] = sprintf(
|
|
123
123
|
'font-size: %s;',
|
|
124
|
-
|
|
124
|
+
wp_get_typography_font_size_value(
|
|
125
125
|
array(
|
|
126
126
|
'size' => $context['style']['typography']['fontSize'],
|
|
127
127
|
)
|
package/src/search/index.php
CHANGED
|
@@ -444,7 +444,7 @@ function get_typography_styles_for_block_core_search( $attributes ) {
|
|
|
444
444
|
if ( ! empty( $attributes['style']['typography']['fontSize'] ) ) {
|
|
445
445
|
$typography_styles[] = sprintf(
|
|
446
446
|
'font-size: %s;',
|
|
447
|
-
|
|
447
|
+
wp_get_typography_font_size_value(
|
|
448
448
|
array(
|
|
449
449
|
'size' => $attributes['style']['typography']['fontSize'],
|
|
450
450
|
)
|