PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/controller/class-strong-password.php +5 -1 6.1.0 → 6.3.0 View file →
@@ -84,9 +84,13 @@
84 84 add_action( 'wp_authenticate_user', array( $this->service, 'during_core_authentication' ), 100, 2 );
85 85 add_filter( 'random_password', array( $this->service, 'generate_password' ), 10, 2 );
86 86
87 87 // WooCommerce-specific hooks — each gated on its own form setting.
88 - if ( $this->woo->is_activated() && ! empty( $this->model->plugins['woocommerce'] ) ) {
88 + if (
89 + $this->woo->is_activated() &&
90 + isset( $this->model->plugins['woocommerce'] ) &&
91 + $this->model->plugins['woocommerce']
92 + ) {
89 93 $woo_forms = $this->model->forms['woocommerce'] ?? array();
90 94
91 95 if ( array() !== $woo_forms ) {
92 96 add_action( 'wp_enqueue_scripts', array( $this->service, 'scripts' ) );