Profile settings: use string instead of constant
Follow-up from #304 Since we do not use a constant anywhere else just yet, let's keep using a string in the settings page.
This commit is contained in:
parent
c7dc55047d
commit
a914495215
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