Editor: Change `gutenberg_get_typography_font_size_value()` calls to `wp_get_typography_font_size_value()`.

Merged Gutenberg functions should be prefixed with `wp_`.

Follow-up to [54483].

Props spacedmonkey.
See #56467.
Built from https://develop.svn.wordpress.org/trunk@54486


git-svn-id: http://core.svn.wordpress.org/trunk@54045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
davidbaumwald 2022-10-11 15:38:11 +00:00
parent 2ddc837e83
commit 0b33636e64
5 changed files with 5 additions and 5 deletions

View File

@ -100,7 +100,7 @@ function block_core_navigation_link_build_css_font_sizes( $context ) {
// Add the custom font size inline style.
$font_sizes['inline_styles'] = sprintf(
'font-size: %s;',
gutenberg_get_typography_font_size_value(
wp_get_typography_font_size_value(
array(
'size' => $context['style']['typography']['fontSize'],
)

View File

@ -100,7 +100,7 @@ function block_core_navigation_submenu_build_css_font_sizes( $context ) {
// Add the custom font size inline style.
$font_sizes['inline_styles'] = sprintf(
'font-size: %s;',
gutenberg_get_typography_font_size_value(
wp_get_typography_font_size_value(
array(
'size' => $context['style']['typography']['fontSize'],
)

View File

@ -121,7 +121,7 @@ function block_core_page_list_build_css_font_sizes( $context ) {
// Add the custom font size inline style.
$font_sizes['inline_styles'] = sprintf(
'font-size: %s;',
gutenberg_get_typography_font_size_value(
wp_get_typography_font_size_value(
array(
'size' => $context['style']['typography']['fontSize'],
)

View File

@ -444,7 +444,7 @@ function get_typography_styles_for_block_core_search( $attributes ) {
if ( ! empty( $attributes['style']['typography']['fontSize'] ) ) {
$typography_styles[] = sprintf(
'font-size: %s;',
gutenberg_get_typography_font_size_value(
wp_get_typography_font_size_value(
array(
'size' => $attributes['style']['typography']['fontSize'],
)

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-beta3-54485';
$wp_version = '6.1-beta3-54486';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.