From 721db0a3deba1f8b3a89e900db5339ca7772aa27 Mon Sep 17 00:00:00 2001 From: Jonny Harris Date: Tue, 23 Jan 2024 22:45:51 +0000 Subject: [PATCH] Replace get_class with __CLASS__ --- lib/class-wp-rest-oauth1-admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class-wp-rest-oauth1-admin.php b/lib/class-wp-rest-oauth1-admin.php index fcba04e..25df289 100644 --- a/lib/class-wp-rest-oauth1-admin.php +++ b/lib/class-wp-rest-oauth1-admin.php @@ -24,7 +24,7 @@ public static function register() { */ include_once __DIR__ . '/class-wp-rest-oauth1-listtable.php'; - $class = get_class(); + $class = __CLASS__; $hook = add_users_page( // Page title.