Changeset 11818 for trunk/src/bp-core/classes/class-bp-core-user.php
- Timestamp:
- 01/25/2018 07:44:54 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/classes/class-bp-core-user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-core-user.php
r11705 r11818 166 166 $this->email = esc_attr( bp_core_get_user_email( $this->id ) ); 167 167 } 168 169 // Cache a few things that are fetched often.170 wp_cache_set( 'bp_user_fullname_' . $this->id, $this->fullname, 'bp' );171 wp_cache_set( 'bp_user_email_' . $this->id, $this->email, 'bp' );172 wp_cache_set( 'bp_user_url_' . $this->id, $this->user_url, 'bp' );173 168 174 169 $this->avatar = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'full', 'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), $this->fullname ) ) );
Note: See TracChangeset
for help on using the changeset viewer.