-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Show homepage link on frontpage instead of the slug. #62279
Fix: Show homepage link on frontpage instead of the slug. #62279
Conversation
Size Change: +59 B (0%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
e7a5112
to
e307a30
Compare
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well in my test.
Co-authored-by: jorgefilipecosta <[email protected]> Co-authored-by: carolinan <[email protected]> Co-authored-by: colorful-tones <[email protected]> Co-authored-by: jameskoster <[email protected]>
Co-authored-by: jorgefilipecosta <[email protected]> Co-authored-by: carolinan <[email protected]> Co-authored-by: colorful-tones <[email protected]> Co-authored-by: jameskoster <[email protected]>
…62279) Co-authored-by: jorgefilipecosta <[email protected]> Co-authored-by: carolinan <[email protected]> Co-authored-by: colorful-tones <[email protected]> Co-authored-by: jameskoster <[email protected]>
This was cherry-picked to the wp/6.6 branch. |
Fixes: #62065
On the trunk for the homepage/frontpage of a site, we are still showing the slug as the link which is wrong. This PR fixes the issue and shows the true homepage URL for the frontpage.
cc: @jameskoster
Testing Instructions
I verified the true homepage URL is shown for pages marked as the frontpage.
Before:
After:
