be more descriptive

This commit is contained in:
Matthias Pfefferle 2022-11-15 20:50:56 +01:00
parent 2f8579cfe1
commit 30919b1f7b
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ class Webfinger {
*
* @return string The user-resource
*/
public static function get_resource( $user_id ) {
public static function get_user_resource( $user_id ) {
// use WebFinger plugin if installed
if ( \function_exists( '\get_webfinger_resource' ) ) {
return \get_webfinger_resource( $user_id, false );

View file

@ -95,7 +95,7 @@ function safe_remote_get( $url, $user_id ) {
* @return string The user-resource
*/
function get_webfinger_resource( $user_id ) {
return \Activitypub\Webfinger::get_resource( $user_id );
return \Activitypub\Webfinger::get_user_resource( $user_id );
}
/**