naming improvements

This commit is contained in:
Matthias Pfefferle 2023-04-21 16:34:47 +02:00
parent 3c86e94d9a
commit ebc9b6ac8d

View file

@ -13,7 +13,7 @@ class Admin {
public static function init() {
\add_action( 'admin_menu', array( self::class, 'admin_menu' ) );
\add_action( 'admin_init', array( self::class, 'register_settings' ) );
\add_action( 'show_user_profile', array( self::class, 'add_fediverse_profile' ) );
\add_action( 'show_user_profile', array( self::class, 'add_profile' ) );
\add_action( 'admin_enqueue_scripts', array( self::class, 'enqueue_scripts' ) );
}
@ -152,7 +152,7 @@ class Admin {
// todo
}
public static function add_fediverse_profile( $user ) {
public static function add_profile( $user ) {
?>
<h2 id="activitypub"><?php \esc_html_e( 'ActivityPub', 'activitypub' ); ?></h2>
<?php