[wp-trac] [WordPress Trac] #20206: WXR unnecessarily includes all post authors

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 9 02:03:03 UTC 2012


#20206: WXR unnecessarily includes all post authors
-------------------------+------------------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Export       |     Version:  3.3
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by jeremyfelt):

 * cc: jeremy.felt@… (added)


Comment:

 I really like this idea. It makes sense to export all of the data based on
 the selected parameters.

 It may make more sense to reuse the {{{$post_ids}}} array so that the
 query for distinct post authors mirrors the results from the main posts
 query. Restricting it to post_type could cause the same issue with extra
 authors for some taxonomies, etc...

 The updated patch attached uses the {{{$post_ids}}} array instead.

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


More information about the wp-trac mailing list