[wp-trac] [WordPress Trac] #15397: redirect_guess_404_permalink() doesn't guess posts with updated dates
WordPress Trac
noreply at wordpress.org
Wed Jan 24 07:11:42 UTC 2018
#15397: redirect_guess_404_permalink() doesn't guess posts with updated dates
--------------------------------------------------+---------------------
Reporter: archon810 | Owner: pento
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9.3
Component: Canonical | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests fixed-major | Focuses:
--------------------------------------------------+---------------------
Changes (by pento):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"42589"]:
{{{
#!CommitTicketReference repository="" revision="42589"
Canonical URLs: Redirect to the correct URL when the post date changes.
When a post slug is changed, we store a copy of the old slug, so that we
can redirect visitors visiting the old URL to the new URL.
In the same way, this stores a copy of the old date, when the post date
changes, so we can redirect visitors to the new URL.
Merge of [42401,42587,42588] to the 4.9 branch.
Props nickmomrik, frank-klein.
Fixes #15397.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15397#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list