Merge pull request #319 from Automattic/fix/description-key
Profile settings: use string to fetch user description instead of constant
This commit is contained in:
commit
0deb1304bc
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class Admin {
|
|||
}
|
||||
|
||||
public static function add_profile( $user ) {
|
||||
$description = get_user_meta( $user->ID, ACTIVITYPUB_USER_DESCRIPTION_KEY, true );
|
||||
$description = get_user_meta( $user->ID, 'activitypub_user_description', true );
|
||||
|
||||
\load_template(
|
||||
ACTIVITYPUB_PLUGIN_DIR . 'templates/user-settings.php',
|
||||
|
|
Loading…
Reference in a new issue