WP_Recovery_Mode::__construct() WordPress Method
The WP_Recovery_Mode::__construct() method is used to initialize the recovery mode for a Wordpress site. This mode is used to allow administrators to recover their site from a variety of different situations, including accidental deletion of data, hacking, or server failure.
WP_Recovery_Mode::__construct() #
WP_Recovery_Mode constructor.
Source
File: wp-includes/class-wp-recovery-mode.php
public function __construct() {
$this->cookie_service = new WP_Recovery_Mode_Cookie_Service();
$this->key_service = new WP_Recovery_Mode_Key_Service();
$this->link_service = new WP_Recovery_Mode_Link_Service( $this->cookie_service, $this->key_service );
$this->email_service = new WP_Recovery_Mode_Email_Service( $this->link_service );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |