LLMS_Update::__construct()
Constructor
Contents
Source Source
File: includes/abstracts/abstract.llms.update.php
public function __construct() { if ( ! defined( 'LLMS_BG_UPDATE_LOG' ) ) { define( 'LLMS_BG_UPDATE_LOG', true ); } $this->add_actions(); $progress = $this->get_progress(); switch ( $progress['status'] ) { // Start the update. case 'pending': $this->start(); break; case 'finished': break; // Check progress. case 'running': default: if ( is_admin() && ! defined( 'DOING_CRON' ) ) { $this->output_progress_notice( $progress ); } $this->check_progress( $progress ); break; } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |