Fix icon array function

This commit is contained in:
Jeremy Dormitzer 2018-11-01 08:12:09 -04:00
parent e791f241f5
commit d53eb2af9d

View File

@ -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',