remove unused second param
This commit is contained in:
parent
f07869c7d1
commit
144356bf8a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class Mention {
|
|||
* @return string the final string
|
||||
*/
|
||||
public static function replace_with_links( $result ) {
|
||||
$metadata = get_remote_metadata_by_actor( $result[0], true );
|
||||
$metadata = get_remote_metadata_by_actor( $result[0] );
|
||||
if ( ! is_wp_error( $metadata ) && ! empty( $metadata['url'] ) ) {
|
||||
$username = ltrim( $result[0], '@' );
|
||||
if ( ! empty( $metadata['name'] ) ) {
|
||||
|
|
Loading…
Reference in a new issue