Install pages action should return array instead of string.
Fixes #13256.
This commit is contained in:
parent
376c069f47
commit
43a63985c6
|
@ -427,7 +427,7 @@ class WC_REST_System_Status_Tools_Controller extends WC_REST_Controller {
|
|||
break;
|
||||
case 'install_pages' :
|
||||
WC_Install::create_pages();
|
||||
return __( 'All missing WooCommerce pages was installed successfully.', 'woocommerce' );
|
||||
$message = __( 'All missing WooCommerce pages was installed successfully.', 'woocommerce' );
|
||||
break;
|
||||
case 'delete_taxes' :
|
||||
|
||||
|
|
Loading…
Reference in New Issue