[wp-trac] [WordPress Trac] #11863: Trashed items interfere with page/post slug generation

WordPress Trac noreply at wordpress.org
Sun Apr 10 19:30:18 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:                     |     Focuses:
-------------------------------+------------------------

Comment (by pavelevap):

 Yes, when you publish post "Trash" (slug `trash`) and move it to Trash,
 `post_name` will be changed to `trash__trashed`.

 And when you restore it, `post_name` is changed back to `trash` and
 `_wp_old_slug` with value `trash__trashed` is created.

 The only feature of `_wp_old_slug` in this case is possible redirection
 from `trash__trashed` to `trash`? But I do not understand why? No user
 knows (for default Posts and Pages) this temporary trashed slug and there
 is no need to save this redirect. And if it is possible problem on bbPress
 side, it should be solved there because it is not WP core issue? For most
 of WP users it has only downsizes, I guess, that means bloated database
 with not usable values :-(

--
Ticket URL: <https://core.trac.wordpress.org/ticket/11863#comment:154>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list