From f8b93760df767038f528c52a31bd18e8470f7bde Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Thu, 25 May 2023 10:30:51 +0200 Subject: [PATCH] fix copy&paste issue thanks @mattwiebe --- includes/model/class-application-user.php | 2 +- includes/model/class-blog-user.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/model/class-application-user.php b/includes/model/class-application-user.php index b5623ed..77ba7fb 100644 --- a/includes/model/class-application-user.php +++ b/includes/model/class-application-user.php @@ -38,6 +38,6 @@ class Application_User extends Blog_User { } public function get_name() { - return \esc_html( \get_bloginfo( 'activitypub_application_identifier', 'application' ) ); + return \esc_html( \get_option( 'activitypub_application_identifier', 'application' ) ); } } diff --git a/includes/model/class-blog-user.php b/includes/model/class-blog-user.php index 435fde8..944fe6d 100644 --- a/includes/model/class-blog-user.php +++ b/includes/model/class-blog-user.php @@ -56,7 +56,7 @@ class Blog_User extends User { } public function get_username() { - return \esc_html( \get_bloginfo( 'activitypub_blog_identifier', 'feed' ) ); + return \esc_html( \get_option( 'activitypub_blog_identifier', 'feed' ) ); } public function get_avatar() {