[wp-trac] [WordPress Trac] #15197: WXR export/import umbrella ticket

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 24 14:16:31 UTC 2010


#15197: WXR export/import umbrella ticket
--------------------------+-------------------------------------------------
 Reporter:  duck_         |       Owner:  duck_    
     Type:  defect (bug)  |      Status:  assigned 
 Priority:  normal        |   Milestone:  3.1      
Component:  Export        |     Version:  3.1      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by duck_):

 First pass at export filtering.

 Sorry, it uses tables for the form elements. Was getting the UI done
 quickly without CSS and focusing more on the backend part.

 I introduced a function to build the date dropdowns as I wasn't sure on
 the best route for this. Thoughts? Should this be inline for now? Moved
 and made more general and also used in class-wp-list-table.php?

 If you filter by post and category then the export file will now only
 export the selected category (previously all cats, tags and terms were
 still in the file). However, posts will bring any extra cats, tags and
 terms with them and the importer will create these as well. Thoughts on
 this?

 Should there be restrictions on the authors exported when filtering
 posts/pages by author?

 Got rid of the ORDER BY parts of the post table DB queries since it
 doesn't matter for an export. Also changed the pubDate tag just to contain
 the time of export file generation, because we don't need the precision of
 the previous approach in this context and it gets rid of two queries.

 Other thoughts:
  - Should there be a check for post_type_supports comments to save on a
 query for every single item in the export?

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


More information about the wp-trac mailing list