[wp-trac] [WordPress Trac] #16283: post_exists() enhancement - don't include revisions

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 26 12:16:10 UTC 2011


#16283: post_exists() enhancement - don't include revisions
----------------------------+------------------------------
 Reporter:  durin           |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  dev-feedback    |
----------------------------+------------------------------

Comment (by solarissmoke):

 Replying to [comment:3 westi]:
 > So how do we handle when someone decides to revert to the revision with
 ABC as a title?

 I don't see why this would be an issue? Titles don't have to be unique
 like slugs. It's no different from someone creating a new post which has a
 title identical to some other old post - works fine and `wp_insert_post`
 will handle the slugs.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16283#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list