From d53eb2af9d445577f201cbaa291158260ee5f2da Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 1 Nov 2018 08:12:09 -0400 Subject: [PATCH] Fix icon array function --- includes/server/actors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/server/actors.php b/includes/server/actors.php index 82a1123..f4e5ebc 100644 --- a/includes/server/actors.php +++ b/includes/server/actors.php @@ -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',