[wp-trac] [WordPress Trac] #11863: Trashed items interfere with page/post slug generation
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 9 13:34:22 UTC 2010
#11863: Trashed items interfere with page/post slug generation
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Trash | Version: 2.9
Severity: normal | Keywords: needs-patch
-------------------------------+--------------------------------------------
Comment(by williamsba1):
Does it make sense to put some type of flag in the wp_unique_post_slug()
function to determine if a permalink was changed because of a conflict?
Or should this check exist in wp_untrash_post() function after
wp_insert_post is called?
I'm just not sure the best place to put the check to trigger a message
that there was a permalink conflict.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11863#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list