PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/cli/class-self-destruct-command.php +2 -2 8.3.08.0.2 View file →
@@ -9,9 +9,9 @@
9 9
10 10 use Activitypub\Activity\Activity;
11 11 use Activitypub\Collection\Actors;
12 12 use Activitypub\Collection\Outbox;
13 -use Activitypub\Collection\Remote_Posts;
13 +use Activitypub\Collection\Posts;
14 14
15 15 use function Activitypub\add_to_outbox;
16 16
17 17 /**
@@ -106,9 +106,9 @@
106 106
107 107 $processed = $this->process_user_deletions( $user_ids );
108 108
109 109 // Delete all remote posts.
110 - $deleted_posts = Remote_Posts::delete_all();
110 + $deleted_posts = Posts::delete_all();
111 111 if ( $deleted_posts > 0 ) {
112 112 \WP_CLI::line( \WP_CLI::colorize( "%G✓%n Deleted {$deleted_posts} remote post(s)." ) );
113 113 }
114 114