From 0525645f7cc8306a77041a08ab3382aac4699bc4 Mon Sep 17 00:00:00 2001 From: Django Doucet Date: Mon, 6 Feb 2023 22:00:20 -0700 Subject: [PATCH] remove version_check() --- includes/class-admin.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/class-admin.php b/includes/class-admin.php index 1efc6d2..ec36014 100644 --- a/includes/class-admin.php +++ b/includes/class-admin.php @@ -13,7 +13,6 @@ class Admin { public static function init() { \add_action( 'admin_menu', array( '\Activitypub\Admin', 'admin_menu' ) ); \add_action( 'admin_init', array( '\Activitypub\Admin', 'register_settings' ) ); - \add_action( 'admin_init', array( '\Activitypub\Admin', 'version_check' ), 1 ); \add_action( 'show_user_profile', array( '\Activitypub\Admin', 'add_fediverse_profile' ) ); \add_filter( 'comment_row_actions', array( '\Activitypub\Admin', 'reply_comments_actions' ), 10, 2 ); \add_action( 'admin_enqueue_scripts', array( '\Activitypub\Admin', 'enqueue_scripts' ) );