Make WordPress Core


Ignore:
Timestamp:
11/30/2021 05:46:22 AM (3 years ago)
Author:
noisysocks
Message:

Update @wordpress packages

Update packages to include these bug fixes from Gutenberg:

  • Include cascading properties in Navigation deprecation
  • Reorganize e2e tests folders and file
  • Border panel: Update to display multiple palette origins
  • Add CSS fix for 33580
  • Add: Uneditable duotone palette on the palette gradient panel
  • Site Editor: Allow editing custom template title
  • Writing Flow: Double escape unselects all blocks
  • Fix icon scaling.
  • [Block Library - Query Pagination Next/Previous]: Remove text and link color support
  • Add: Border indication to global styles colors.
  • Color Picker: Improve border, padding, and box shadow styles.
  • theme.json: sort keys alphabetically
  • Remove navigationArea context.

See #54487.

File:
1 edited

Legend:

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

    r52275 r52277  
    283283        $parsed_blocks           = gutenberg_parse_blocks_from_menu_items( $menu_items_by_parent_id[0], $menu_items_by_parent_id );
    284284        $inner_blocks            = new WP_Block_List( $parsed_blocks, $attributes );
    285     }
    286 
    287     if ( ! empty( $block->context['navigationArea'] ) ) {
    288         $area    = $block->context['navigationArea'];
    289         $mapping = get_option( 'wp_navigation_areas', array() );
    290         if ( ! empty( $mapping[ $area ] ) ) {
    291             $attributes['ref'] = $mapping[ $area ];
    292         }
    293285    }
    294286
Note: See TracChangeset for help on using the changeset viewer.