[wp-trac] [WordPress Trac] #11863: Trashed items interfere with page/post slug generation
WordPress Trac
noreply at wordpress.org
Fri Apr 8 20:17:38 UTC 2016
#11863: Trashed items interfere with page/post slug generation
-------------------------------+------------------------
Reporter: Denis-de-Bernardy | Owner: ericlewis
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.5
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses:
-------------------------------+------------------------
Comment (by ericlewis):
In attachment:11863.18.diff, we should not store the old slug for
untrashed posts (i.e. "about__trashed").
Old slugs are used for redirecting in case a user changes the slug.
Thinking about this a little further...I wonder if this is useful in some
cases, like BBPress, where trashed posts are visible on the front-end? In
case a post is untrashed?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11863#comment:146>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list