Full site editing: Wrong navigation active link when for post page. #40222
Labels
[Block] Navigation
Affects the Navigation Block
[Type] Bug
An existing feature does not function as intended
Description
When adding post page in full site editing navigation page (WP core settings -> readiung -> Your homepage displays -> posts page).
In frontend, active link has wrong global
$post
reference causing wrong active state.Step-by-step reproduction instructions
current-menu-item
)Screenshots, screen recording, code snippet
active-link.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: