woocommerce / woocommerce-rest-api

This is the WooCommerce core REST API Package. It runs standalone as a feature plugin too.
70 stars 46 forks source link

Adds Database Name parameter to WC Rest API - System Status Report response #221

Closed achyuthajoy closed 4 years ago

achyuthajoy commented 4 years ago

Changes

Added the parameter database_name to System Status Report API response (v2, v4). The changes are related to the fix for https://github.com/woocommerce/woocommerce/issues/26995

Also, added Unit Tests for checking the same against the constant DB_NAME (v2, v3, v4)

achyuthajoy commented 4 years ago

The failing unit tests are not related to this PR, but I'll take a quick look :)

claudiosanches commented 4 years ago

@achyuthajoy thank you very much for your help, but I'm going to close this PR, since this information can by found in the WordPress Site Health feature.

achyuthajoy commented 4 years ago

Thanks for pointing out the existing info @claudiosanches.