be more descriptive
This commit is contained in:
parent
2f8579cfe1
commit
30919b1f7b
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class Webfinger {
|
||||||
*
|
*
|
||||||
* @return string The user-resource
|
* @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
|
// use WebFinger plugin if installed
|
||||||
if ( \function_exists( '\get_webfinger_resource' ) ) {
|
if ( \function_exists( '\get_webfinger_resource' ) ) {
|
||||||
return \get_webfinger_resource( $user_id, false );
|
return \get_webfinger_resource( $user_id, false );
|
||||||
|
|
|
@ -95,7 +95,7 @@ function safe_remote_get( $url, $user_id ) {
|
||||||
* @return string The user-resource
|
* @return string The user-resource
|
||||||
*/
|
*/
|
||||||
function get_webfinger_resource( $user_id ) {
|
function get_webfinger_resource( $user_id ) {
|
||||||
return \Activitypub\Webfinger::get_resource( $user_id );
|
return \Activitypub\Webfinger::get_user_resource( $user_id );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue