Fix Analytics error message extraction function to also work for WP_Error error responses.
Fix Analytics error message extraction function to also work for WP_Error error responses.

google/site-kit-wp,google/site-kit-wp,google/site-kit-wp,google/site-kit-wp