Make WordPress Core


Ignore:
Timestamp:
03/07/2023 03:29:47 PM (9 months ago)
Author:
hellofromTonya
Message:

Editor: Update @wordpress packages for 6.2 Beta 5.

Updates the @wordpress packages to include the following changes:

  • Add border radius to off canvas navigation menu items
  • Remove border from quick inserter child elements
  • Show variant patterns even if there are no patterns for the Query Loop block
  • Order initial block items in Navigation with PrivateInserter
  • Update: Add descriptions to all panels in the Site Editor's dark side
  • Fix typo in template parts description
  • Fix: Browse mode descriptions margin
  • Fix: Show creation popover on empty page links in the navigation sidebar
  • Make sure the directly inserted block in the Nav block is a Page link
  • Fix browser history when synchronising state with urls
  • Navigation Sidebar: Change the logic about which navigation gets selected for the sidebar
  • Fixes extra UI in navigation block inspector
  • Renames parent selection boolean param and improves docs
  • Widget Importer: Fix Widget Group block imports
  • Don't add Post Content layout styles to title in the post editor
  • Site editor: Add hover animation to site editor canvas
  • Prevent the saving button from showing when renaming templates
  • Navigation Block: Fix big spinner
  • Navigation: Don't save the level of the link in an attribute
  • Focus 1st parent block on block remove, if no previous block is available
  • Navigation: Performance: improve params in block_core_navigation_get_most_recently_published_navigation()
  • Navigation Block inspector: fix link UI popover opening on links that have a url
  • Fix for WP_Theme_JSON_Resolver::get_merged_data()
  • Site Editor: Add page details when viewing a specific page.
  • Fix site editor sidebar scrollbars
  • Fix: Custom link UI does appears outside canvas on the sidebar navigation
  • Fix: Make navigation page list load its items on navigation sidebar

References:

Follow-up to [55441], [55440].

Props ntsekouras, mamaduka, gziolo, costdev, hellofromTonya.
See #57471.

File:
1 edited

Legend:

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

    r55257 r55475  
    374374    // Default to the most recently created menu.
    375375    $parsed_args = array(
    376         'post_type'      => 'wp_navigation',
    377         'no_found_rows'  => true,
    378         'order'          => 'DESC',
    379         'orderby'        => 'date',
    380         'post_status'    => 'publish',
    381         'posts_per_page' => 1, // get only the most recent.
     376        'post_type'              => 'wp_navigation',
     377        'no_found_rows'          => true,
     378        'update_post_meta_cache' => false,
     379        'update_post_term_cache' => false,
     380        'order'                  => 'DESC',
     381        'orderby'                => 'date',
     382        'post_status'            => 'publish',
     383        'posts_per_page'         => 1, // get only the most recent.
    382384    );
    383385
Note: See TracChangeset for help on using the changeset viewer.