Make WordPress Core


Ignore:
Timestamp:
03/10/2025 07:45:46 PM (11 months ago)
Author:
joemcgill
Message:

Editor: Update packages for 6.8 Beta 2.

Syncs @wordpress/* packages to the 'latest' npm tag.

Props mamaduka, desrosj, joemcgill.
See #62887.

File:
1 edited

Legend:

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

    r58187 r59961  
    3232
    3333    if ( $attributes['isLink'] ) {
    34         $aria_current = is_home() || ( is_front_page() && 'page' === get_option( 'show_on_front' ) ) ? ' aria-current="page"' : '';
     34        $aria_current = ! is_paged() && ( is_front_page() || is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) ? ' aria-current="page"' : '';
    3535        $link_target  = ! empty( $attributes['linkTarget'] ) ? $attributes['linkTarget'] : '_self';
    3636
Note: See TracChangeset for help on using the changeset viewer.