[wp-trac] [WordPress Trac] #21120: Optimize get_user_by()
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 6 18:13:30 UTC 2012
#21120: Optimize get_user_by()
------------------------------------+------------------------------
Reporter: kurtpayne | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------------------
Comment (by kurtpayne):
The 'all posts' page uses a list table which routes the requests through
`wp_edit_posts_query()` which sends the query through `wp()`. There was
no direct call to `WP_Query` as with the example for
'update_post_term_cache'
Here's the best workaround I could come up with. Please let me know what
you think.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21120#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list