Fixing a PHP illegal string offset warning with the default_{$meta_type}_metadata filter
A while back I noticed some warnings appearing on my development site for my Bulk Attachment Download plugin, specifically the Illegal string offset PHP warning, and it seemed to be linked to the retrieval of user meta using get_user_meta()
.