[wp-trac] [WordPress Trac] #19218: Posts with same title cannot be imported into different post types

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 9 17:02:07 UTC 2011


#19218: Posts with same title cannot be imported into different post types
--------------------------+----------------------------
 Reporter:  misternifty   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  WordPress.org
Component:  Import        |     Version:  3.2.1
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+----------------------------
Changes (by duck_):

 * milestone:  Awaiting Review => WordPress.org


Comment:

 Could do either of

  * Update `post_exists()` to accept a $post_type parameter
  * Retrieve the result of `post_exists()` in the importer and check the
 post type

 The second can be done quickest as the first isn't going to happen for
 3.3.

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


More information about the wp-trac mailing list