| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 2 | 3 | /** |
| 3 | 4 | * The Conflicting Plugins class, documents and displays dashboard notice for conflicting plugins. |
| 4 | 5 | * |
| 5 | 6 | * @package \Optimole\Inc\Conflicts |
| @@ -53,9 +54,8 @@ | ||
| 53 | 54 | 'imagify' => 'imagify/imagify.php', |
| 54 | 55 | 'litespeed' => 'litespeed-cache/litespeed-cache.php', |
| 55 | 56 | 'autoptimize' => 'autoptimize/autoptimize.php', |
| 56 | 57 | 'perfmatters' => 'perfmatters/perfmatters.php', |
| 57 | - 'jetpack_Photon' => 'jetpack/jetpack.php', | |
| 58 | 58 | // 'plugin-slug' => 'plugin-folder/plugin-file.php' |
| 59 | 59 | ]; |
| 60 | 60 | |
| 61 | 61 | return apply_filters( 'optml_conflicting_defined_plugins', $plugins ); |
| @@ -72,8 +72,9 @@ | ||
| 72 | 72 | require_once ABSPATH . 'wp-admin/includes/plugin.php'; |
| 73 | 73 | |
| 74 | 74 | $conflicting_plugins = $this->defined_plugins(); |
| 75 | 75 | $conflicting_plugins = array_filter( $conflicting_plugins, 'is_plugin_active' ); |
| 76 | + | |
| 76 | 77 | return apply_filters( 'optml_conflicting_active_plugins', $conflicting_plugins ); |
| 77 | 78 | } |
| 78 | 79 | |
| 79 | 80 | /** |