[wp-trac] [WordPress Trac] #14847: Update featured image data in WXR import

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 28 12:50:48 UTC 2010


#14847: Update featured image data in WXR import
-------------------------+--------------------------------------------------
 Reporter:  markel       |       Owner:               
     Type:  enhancement  |      Status:  new          
 Priority:  normal       |   Milestone:  WordPress.org
Component:  Import       |     Version:               
 Severity:  normal       |    Keywords:  has-patch gci
-------------------------+--------------------------------------------------

Comment(by duck_):

 Looking good (especially for your fourth patch!). Just a couple of things:

  - The new `id_remap` is actually unnecessary; look in `process_posts` for
 what you can use that's already there
  - I think it would be more efficient to make use of `isset` rather than
 the inner loop when updating the _thumbnail_id meta

 From what you say about this other problem don't worry about it as it's
 beyond the scope of this task. I will do some testing and look into a fix.

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


More information about the wp-trac mailing list