mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-06 09:20:28 +08:00
[CodeFactor] Apply fixes
This commit is contained in:
parent
055f7232cd
commit
44cdebaf44
28 changed files with 891 additions and 829 deletions
|
@ -34,7 +34,7 @@ class MainWP_Child_WooCommerce_Status {
|
|||
|
||||
public function action() {
|
||||
$information = array();
|
||||
if ( ! class_exists( 'WooCommerce' ) || !defined('WC_VERSION')) {
|
||||
if ( ! class_exists( 'WooCommerce' ) || ! defined('WC_VERSION')) {
|
||||
$information['error'] = 'NO_WOOCOMMERCE';
|
||||
MainWP_Helper::write( $information );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue