All in One SEO Pack - Version 2.3.2.2

Version Description

Download this release

Release Info

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

Code changes from version 2.3.2 to 2.3.2.2

aioseop_class.php CHANGED
@@ -819,8 +819,10 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
819
  add_action( "aioseop_global_settings_footer", Array( $this, 'display_settings_footer' ) );
820
  add_action( "output_option", Array( $this, 'custom_output_option' ), 10, 2 );
821
  add_action('all_admin_notices', array( $this, 'visibility_warning'));
822
- add_action('all_admin_notices', array( $this, 'woo_upgrade_notice'));
823
 
 
 
 
824
  }
825
  if(AIOSEOPPRO){
826
  add_action( 'split_shared_term', Array( $this, 'split_shared_term' ), 10, 4 );
@@ -1891,7 +1893,7 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
1891
  if ( '0' == get_option('blog_public') && empty( $aioseop_visibility_notice_dismissed ) ) {
1892
 
1893
  printf( '
1894
- <div id="message" class="error notice is-dismissible aioseop-notice">
1895
  <p>
1896
  <strong>%1$s</strong>
1897
  %2$s
@@ -1910,20 +1912,20 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
1910
 
1911
  $aioseop_woo_upgrade_notice_dismissed = get_user_meta( get_current_user_id(), 'aioseop_woo_upgrade_notice_dismissed', true );
1912
 
1913
- if ( '0' == get_option('blog_public') && empty( $aioseop_woo_upgrade_notice_dismissed ) ) {
1914
 
1915
  printf( '
1916
- <div id="message" class="notice-info notice is-dismissible aioseop-notice">
1917
  <p>
1918
  <strong>%1$s</strong>
1919
  %2$s
1920
 
1921
  </p>
1922
  </div>',
1923
- __( 'Warning: We\'ve detected you\'re running WooCommerce.', 'all-in-one-seo-pack' ),
1924
- sprintf( __( '%s Upgrade%s to All in One SEO Pack Pro for increased SEO compatibility with your products.', 'all-in-one-seo-pack' ), sprintf( '<a target="_blank" href="%s">', esc_url( 'http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/' ) ), '</a>' ));
1925
 
1926
- }elseif( '1' == get_option('blog_public') && !empty( $aioseop_woo_upgrade_notice_dismissed ) ){
1927
  delete_user_meta( get_current_user_id(), 'aioseop_woo_upgrade_notice_dismissed' );
1928
  }
1929
  }
819
  add_action( "aioseop_global_settings_footer", Array( $this, 'display_settings_footer' ) );
820
  add_action( "output_option", Array( $this, 'custom_output_option' ), 10, 2 );
821
  add_action('all_admin_notices', array( $this, 'visibility_warning'));
 
822
 
823
+ if(!AIOSEOPPRO){
824
+ add_action('all_admin_notices', array( $this, 'woo_upgrade_notice'));
825
+ }
826
  }
827
  if(AIOSEOPPRO){
828
  add_action( 'split_shared_term', Array( $this, 'split_shared_term' ), 10, 4 );
1893
  if ( '0' == get_option('blog_public') && empty( $aioseop_visibility_notice_dismissed ) ) {
1894
 
1895
  printf( '
1896
+ <div id="message" class="error notice is-dismissible aioseop-notice visibility-notice">
1897
  <p>
1898
  <strong>%1$s</strong>
1899
  %2$s
1912
 
1913
  $aioseop_woo_upgrade_notice_dismissed = get_user_meta( get_current_user_id(), 'aioseop_woo_upgrade_notice_dismissed', true );
1914
 
1915
+ if ( class_exists( 'WooCommerce' ) && empty( $aioseop_woo_upgrade_notice_dismissed ) && current_user_can( 'manage_options' ) ) {
1916
 
1917
  printf( '
1918
+ <div id="message" class="notice-info notice is-dismissible aioseop-notice woo-upgrade-notice">
1919
  <p>
1920
  <strong>%1$s</strong>
1921
  %2$s
1922
 
1923
  </p>
1924
  </div>',
1925
+ __( 'We\'ve detected you\'re running WooCommerce.', 'all-in-one-seo-pack' ),
1926
+ sprintf( __( '%s Upgrade%s to All in One SEO Pack Pro for increased SEO compatibility for your products.', 'all-in-one-seo-pack' ), sprintf( '<a target="_blank" href="%s">', esc_url( 'http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/' ) ), '</a>' ));
1927
 
1928
+ }elseif( !class_exists( 'WooCommerce' ) && !empty( $aioseop_woo_upgrade_notice_dismissed ) ){
1929
  delete_user_meta( get_current_user_id(), 'aioseop_woo_upgrade_notice_dismissed' );
1930
  }
1931
  }
aioseop_init.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+
all_in_one_seo_pack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: http://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.2
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
@@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 
30
  /**
31
  * @package All-in-One-SEO-Pack
32
- * @version 2.3.1
33
  */
34
 
35
  if ( ! defined( 'ABSPATH' ) ) return;
@@ -39,7 +39,7 @@ define('AIOSEOPPRO', false);
39
  global $aioseop_plugin_name;
40
  $aioseop_plugin_name = 'All in One SEO Pack';
41
  if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) ) define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
42
- if ( ! defined( 'AIOSEOP_VERSION' ) ) define( 'AIOSEOP_VERSION', '2.3.1' );
43
 
44
  //register_activation_hook(__FILE__,'aioseop_activate_pl');
45
 
@@ -313,7 +313,8 @@ if ( is_admin() ) {
313
  }
314
  add_action( 'wp_ajax_aioseop_ajax_save_settings', 'aioseop_ajax_save_settings');
315
  add_action( 'wp_ajax_aioseop_ajax_get_menu_links', 'aioseop_ajax_get_menu_links');
316
- add_action( 'wp_ajax_aioseo_dismiss_visibility_notice' , 'aioseop_update_user_visibilitynotice') ;
 
317
  if(AIOSEOPPRO){
318
  add_action( 'wp_ajax_aioseop_ajax_update_oembed', 'aioseop_ajax_update_oembed' );
319
  }
@@ -329,7 +330,8 @@ if ( !function_exists( 'aioseop_scan_post_header' ) ) {
329
  }
330
  }
331
 
332
- require_once( 'init.php' );
 
333
 
334
  register_activation_hook( __FILE__, 'aiosp_install' );
335
 
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: http://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.2.2
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
29
 
30
  /**
31
  * @package All-in-One-SEO-Pack
32
+ * @version 2.3.2.2
33
  */
34
 
35
  if ( ! defined( 'ABSPATH' ) ) return;
39
  global $aioseop_plugin_name;
40
  $aioseop_plugin_name = 'All in One SEO Pack';
41
  if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) ) define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
42
+ if ( ! defined( 'AIOSEOP_VERSION' ) ) define( 'AIOSEOP_VERSION', '2.3.2.2' );
43
 
44
  //register_activation_hook(__FILE__,'aioseop_activate_pl');
45
 
313
  }
314
  add_action( 'wp_ajax_aioseop_ajax_save_settings', 'aioseop_ajax_save_settings');
315
  add_action( 'wp_ajax_aioseop_ajax_get_menu_links', 'aioseop_ajax_get_menu_links');
316
+ add_action( 'wp_ajax_aioseo_dismiss_visibility_notice' , 'aioseop_update_user_visibilitynotice');
317
+ add_action( 'wp_ajax_aioseo_dismiss_woo_upgrade_notice' , 'aioseop_woo_upgrade_notice_dismissed');
318
  if(AIOSEOPPRO){
319
  add_action( 'wp_ajax_aioseop_ajax_update_oembed', 'aioseop_ajax_update_oembed' );
320
  }
330
  }
331
  }
332
 
333
+ require_once( AIOSEOP_PLUGIN_DIR . 'aioseop_init.php' );
334
+
335
 
336
  register_activation_hook( __FILE__, 'aiosp_install' );
337
 
i18n/all-in-one-seo-pack-ar.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-az.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-de_DE.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-el.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-en_AU.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-en_CA.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-en_GB.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-es_ES.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-fr_FR.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-he_IL.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-hi_IN.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-hr.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-id_ID.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-ko_KR.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-nb_NO.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-nl_NL.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-nn_NO.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-pa_IN.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-pt_BR.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-ro_RO.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-ru_RU.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-sr_RS.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-tr_TR.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-vi.mo CHANGED
Binary file
i18n/all-in-one-seo-pack-zh_CN.mo CHANGED
Binary file
inc/aioseop_functions.php CHANGED
@@ -779,4 +779,10 @@ function aioseop_update_user_visibilitynotice(){
779
 
780
  update_user_meta( get_current_user_id(), 'aioseop_visibility_notice_dismissed', true );
781
 
 
 
 
 
 
 
782
  }
779
 
780
  update_user_meta( get_current_user_id(), 'aioseop_visibility_notice_dismissed', true );
781
 
782
+ }
783
+
784
+ function aioseop_woo_upgrade_notice_dismissed(){
785
+
786
+ update_user_meta( get_current_user_id(), 'aioseop_woo_upgrade_notice_dismissed', true );
787
+
788
  }
init.php CHANGED
@@ -1,2 +0,0 @@
1
- <?php
2
-
 
 
js/quickedit_functions.js CHANGED
@@ -1,4 +1,4 @@
1
- jQuery(document).on( 'click', '.aioseop-notice .notice-dismiss', function() {
2
 
3
  jQuery.ajax({
4
  url: ajaxurl,
@@ -9,6 +9,17 @@ jQuery(document).on( 'click', '.aioseop-notice .notice-dismiss', function() {
9
 
10
  })
11
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  function aioseop_ajax_edit_meta_form( post_id, meta, nonce ) {
14
  var uform = jQuery('#aioseop_'+meta+'_' + post_id);
1
+ jQuery(document).on( 'click', '.visibility-notice', function() {
2
 
3
  jQuery.ajax({
4
  url: ajaxurl,
9
 
10
  })
11
 
12
+ jQuery(document).on( 'click', '.woo-upgrade-notice', function() {
13
+
14
+ jQuery.ajax({
15
+ url: ajaxurl,
16
+ data: {
17
+ action: 'aioseo_dismiss_woo_upgrade_notice'
18
+ }
19
+ })
20
+
21
+ })
22
+
23
 
24
  function aioseop_ajax_edit_meta_form( post_id, meta, nonce ) {
25
  var uform = jQuery('#aioseop_'+meta+'_' + post_id);
modules/aioseop_feature_manager.php CHANGED
@@ -45,8 +45,8 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Feature_Manager' ) ) {
45
 
46
  }else{
47
 
48
- $this->module_info['coming_soon'] = Array( 'name' => __( 'Coming Soon...', 'all-in-one-seo-pack' ),
49
- 'description' => __( 'Video Sitemap', 'all-in-one-seo-pack' ),
50
  'save' => false ) ;
51
 
52
  }
45
 
46
  }else{
47
 
48
+ $this->module_info['coming_soon'] = Array( 'name' => __( 'Video Sitemap', 'all-in-one-seo-pack' ),
49
+ 'description' => __( 'Pro Version Only', 'all-in-one-seo-pack' ),
50
  'save' => false ) ;
51
 
52
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtor
4
  Tags: seo, SEO, all in one seo, widget, Post, plugin, admin, posts, shortcode, sidebar, google, twitter, page, images, comments, image, social, search engine optimization, sitemap, WordPress SEO, meta, meta description, xml sitemap, xml sitemaps, google sitemap, sitemaps, robots meta, rss, rss footer, yahoo, bing, news sitemaps, XML News Sitemaps, multisite, canonical, nofollow, noindex, keywords, meta keywords, description, webmaster tools, google webmaster tools, google analytics, seo pack
5
  Requires at least: 3.3
6
  Tested up to: 4.4
7
- Stable tag: 2.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: seo, SEO, all in one seo, widget, Post, plugin, admin, posts, shortcode, sidebar, google, twitter, page, images, comments, image, social, search engine optimization, sitemap, WordPress SEO, meta, meta description, xml sitemap, xml sitemaps, google sitemap, sitemaps, robots meta, rss, rss footer, yahoo, bing, news sitemaps, XML News Sitemaps, multisite, canonical, nofollow, noindex, keywords, meta keywords, description, webmaster tools, google webmaster tools, google analytics, seo pack
5
  Requires at least: 3.3
6
  Tested up to: 4.4
7
+ Stable tag: 2.3.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10