use correct blog-user-id
This commit is contained in:
parent
0f72f94406
commit
e2ad08b61b
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
namespace Activitypub\Table;
|
||||
|
||||
use WP_List_Table;
|
||||
use Activitypub\User_Factory;
|
||||
use Activitypub\Collection\Followers as FollowerCollection;
|
||||
|
||||
if ( ! \class_exists( '\WP_List_Table' ) ) {
|
||||
|
@ -13,7 +14,7 @@ class Followers extends WP_List_Table {
|
|||
|
||||
public function __construct() {
|
||||
if ( get_current_screen()->id === 'settings_page_activitypub' ) {
|
||||
$this->user_id = -1;
|
||||
$this->user_id = User_Factory::BLOG_USER_ID;
|
||||
} else {
|
||||
$this->user_id = \get_current_user_id();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue