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

WordPress Trac noreply at wordpress.org
Fri Aug 23 10:02:37 UTC 2013


#16283: post_exists() enhancement - don't include revisions
----------------------------+------------------------------
 Reporter:  durin           |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  2.0
 Severity:  normal          |  Resolution:  wontfix
 Keywords:                  |
----------------------------+------------------------------
Changes (by c3mdigital):

 * keywords:  dev-feedback needs-patch =>
 * status:  new => closed
 * version:  3.1 => 2.0
 * resolution:   => wontfix


Comment:

 `post_exists` is not used anywhere in core.  The common use case is
 avoiding duplicate when importing content.  If you import a post then make
 slight changes when your importer runs again, you need to check revisions
 because if not, you would be importing the same post 2 times because the
 original has changed.

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


More information about the wp-trac mailing list