From 307ec2ae007d513eee70b17f9b662f885f610131 Mon Sep 17 00:00:00 2001 From: Jonny Harris Date: Thu, 25 Jan 2024 21:16:21 +0000 Subject: [PATCH] Replace get_class with __CLASS__ (#240) Co-authored-by: Jonny Harris --- 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.