From e3a78fbadc170d32b38aa1d35b2b024754a4d28e Mon Sep 17 00:00:00 2001 From: Matt Wiebe Date: Tue, 31 Oct 2023 17:35:08 -0500 Subject: [PATCH] use static --- includes/class-scheduler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-scheduler.php b/includes/class-scheduler.php index dfeff21..7cf62eb 100644 --- a/includes/class-scheduler.php +++ b/includes/class-scheduler.php @@ -224,7 +224,7 @@ class Scheduler { * Send a profile update to all followers. Gets hooked into all relevant options/meta etc. * @param int $user_id The user ID to update (Could be 0 for Blog-User). */ - public function schedule_profile_update( $user_id ) { + public static function schedule_profile_update( $user_id ) { \wp_schedule_single_event( \time(), 'activitypub_send_update_profile_activity',