- fixed displaying cover image for 3rd party integration;

This commit is contained in:
nikitasinelnikov
2019-05-15 12:30:14 +03:00
parent e36aead008
commit 881b131060
3 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -836,11 +836,11 @@ if ( ! class_exists( 'um\core\User' ) ) {
}
// add user meta
foreach( $this->usermeta as $k=>$v ) {
foreach ( $this->usermeta as $k => $v ) {
if ( $k == 'display_name') {
continue;
}
$this->profile[$k] = $v[0];
$this->profile[ $k ] = $v[0];
}
// add permissions