Changeset 60062 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 03/21/2025 01:54:38 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r59966 r60062 1119 1119 ); 1120 1120 } else { 1121 $aria_current = is_front_page() && ! is_paged() ? ' aria-current="page"' : '';1121 $aria_current = ! is_paged() && ( is_front_page() || is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) ? ' aria-current="page"' : ''; 1122 1122 1123 1123 $html = sprintf(
Note: See TracChangeset
for help on using the changeset viewer.