[wp-trac] [WordPress Trac] #10317: Add features to export
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 18 14:50:59 UTC 2010
#10317: Add features to export
----------------------------+-----------------------------------------------
Reporter: wpmuguru | Owner: westi
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 3.0
Component: Export | Version: 2.8
Severity: normal | Keywords: has-patch needs-testing
----------------------------+-----------------------------------------------
Comment(by nacin):
I'm checking in a small part of this patch, an enhancement for the authors
drop-down.
Currently, it loops through a distinct array of post author ids, calling
get_userdata on each one (thus a new query for each if the user isn't
cached), when all it needs is the user ID and the display name.
Commit changes it to a single query joining posts and users, which also
provides the added benefit of an alpha sort on the display name, versus an
order based on their first appearance in the posts table.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10317#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list