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:
Jeremy Herve 2023-05-05 09:35:21 +02:00
parent c7dc55047d
commit a914495215
No known key found for this signature in database
GPG key ID: EF65CC7D9AC11920

View file

@ -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',