Make WordPress Core

Changeset 54486


Ignore:
Timestamp:
10/11/2022 03:36:04 PM (4 years ago)
Author:
davidbaumwald
Message:

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.

Location:
trunk/src/wp-includes/blocks
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/navigation-link.php

    r54483 r54486  
    101101                $font_sizes['inline_styles'] = sprintf(
    102102                        'font-size: %s;',
    103                         gutenberg_get_typography_font_size_value(
     103                        wp_get_typography_font_size_value(
    104104                                array(
    105105                                        'size' => $context['style']['typography']['fontSize'],
  • trunk/src/wp-includes/blocks/navigation-submenu.php

    r54483 r54486  
    101101                $font_sizes['inline_styles'] = sprintf(
    102102                        'font-size: %s;',
    103                         gutenberg_get_typography_font_size_value(
     103                        wp_get_typography_font_size_value(
    104104                                array(
    105105                                        'size' => $context['style']['typography']['fontSize'],
  • trunk/src/wp-includes/blocks/page-list.php

    r54483 r54486  
    122122                $font_sizes['inline_styles'] = sprintf(
    123123                        'font-size: %s;',
    124                         gutenberg_get_typography_font_size_value(
     124                        wp_get_typography_font_size_value(
    125125                                array(
    126126                                        'size' => $context['style']['typography']['fontSize'],
  • trunk/src/wp-includes/blocks/search.php

    r54483 r54486  
    445445                $typography_styles[] = sprintf(
    446446                        'font-size: %s;',
    447                         gutenberg_get_typography_font_size_value(
     447                        wp_get_typography_font_size_value(
    448448                                array(
    449449                                        'size' => $attributes['style']['typography']['fontSize'],
Note: See TracChangeset for help on using the changeset viewer.