Skip to content

Commit

Permalink
Instancier la classe image_sizes
Browse files Browse the repository at this point in the history
SI non instanciée, les images sizes ne sont pas crées dans WP avec add_image_size et donc non utilisables.
  • Loading branch information
Rahe authored Nov 7, 2019
1 parent a052272 commit 76825a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions advanced-responsive-images.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@ function init_advanced_responsive_images_plugin() {
require_once ARI_DIR . 'functions/utils.php';
// Client
\ARI\Main::get_instance();
\ARI\Image_Sizes::get_instance();
}

0 comments on commit 76825a2

Please sign in to comment.