try new id urls
This commit is contained in:
parent
03f2c24892
commit
a1791b963c
2 changed files with 6 additions and 2 deletions
|
@ -36,4 +36,8 @@ class Application_User extends Blog_User {
|
||||||
public function get_url() {
|
public function get_url() {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function get_name() {
|
||||||
|
return \esc_html( \get_bloginfo( 'activitypub_application_identifier', 'application' ) );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,11 +52,11 @@ class Blog_User extends User {
|
||||||
* @return string The User-Url.
|
* @return string The User-Url.
|
||||||
*/
|
*/
|
||||||
public function get_url() {
|
public function get_url() {
|
||||||
return '';
|
return \esc_url( \trailingslashit( get_home_url() ) . '@' . $this->get_username() );
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_username() {
|
public function get_username() {
|
||||||
return '';
|
return \esc_html( \get_bloginfo( 'activitypub_blog_identifier', 'feed' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_avatar() {
|
public function get_avatar() {
|
||||||
|
|
Loading…
Reference in a new issue