Make WordPress Core


Ignore:
Timestamp:
10/11/2022 03:24:12 PM (3 years ago)
Author:
davidbaumwald
Message:

Editor: Update packages for 6.1 Release Candidate 1.

Package updates for bug and regression fixes:
@wordpress/block-directory: 3.15.6
@wordpress/block-editor: 10.0.6
@wordpress/block-library: 7.14.6
@wordpress/components: 21.0.5
@wordpress/customize-widgets: 3.14.6
@wordpress/edit-post: 6.14.6
@wordpress/edit-site: 4.14.8
@wordpress/edit-widgets: 4.14.6
@wordpress/editor: 12.16.6
@wordpress/format-library: 3.15.6
@wordpress/interface: 4.16.5
@wordpress/list-reusable-blocks: 3.15.5
@wordpress/nux: 5.15.5
@wordpress/preferences: 2.9.5
@wordpress/reusable-blocks: 3.15.6
@wordpress/server-side-render: 3.15.5
@wordpress/widgets: 2.15.6

References:

Follow-up to [54257], [54335], and [54383].

Props bernhard-reiter, czapla, annezazu, cbravobernal, ndiego, bjorsch, nendeb55.
See #56467.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/page-list.php

    r54257 r54483  
    120120    } elseif ( $has_custom_font_size ) {
    121121        // Add the custom font size inline style.
    122         $font_sizes['inline_styles'] = sprintf( 'font-size: %s;', $context['style']['typography']['fontSize'] );
     122        $font_sizes['inline_styles'] = sprintf(
     123            'font-size: %s;',
     124            gutenberg_get_typography_font_size_value(
     125                array(
     126                    'size' => $context['style']['typography']['fontSize'],
     127                )
     128            )
     129        );
    123130    }
    124131
     
    300307    $nested_pages = block_core_page_list_nest_pages( $top_level_pages, $pages_with_children );
    301308
    302     // Limit the number of items to be visually displayed.
    303     if ( ! empty( $attributes['__unstableMaxPages'] ) ) {
    304         $nested_pages = array_slice( $nested_pages, 0, $attributes['__unstableMaxPages'] );
    305     }
    306 
    307309    $is_navigation_child = array_key_exists( 'showSubmenuIcon', $block->context );
    308310
Note: See TracChangeset for help on using the changeset viewer.