Changeset 59961 for trunk/src/wp-includes/blocks/site-title.php
- Timestamp:
- 03/10/2025 07:45:46 PM (11 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/site-title.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/site-title.php
r58187 r59961 32 32 33 33 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"' : ''; 35 35 $link_target = ! empty( $attributes['linkTarget'] ) ? $attributes['linkTarget'] : '_self'; 36 36
Note: See TracChangeset
for help on using the changeset viewer.