Skip to content

Commit

Permalink
Replace get_class with __CLASS__ (#240)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonny Harris <[email protected]>
  • Loading branch information
spacedmonkey and jonnynews authored Jan 25, 2024
1 parent eb388a2 commit 307ec2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-rest-oauth1-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 307ec2a

Please sign in to comment.