This commit is contained in:
Javier Casares 2026-07-18 13:29:38 +00:00
commit 916d7845be
91 changed files with 6861 additions and 6907 deletions

View file

@ -81,6 +81,13 @@ class Plugin {
*/
private $url_rewriter;
/**
* Sub-size filter.
*
* @var Subsize_Filter
*/
private $subsize_filter;
/**
* Plugin file path.
*
@ -110,6 +117,7 @@ class Plugin {
$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 );
}
/**
@ -145,6 +153,7 @@ class Plugin {
$this->admin_page->register();
$this->media_uploader->register();
$this->url_rewriter->register();
$this->subsize_filter->register();
}
/**