diff options
Diffstat (limited to 'plugins/jetpack/modules/seo-tools.php')
-rw-r--r-- | plugins/jetpack/modules/seo-tools.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/plugins/jetpack/modules/seo-tools.php b/plugins/jetpack/modules/seo-tools.php deleted file mode 100644 index f926c5c4..00000000 --- a/plugins/jetpack/modules/seo-tools.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php -/** - * Module Name: SEO Tools - * Module Description: Better results on search engines and social media. - * Sort Order: 35 - * Recommendation Order: 15 - * First Introduced: 4.4 - * Requires Connection: Yes - * Auto Activate: No - * Module Tags: Social, Appearance - * Feature: Traffic - * Additional Search Queries: search engine optimization, social preview, meta description, custom title format - * Plans: business, premium - */ - -include dirname( __FILE__ ) . '/seo-tools/jetpack-seo.php'; -include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); - -// Suppress SEO Tools output if any of the following plugins is active. -$jetpack_seo_conflicting_plugins = array( - 'wordpress-seo/wp-seo.php', - 'wordpress-seo-premium/wp-seo-premium.php', - 'all-in-one-seo-pack/all_in_one_seo_pack.php', - 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php', - 'autodescription/autodescription.php', -); - -foreach( $jetpack_seo_conflicting_plugins as $seo_plugin ) { - if ( Jetpack::is_plugin_active( $seo_plugin ) ) { - // Disable all custom meta tags that SEO tools manages. - add_filter( 'jetpack_disable_seo_tools', '__return_true' ); - - // Also disable default meta tags. - add_filter( 'jetpack_seo_meta_tags_enabled', '__return_false' ); - break; - } -} - -new Jetpack_SEO; |