v1.4.2
This commit is contained in:
parent
6a8de6e2e2
commit
a80a4aa4f9
8168 changed files with 3186001 additions and 9155 deletions
|
|
@ -88,6 +88,13 @@ class Plugin {
|
|||
*/
|
||||
private $subsize_filter;
|
||||
|
||||
/**
|
||||
* ROBOTSTXT Manager dependency notices.
|
||||
*
|
||||
* @var Manager_Dependency
|
||||
*/
|
||||
private $manager_dependency;
|
||||
|
||||
/**
|
||||
* Plugin file path.
|
||||
*
|
||||
|
|
@ -114,10 +121,11 @@ class Plugin {
|
|||
$this->client_factory = new S3_Client_Factory( $this->config );
|
||||
|
||||
// Initialize components with dependency injection.
|
||||
$this->admin_page = new Admin_Page( $this->config, $this->client_factory, $this->logger, $this->rate_limiter, $plugin_file );
|
||||
$this->media_uploader = new Media_Uploader( $this->config, $this->client_factory, $this->logger );
|
||||
$this->url_rewriter = new URL_Rewriter( $this->config );
|
||||
$this->subsize_filter = new Subsize_Filter( $this->config );
|
||||
$this->admin_page = new Admin_Page( $this->config, $this->client_factory, $this->logger, $this->rate_limiter, $plugin_file );
|
||||
$this->media_uploader = new Media_Uploader( $this->config, $this->client_factory, $this->logger );
|
||||
$this->url_rewriter = new URL_Rewriter( $this->config );
|
||||
$this->subsize_filter = new Subsize_Filter( $this->config );
|
||||
$this->manager_dependency = new Manager_Dependency();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -154,6 +162,7 @@ class Plugin {
|
|||
$this->media_uploader->register();
|
||||
$this->url_rewriter->register();
|
||||
$this->subsize_filter->register();
|
||||
$this->manager_dependency->register();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue