All in One SEO Pack - Version 2.3.11.3

Version Description

Download this release

Release Info

Developer hallsofmontezuma
Plugin Icon 128x128 All in One SEO Pack
Version 2.3.11.3
Comparing to
See all releases

Code changes from version 2.3.11.2 to 2.3.11.3

admin/aioseop_module_class.php CHANGED
@@ -1737,11 +1737,16 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Module' ) ) {
1737
  add_filter( 'aioseop_localize_script_data', array( $this, 'localize_script_data' ) );
1738
  add_action( 'admin_print_scripts', array( $this, 'enqueue_scripts' ), 20 );
1739
  add_action( 'admin_print_scripts', array( $this, 'enqueue_styles' ), 20 );
 
1740
  }
1741
  }
1742
  }
1743
  }
1744
 
 
 
 
 
1745
  /**
1746
  * Load styles for module.
1747
  */
@@ -1764,7 +1769,6 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Module' ) ) {
1764
  wp_enqueue_script( 'jquery' );
1765
  wp_enqueue_script( 'media-upload' );
1766
  wp_enqueue_script( 'thickbox' );
1767
- wp_enqueue_media(); // WP 3.5+ Media upload.
1768
  wp_enqueue_script( 'common' );
1769
  wp_enqueue_script( 'wp-lists' );
1770
  wp_enqueue_script( 'postbox' );
1737
  add_filter( 'aioseop_localize_script_data', array( $this, 'localize_script_data' ) );
1738
  add_action( 'admin_print_scripts', array( $this, 'enqueue_scripts' ), 20 );
1739
  add_action( 'admin_print_scripts', array( $this, 'enqueue_styles' ), 20 );
1740
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ), 20 );
1741
  }
1742
  }
1743
  }
1744
  }
1745
 
1746
+ function admin_enqueue_scripts(){
1747
+ wp_enqueue_media(); // WP 3.5+ Media upload.
1748
+ }
1749
+
1750
  /**
1751
  * Load styles for module.
1752
  */
1769
  wp_enqueue_script( 'jquery' );
1770
  wp_enqueue_script( 'media-upload' );
1771
  wp_enqueue_script( 'thickbox' );
 
1772
  wp_enqueue_script( 'common' );
1773
  wp_enqueue_script( 'wp-lists' );
1774
  wp_enqueue_script( 'postbox' );
all_in_one_seo_pack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: https://semperfiwebdesign.com
5
  Description: Out-of-the-box SEO for your WordPress blog. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. Almost 30 million downloads since 2007.
6
- Version: 2.3.11.2
7
  Author: Michael Torbert
8
  Author URI: https://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
@@ -31,14 +31,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
31
  * The original WordPress SEO plugin.
32
  *
33
  * @package All-in-One-SEO-Pack
34
- * @version 2.3.11.2
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
38
  define( 'AIOSEOPPRO', false );
39
  }
40
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
41
- define( 'AIOSEOP_VERSION', '2.3.11.2' );
42
  }
43
  global $aioseop_plugin_name;
44
  $aioseop_plugin_name = 'All in One SEO Pack';
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: https://semperfiwebdesign.com
5
  Description: Out-of-the-box SEO for your WordPress blog. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. Almost 30 million downloads since 2007.
6
+ Version: 2.3.11.3
7
  Author: Michael Torbert
8
  Author URI: https://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
31
  * The original WordPress SEO plugin.
32
  *
33
  * @package All-in-One-SEO-Pack
34
+ * @version 2.3.11.3
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
38
  define( 'AIOSEOPPRO', false );
39
  }
40
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
41
+ define( 'AIOSEOP_VERSION', '2.3.11.3' );
42
  }
43
  global $aioseop_plugin_name;
44
  $aioseop_plugin_name = 'All in One SEO Pack';
inc/compatability/compat-init.php CHANGED
@@ -43,14 +43,26 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Compatibility' ) ) {
43
  ), 10, 1 );
44
  }
45
 
46
-
47
  // Remove Twitter plugin's meta if our Social Module is on.
48
  global $aioseop_options;
49
  if ( isset( $aioseop_options['modules']['aiosp_feature_manager_options']['aiosp_feature_manager_enable_opengraph'] ) && $aioseop_options['modules']['aiosp_feature_manager_options']['aiosp_feature_manager_enable_opengraph'] === 'on' ) {
50
- add_filter('twitter_card','__return_false');
51
  }
52
  }
53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  /**
55
  * Filter Jetpack's site verification.
56
  *
43
  ), 10, 1 );
44
  }
45
 
 
46
  // Remove Twitter plugin's meta if our Social Module is on.
47
  global $aioseop_options;
48
  if ( isset( $aioseop_options['modules']['aiosp_feature_manager_options']['aiosp_feature_manager_enable_opengraph'] ) && $aioseop_options['modules']['aiosp_feature_manager_options']['aiosp_feature_manager_enable_opengraph'] === 'on' ) {
49
+ add_filter( 'twitter_card', array( $this, 'aioseop_disable_twitter' ) );
50
  }
51
  }
52
 
53
+ /**
54
+ *
55
+ * @return bool
56
+ */
57
+ function aioseop_disable_twitter( $card_properties ) {
58
+
59
+ if ( apply_filters( 'aioseop_disable_twitter_plugin_card', true ) ) {
60
+ return false;
61
+ }
62
+
63
+ return $card_properties;
64
+ }
65
+
66
  /**
67
  * Filter Jetpack's site verification.
68
  *
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtor
4
  Tags: seo, all in one seo, google, twitter, page, image seo, social, search engine optimization, sitemap, WordPress SEO, meta, meta description, xml sitemap, google sitemap, sitemaps, robots meta, yahoo, bing, news sitemaps, multisite, canonical, nofollow, noindex, keywords, description, webmaster tools, google webmaster tools, google analytics
5
  Requires at least: 4.0
6
  Tested up to: 4.7
7
- Stable tag: 2.3.11.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: seo, all in one seo, google, twitter, page, image seo, social, search engine optimization, sitemap, WordPress SEO, meta, meta description, xml sitemap, google sitemap, sitemaps, robots meta, yahoo, bing, news sitemaps, multisite, canonical, nofollow, noindex, keywords, description, webmaster tools, google webmaster tools, google analytics
5
  Requires at least: 4.0
6
  Tested up to: 4.7
7
+ Stable tag: 2.3.11.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10