[buddypress-trac] [BuddyPress Trac] #7595: Use WP_User::get_data_by in BP_Core_User::get_core_userdata (remove custom user object cache)

buddypress-trac noreply at wordpress.org
Wed Sep 13 19:47:55 UTC 2017


#7595: Use WP_User::get_data_by in BP_Core_User::get_core_userdata (remove custom
user object cache)
-----------------------------------+------------------------------
 Reporter:  johnjamesjacoby        |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Members                |     Version:  1.2
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------

Comment (by johnjamesjacoby):

 > we should probably recommend a patch upstream to WordPress core to
 handle this more elegantly for all missing objects

 It's worth noting that the Options API does this with a `notoptions`
 cache. It's weird and unique, but it solves this exact problem in a way
 that probably shouldn't be as unique as it is.

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


More information about the buddypress-trac mailing list