Changeset 61009 for trunk/src/wp-includes/blocks/navigation-submenu.php
- Timestamp:
- 10/21/2025 07:11:53 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/navigation-submenu.php
r59775 r61009 87 87 $is_active = ! empty( $attributes['id'] ) && get_queried_object_id() === (int) $attributes['id'] && ! empty( get_queried_object()->$kind ); 88 88 89 if ( is_post_type_archive() ) {89 if ( is_post_type_archive() && ! empty( $attributes['url'] ) ) { 90 90 $queried_archive_link = get_post_type_archive_link( get_queried_object()->name ); 91 91 if ( $attributes['url'] === $queried_archive_link ) {
Note: See TracChangeset
for help on using the changeset viewer.