es-wp-query
es-wp-query copied to clipboard
Allow `ES_WP_Query::query_es()` to return a WP_Error
If ES_WP_Query::query_es()
(in an adapter) encounters an error, it should be able to communicate that to the wrapper. As of now, doing so wouldn't cause any issues due to proper return value validation, but it would be good to explicitly catch errors in the wrapper.