Fix icon array function
This commit is contained in:
parent
e791f241f5
commit
d53eb2af9d
@ -193,7 +193,7 @@ function get_user_actor( $user ) {
|
||||
}
|
||||
|
||||
function make_icon_array( $icon_url ) {
|
||||
$mime_type = wp_check_filetype( $icon_url );
|
||||
$mime_type = wp_check_filetype( $icon_url )['type'];
|
||||
return array(
|
||||
'url' => $icon_url,
|
||||
'type' => 'Image',
|
||||
|
Loading…
Reference in New Issue
Block a user