[wp-trac] [WordPress Trac] #33920: `wp_old_slug_redirect` ignores rewrite endpoints
WordPress Trac
noreply at wordpress.org
Mon Sep 28 06:56:56 UTC 2015
#33920: `wp_old_slug_redirect` ignores rewrite endpoints
--------------------------+---------------------
Reporter: swissspidy | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Query | Version: 2.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by pento):
* owner: => pento
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"34659"]:
{{{
#!CommitTicketReference repository="" revision="34659"
Rewrite: When redirecting old slugs, include URL endpoints.
Historically, `wp_old_slug_redirect()` has only ever redirected the old
slug of posts, it hasn't included URL endpoints, or worked with comment
feed URLs. By adding support for these, we ensure a greater range of URLs
aren't killed when the slug changes.
Props swissspdy.
Fixes #33920.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33920#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list