when does output of get_user_count turns into an array?
Via: http://lists.automattic.com/pipermail/wp-hackers/2012-June/043295.html http://wordpress.org/support/topic/illegal-string-offset-total_users?replies=14#post-2893756 https://core.trac.wordpress.org/ticket/20966 I find: Normally it would return an array from the cache Meaning the return value of get_user_count() is different than in the php doc above it But… if the cache does not contain it, it will return an integer leading (in my case) to an warning (requesting an array value from … Read more