[wp-trac] [WordPress Trac] #23074: Changing post's URL and then setting it back causes redirect loop (wp_old_slug_redirect)
WordPress Trac
noreply at wordpress.org
Wed Feb 5 09:14:41 UTC 2014
#23074: Changing post's URL and then setting it back causes redirect loop
(wp_old_slug_redirect)
-----------------------------------+-----------------------
Reporter: vbuterin | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Canonical | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------
Comment (by kitchin):
The new combined.2.patch does `wp_check_for_changed_slugs()` correctly and
I think should be landed. Instead of cleaning up the data after all the
early returns (current code), it cleans the data first. Compared to my
previous patch, it does not delete everything when the post is Private.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23074#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list