Update marketing hub recommended plugins API url. (https://github.com/woocommerce/woocommerce-admin/pull/4036)

* Update recommended plugins WCCOM url

* Remove todo.

Co-authored-by: Timmy Crawford <timmydcrawford@gmail.com>
This commit is contained in:
Jason Conroy 2020-04-02 02:07:01 +10:30 committed by GitHub
parent 7cf441038f
commit e78a4bc2db
1 changed files with 1 additions and 2 deletions

View File

@ -122,8 +122,7 @@ class Marketing {
$plugins = get_transient( self::RECOMMENDED_PLUGINS_TRANSIENT );
if ( false === $plugins ) {
// TODO update placeholder URL.
$request = wp_remote_get( 'https://ephemeral-findingsimple-20200320.atomicsites.blog/wp-json/wccom/marketing-tab/1.0/recommendations.json' );
$request = wp_remote_get( 'https://woocommerce.com/wp-json/wccom/marketing-tab/1.0/recommendations.json' );
$plugins = [];
if ( ! is_wp_error( $request ) && 200 === $request['response']['code'] ) {