[wp-hackers] get_userdata and _fill_user causing huge number of database queries
otto at ottodestruct.com
Wed Mar 3 23:02:01 UTC 2010
On Wed, Mar 3, 2010 at 3:42 PM, Dion Hulse (dd32) <wordpress at dd32.id.au> wrote:
> This question really needs some more information before anyone can really
> comment on that.
> The main question is WHY are the queries being made for the author details
> when viewing the singular page.
The $authordata global gets populated with the user information when a
post is displayed. However, it's only for the single user of that
The caching in trunk should reduce the number of queries to a minimum,
as both individual users and their metadata is cached.
More information about the wp-hackers