Make WordPress Core


Ignore:
Timestamp:
01/11/2022 03:12:21 AM (2 years ago)
Author:
noisysocks
Message:

Update packages to include these bug fixes from Gutenberg:

  • [Block Library - Query Pagination Next]: Hide block if custom query has no results
  • [WP 5.9] Fix: HTML tags like inline images in nav links break submenu layout
  • Check for nextpage to display page links for paginated posts
  • Navigation: Set the default for --navigation-layout-align to "flex-start" when using vertical orientation
  • [Block Library - Query Loop]: Use gap for the grid view
  • Update page list flex variables to match navigation.
  • Site logo: Fix range control on landscape logo
  • Restore canvas padding for classic themes
  • RichText: Fix dead key input on Windows
  • Fix: Impossible to clear colors if color palettes are removed.
  • Gallery block: pass any custom attributes through the gallery v2 migration script
  • Reduce specificity of legacy font sizes defined by core
  • Update: Improve escaping on the search block

See #54487.
Props isabel_brison.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.9/src/wp-includes/blocks/navigation-submenu.php

    r52402 r52552  
    192192        /* translators: Accessibility text. %s: Parent page title. */
    193193        __( '%s submenu' ),
    194         $label
     194        wp_strip_all_tags( $label )
    195195    );
    196196
     
    232232        if ( $show_submenu_indicators ) {
    233233            // The submenu icon is rendered in a button here
    234             // so that there's a clickable elment to open the submenu.
     234            // so that there's a clickable element to open the submenu.
    235235            $html .= '<button aria-label="' . $aria_label . '" class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">' . block_core_navigation_submenu_render_submenu_icon() . '</button>';
    236236        }
Note: See TracChangeset for help on using the changeset viewer.