WP_User->to_array() doesn't exist in WP 3.4