Make WordPress Core


Ignore:
Timestamp:
02/17/2022 07:16:57 PM (3 years ago)
Author:
audrasjb
Message:

Editor: Update block editor packages for WordPress 5.9.1.

The following packages were updated:

  • @wordpress/block-directory@3.0.27
  • @wordpress/block-editor@8.0.17
  • @wordpress/block-library@6.0.26
  • @wordpress/components@19.2.3
  • @wordpress/core-data@4.0.10
  • @wordpress/customize-widgets@2.0.27
  • @wordpress/e2e-tests@2.5.18
  • @wordpress/edit-post@5.0.27
  • @wordpress/edit-site@3.0.27
  • @wordpress/edit-widgets@3.1.22
  • @wordpress/editor@12.0.21
  • @wordpress/format-library@3.0.23
  • @wordpress/interface@4.1.18
  • @wordpress/list-reusable-blocks@3.0.20
  • @wordpress/nux@5.0.20
  • @wordpress/reusable-blocks@3.0.23
  • @wordpress/server-side-render@3.0.20
  • @wordpress/widgets@2.0.23

Props Mamaduka.
See #55179.

File:
1 edited

Legend:

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

    r52551 r52765  
    172172                $style_attribute = sprintf( ' style="%s"', esc_attr( $colors['overlay_inline_styles'] ) );
    173173            }
     174        }
     175
     176        $front_page_id = (int) get_option( 'page_on_front' );
     177        if ( (int) $page['page_id'] === $front_page_id ) {
     178            $css_class .= ' menu-item-home';
    174179        }
    175180
Note: See TracChangeset for help on using the changeset viewer.