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.