| @@ -9,9 +9,9 @@ | ||
| 9 | 9 | * @wordpress-plugin |
| 10 | 10 | * Plugin Name: Metricool - Social media and site statistics |
| 11 | 11 | * Plugin URI: https://metricool.com/ |
| 12 | 12 | * Description: Site metrics and social media analytics for Instagram, Facebook, YouTube, LinkedIn, X Twitter. The single best tool for Social Media Managers! |
| 13 | - * Version: 2.0.2 | |
| 13 | + * Version: 2.1.1 | |
| 14 | 14 | * Requires at least: 6.6 |
| 15 | 15 | * Requires PHP: 7.4 |
| 16 | 16 | * Author: Really Simple Plugins |
| 17 | 17 | * Author URI: https://really-simple-plugins.com |
| @@ -24,12 +24,18 @@ | ||
| 24 | 24 | exit; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * Load the Jetpack packages autoloader. | |
| 29 | - * @see https://packagist.org/packages/automattic/jetpack-autoloader | |
| 28 | + * Load the Composer autoloader for the plugin's own classes. | |
| 30 | 29 | */ |
| 31 | -require_once __DIR__ . '/vendor/autoload_packages.php'; | |
| 30 | +require_once __DIR__ . '/vendor/autoload.php'; | |
| 31 | + | |
| 32 | +/** | |
| 33 | + * Load the scoped (prefixed) dependencies to prevent conflicts | |
| 34 | + * with other plugins bundling the same packages. | |
| 35 | + * @see https://packagist.org/packages/wpify/scoper | |
| 36 | + */ | |
| 37 | +require_once __DIR__ . '/vendor/_scoped/scoper-autoload.php'; | |
| 32 | 38 | |
| 33 | 39 | // Boot the plugin. |
| 34 | 40 | $plugin = new Metricool\Bootstrap\Plugin(); |
| 35 | 41 | $plugin->boot(); |