[buddypress-trac] [BuddyPress Trac] #7661: Use WP functions to retrieve user name, display name, nicename, and email.
buddypress-trac
noreply at wordpress.org
Tue Jan 23 17:45:10 UTC 2018
#7661: Use WP functions to retrieve user name, display name, nicename, and email.
-------------------------+----------------------------------
Reporter: dcavins | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Under Consideration
Component: Members | Version: 2.9.2
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+----------------------------------
Comment (by dcavins):
Hi @DJPaul-
If you run the same function twice, you get the same number of queries (in
both cases). With the persistent cache, I get these numbers in both cases:
Fresh after cache flush 15Q
Second load 7Q
I would expect the WP users cache to be hit more often than the
`bp_user_fullname_{$id}` cache item in a persistent cache setup. :)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7661#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list