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-password-reset.php +0 -14 5.9.0 → 6.3.0 View file →
@@ -51,9 +51,8 @@
51 51 $this->model = $this->get_model();
52 52 $this->service = wd_di()->get( \WP_Defender\Component\Password_Protection::class );
53 53 $default_values = $this->model->get_default_values();
54 54 $this->default_msg = $default_values['message'];
55 - add_filter( 'wp_defender_advanced_tools_data', array( $this, 'script_data' ) );
56 55 $this->register_routes();
57 56 if ( $this->model->is_active() ) {
58 57 // Update site url on sub-site when MaskLogin is disabled.
59 58 if (
@@ -197,21 +196,8 @@
197 196 return;
198 197 }
199 198
200 199 $this->service->handle_password_updated( $user );
201 - }
202 -
203 - /**
204 - * Provide data to the frontend via localized script.
205 - *
206 - * @param array $data Data collection is ready to passed.
207 - *
208 - * @return array Modified data array with added this controller data.
209 - */
210 - public function script_data( array $data ): array {
211 - $data['password_reset'] = $this->data_frontend();
212 -
213 - return $data;
214 200 }
215 201
216 202 /**
217 203 * Save settings.