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/class-activitypub.php +2 -28 8.3.08.0.2 View file →
@@ -8,10 +8,9 @@
8 8 namespace Activitypub;
9 9
10 10 use Activitypub\Collection\Followers;
11 11 use Activitypub\Collection\Following;
12 -use Activitypub\Collection\Remote_Posts;
13 -use Activitypub\OAuth\Client;
12 +use Activitypub\Collection\Posts;
14 13
15 14 /**
16 15 * ActivityPub Class.
17 16 *
@@ -86,11 +85,9 @@
86 85
87 86 \remove_filter( 'pre_wp_update_comment_count_now', array( Comment::class, 'pre_wp_update_comment_count_now' ), 5 );
88 87 Migration::update_comment_counts( 2000 );
89 88
90 - Remote_Posts::delete_all();
91 - Tombstone::delete_all();
92 - Client::delete_all();
89 + Posts::delete_all();
93 90
94 91 Options::delete();
95 92 }
96 93
@@ -293,31 +290,8 @@
293 290 'sanitize_callback' => 'absint',
294 291 )
295 292 );
296 293 \add_filter( 'get_user_option_activitypub_mailer_new_mention', array( self::class, 'user_options_default' ) );
297 -
298 - \register_meta(
299 - 'user',
300 - $blog_prefix . 'activitypub_mailer_annual_report',
301 - array(
302 - 'type' => 'integer',
303 - 'description' => 'Send the annual Fediverse Year in Review email.',
304 - 'single' => true,
305 - 'sanitize_callback' => 'absint',
306 - )
307 - );
308 - \add_filter( 'get_user_option_activitypub_mailer_annual_report', array( self::class, 'user_options_default' ) );
309 -
310 - \register_meta(
311 - 'user',
312 - $blog_prefix . 'activitypub_mailer_monthly_report',
313 - array(
314 - 'type' => 'integer',
315 - 'description' => 'Send a monthly Fediverse stats report email.',
316 - 'single' => true,
317 - 'sanitize_callback' => 'absint',
318 - )
319 - );
320 294
321 295 \register_meta(
322 296 'user',
323 297 'activitypub_show_welcome_tab',