-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take
Description
The link URL should be generated dynamically, instead of storing the URL as an attribute.
Edit for clarity. To reproduce:
- Create a page, name it something
- Create a post
- In the post insert a navigation block
- In the block insert a link to the page you created
- Save and publish
- Check that your link links to the right page
- Go to the pages list in WP Admin
- Find your page and click the quick edit link that appears when you hover it
- Copy the slug
- Change the slug to
lorem-ipsum
- Save
- Go to the page with the menu on the front end, refresh the page
- Hover the link: the URL should be the old one, not
lorem-ipsum
- Clicking it should still take you to the correct page because WP handles redirects
- Create a new page and publish it
- Go to the pages list in WP Admin
- Find your new page and click the quick edit that appears when you hover it
- Replace the slug by pasting the one you copied earlier
- Save
- Go to the page with the menu on the front end, refresh the page
- Hover the link: the URL should be the old one, not
lorem-ipsum
- Clicking it should take you to the wrong page because WP does not handle the redirect now
warudin and paulwilde
Metadata
Metadata
Assignees
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take