better mastodon compatibility
This commit is contained in:
parent
86ab132362
commit
ebc6433213
2 changed files with 5 additions and 1 deletions
|
@ -204,7 +204,7 @@ class Blog_User extends User {
|
|||
}
|
||||
|
||||
public function get_attachment() {
|
||||
return null;
|
||||
return array();
|
||||
}
|
||||
|
||||
public function get_canonical_url() {
|
||||
|
|
|
@ -304,6 +304,10 @@ class User extends Actor {
|
|||
return null;
|
||||
}
|
||||
|
||||
public function get_tag() {
|
||||
return array();
|
||||
}
|
||||
|
||||
public function get_indexable() {
|
||||
if ( \get_option( 'blog_public', 1 ) ) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue