[buddypress-trac] [BuddyPress Trac] #7661: Use WP functions to retrieve user name, display name, nicename, and email.

buddypress-trac noreply at wordpress.org
Thu Jan 25 19:44:54 UTC 2018


#7661: Use WP functions to retrieve user name, display name, nicename, and email.
-------------------------+----------------------
 Reporter:  dcavins      |       Owner:  dcavins
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.0
Component:  Members      |     Version:  2.9.2
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by dcavins):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11818"]:
 {{{
 #!CommitTicketReference repository="" revision="11818"
 Use WP functions to retrieve user data.

 Use WP functions to retrieve user name, display name, nicename, and email.

 Switch functions like `bp_core_get_username()` to use native WordPress
 functions. This also removes the need for maintaining redundant cached
 items, like caching individual usernames, and instead relies upon WP's
 userdata cache.

 Props dcavins, djpaul.

 Fixes #7661.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7661#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list