All in One SEO Pack - Version 2.2.7.6.2

Version Description

-Additional WooCommerce support

Download this release

Release Info

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

Code changes from version 2.2.7.6.1 to 2.2.7.6.2

Files changed (3) hide show
  1. aioseop_class.php +29 -3
  2. all_in_one_seo_pack.php +6 -3
  3. readme.txt +76 -18
aioseop_class.php CHANGED
@@ -1705,6 +1705,10 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
1705
  return $robots_meta;
1706
  }
1707
 
 
 
 
 
1708
  function get_main_description( $post = null ) {
1709
  global $aioseop_options;
1710
  $opts = $this->meta_opts;
@@ -1712,8 +1716,22 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
1712
  if ( is_author() && $this->show_page_description() ) {
1713
  $description = $this->internationalize( get_the_author_meta( 'description' ) );
1714
  } else if ( function_exists( 'woocommerce_get_page_id' ) && is_post_type_archive( 'product' ) && ( $post_id = woocommerce_get_page_id( 'shop' ) ) && ( $post = get_post( $post_id ) ) ) {
1715
- $description = $this->get_post_description( $post );
1716
- $description = $this->apply_cf_fields( $description );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1717
  } else if ( is_front_page() ) {
1718
  $description = $this->get_aioseop_description( $post );
1719
  } else if ( is_single() || is_page() || is_attachment() || is_home() || $this->is_static_posts_page() ) {
@@ -2853,9 +2871,17 @@ EOF;
2853
  $post_id = $post->ID;
2854
  if ( is_post_type_archive() && is_post_type_archive( 'product' ) && $post_id = woocommerce_get_page_id( 'shop' ) && $post = get_post( $post_id ) ){
2855
  $frontpage_id = get_option('page_on_front');
2856
- $title = $this->internationalize( get_post_meta( $frontpage_id, "_aioseop_title", true ) );
 
 
 
 
 
2857
  if ( !$title ) $title = $this->internationalize( $post->post_title );
2858
  if ( !$title ) $title = $this->internationalize( $this->get_original_title( '', false ) );
 
 
 
2859
  $title = $this->apply_page_title_format( $title, $post );
2860
  $title = $this->paged_title( $title );
2861
  $title = apply_filters( 'aioseop_title_page', $title );
1705
  return $robots_meta;
1706
  }
1707
 
1708
+
1709
+
1710
+
1711
+
1712
  function get_main_description( $post = null ) {
1713
  global $aioseop_options;
1714
  $opts = $this->meta_opts;
1716
  if ( is_author() && $this->show_page_description() ) {
1717
  $description = $this->internationalize( get_the_author_meta( 'description' ) );
1718
  } else if ( function_exists( 'woocommerce_get_page_id' ) && is_post_type_archive( 'product' ) && ( $post_id = woocommerce_get_page_id( 'shop' ) ) && ( $post = get_post( $post_id ) ) ) {
1719
+
1720
+
1721
+ //$description = $this->get_post_description( $post );
1722
+ //$description = $this->apply_cf_fields( $description );
1723
+ if ( !(woocommerce_get_page_id( 'shop' ) == get_option( 'page_on_front' ) ) ){
1724
+ $description = trim( stripslashes( $this->internationalize( get_post_meta( $post->ID, "_aioseop_description", true ) ) ) );
1725
+ }
1726
+ else if ( woocommerce_get_page_id( 'shop' ) == get_option( 'page_on_front' ) && !empty( $aioseop_options['aiosp_use_static_home_info'] ) ){
1727
+
1728
+ //$description = $this->get_aioseop_description( $post );
1729
+ $description = trim( stripslashes( $this->internationalize( get_post_meta( $post->ID, "_aioseop_description", true ) ) ) );
1730
+ }else if ( woocommerce_get_page_id( 'shop' ) == get_option( 'page_on_front' ) && empty( $aioseop_options['aiosp_use_static_home_info'] ) ){
1731
+ $description = $this->get_aioseop_description( $post );
1732
+ }
1733
+
1734
+
1735
  } else if ( is_front_page() ) {
1736
  $description = $this->get_aioseop_description( $post );
1737
  } else if ( is_single() || is_page() || is_attachment() || is_home() || $this->is_static_posts_page() ) {
2871
  $post_id = $post->ID;
2872
  if ( is_post_type_archive() && is_post_type_archive( 'product' ) && $post_id = woocommerce_get_page_id( 'shop' ) && $post = get_post( $post_id ) ){
2873
  $frontpage_id = get_option('page_on_front');
2874
+
2875
+ if ( woocommerce_get_page_id( 'shop' ) == get_option( 'page_on_front' ) && !empty( $aioseop_options['aiosp_use_static_home_info'] ) ){
2876
+ $title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) );
2877
+ }
2878
+ //$title = $this->internationalize( $aioseop_options['aiosp_home_title'] );
2879
+ if ( !$title ) $title = $this->internationalize( get_post_meta( $frontpage_id, "_aioseop_title", true ) ); //this is/was causing the first product to come through
2880
  if ( !$title ) $title = $this->internationalize( $post->post_title );
2881
  if ( !$title ) $title = $this->internationalize( $this->get_original_title( '', false ) );
2882
+
2883
+
2884
+
2885
  $title = $this->apply_page_title_format( $title, $post );
2886
  $title = $this->paged_title( $title );
2887
  $title = apply_filters( 'aioseop_title_page', $title );
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. <a href="admin.php?page=all-in-one-seo-pack/aioseop_class.php">SEO Settings</a> | <a href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/?loc=plugins" target="_blank">Upgrade to Pro Version</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperplugins.com/support/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
6
- Version: 2.2.7.6.1
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
32
  /**
33
  * @package All-in-One-SEO-Pack
34
- * @version 2.2.7.6.1
35
  */
36
 
37
  if ( ! defined( 'ABSPATH' ) ) return;
@@ -42,7 +42,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) )
42
  define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
43
 
44
  if ( ! defined( 'AIOSEOP_VERSION' ) )
45
- define( 'AIOSEOP_VERSION', '2.2.7.6.1' );
46
 
47
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
48
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
@@ -161,6 +161,9 @@ if ( !function_exists( 'aioseop_init_class' ) ) {
161
  if ( aioseop_option_isset( 'aiosp_unprotect_meta' ) )
162
  add_filter( 'is_protected_meta', 'aioseop_unprotect_meta', 10, 3 );
163
 
 
 
 
164
  add_action( 'init', array( $aiosp, 'add_hooks' ) );
165
 
166
  if ( defined( 'DOING_AJAX' ) && !empty( $_POST ) && !empty( $_POST['action'] ) && ( $_POST['action'] === 'aioseop_ajax_scan_header' ) ) {
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. <a href="admin.php?page=all-in-one-seo-pack/aioseop_class.php">SEO Settings</a> | <a href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/?loc=plugins" target="_blank">Upgrade to Pro Version</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperplugins.com/support/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
6
+ Version: 2.2.7.6.2
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
31
 
32
  /**
33
  * @package All-in-One-SEO-Pack
34
+ * @version 2.2.7.6.2
35
  */
36
 
37
  if ( ! defined( 'ABSPATH' ) ) return;
42
  define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
43
 
44
  if ( ! defined( 'AIOSEOP_VERSION' ) )
45
+ define( 'AIOSEOP_VERSION', '2.2.7.6.2' );
46
 
47
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
48
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
161
  if ( aioseop_option_isset( 'aiosp_unprotect_meta' ) )
162
  add_filter( 'is_protected_meta', 'aioseop_unprotect_meta', 10, 3 );
163
 
164
+ load_plugin_textdomain( 'all-in-one-seo-pack', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
165
+
166
+
167
  add_action( 'init', array( $aiosp, 'add_hooks' ) );
168
 
169
  if ( defined( 'DOING_AJAX' ) && !empty( $_POST ) && !empty( $_POST['action'] ) && ( $_POST['action'] === 'aioseop_ajax_scan_header' ) ) {
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === All in One SEO Pack ===
2
  Contributors: hallsofmontezuma, wpsmort
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
- Tags: seo, all in one seo, search engine optimization, google, sitemap
5
  Requires at least: 3.3
6
  Tested up to: 4.4
7
- Stable tag: 2.2.7.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ All in One SEO Pack is a WordPress SEO plugin to automatically optimize your Wor
12
 
13
  == Description ==
14
 
15
- All in One SEO Pack **Optimizes** your WordPress blog for SEO (**Search Engine Optimization**).
16
 
17
  **[Upgrade to Pro Version](http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/)**
18
 
@@ -38,23 +38,50 @@ First created in 2007, see why AIOSEO is the most downloaded plugin for WordPres
38
  * Compatibility with many other plugins
39
  * Translated into 57 languages
40
 
41
-
42
  Follow me on Twitter to keep up with the latest updates [Michael
43
  Torbert](http://twitter.com/michaeltorbert/)
44
 
 
 
 
 
 
45
  == Installation ==
46
 
47
  You can use the built in installer and upgrader, or you can install the plugin
48
  manually.
49
 
50
- 1. You can either use the automatic plugin installer or your FTP program to upload it to your wp-content/plugins directory
51
- the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
52
- 1. Activate the plugin through the 'Plugins' menu in WordPress
 
 
 
 
 
 
 
 
 
 
 
53
  1. Visit your SEO options (*All in One SEO - General Settings*)
54
- 1. Configure any options as desired, and then enable the plugin
55
- 1. That's it!
56
- fc
57
- If you have to upgrade manually simply repeat the installation steps and re-enable the plugin.
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
 
60
  == Changelog ==
@@ -63,22 +90,53 @@ All in One SEO Pack [Changelog](http://semperfiwebdesign.com/documentation/all-i
63
 
64
  == Frequently Asked Questions ==
65
 
66
- Please read these **[FAQs](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-faq/)** before requesting support for SEO from the
67
  **[All in One SEO Pack Support Forum](http://semperplugins.com/support/)**
68
 
69
  [Translations](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/translations-for-all-in-one-seo-pack/)
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  == Upgrade Notice ==
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  = 2.2.7.5 =
74
- fixes:
75
- category capitalization fixes
76
 
77
  enhancements:
78
- futureproofing the performance function for PHP7,8
79
- futureproofing the open graph and social meta function for PHP7,8
80
- futureproofing the file editor function for PHP7,8
81
- futureproofing the import-export function for PHP7,8
82
 
83
  = 2.2.7.4 =
84
 
1
  === All in One SEO Pack ===
2
  Contributors: hallsofmontezuma, wpsmort
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
+ Tags: seo, SEO, all in one seo, social, search engine optimization, google, 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.2.7.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ **All in One SEO Pack** Optimizes your WordPress blog for SEO (**Search Engine Optimization**).
16
 
17
  **[Upgrade to Pro Version](http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/)**
18
 
38
  * Compatibility with many other plugins
39
  * Translated into 57 languages
40
 
 
41
  Follow me on Twitter to keep up with the latest updates [Michael
42
  Torbert](http://twitter.com/michaeltorbert/)
43
 
44
+ https://www.youtube.com/watch?v=46MR4FboMaA
45
+
46
+ = Tags =
47
+ seo, SEO, All in One, google, meta, meta description, search engine optimization, xml sitemap, xml sitemaps, google sitemap, sitemap, sitemaps, robots meta, rss, rss footer, yahoo, bing, news sitemaps, XML News Sitemaps, WordPress SEO, multisite, canonical, nofollow, noindex, keywords, meta keywords, description, webmaster tools, google webmaster tools, seo pack, schema.org, search engines, custom post types, custom taxonomies, canonical
48
+
49
  == Installation ==
50
 
51
  You can use the built in installer and upgrader, or you can install the plugin
52
  manually.
53
 
54
+ = From your WordPress dashboard =
55
+
56
+ 1. Visit 'Plugins > Add New'
57
+ 2. Search for 'All in One SEO'
58
+ 3. Activate All in One SEO Pack from your Plugins page.
59
+
60
+ = From WordPress.org =
61
+
62
+ 1. Download All in One SEO Pack.
63
+ 2. Upload the 'All in One SEO Pack' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
64
+ 3. Activate All in One SEO Pack from your Plugins page.
65
+
66
+ = Once Activated =
67
+
68
  1. Visit your SEO options (*All in One SEO - General Settings*)
69
+ 2. Configure any options as desired.
70
+ 3. Enjoy higher SEO rankings in the search engines!
71
+ 4. Relax.
72
+
73
+
74
+ ==General Settings==
75
+ https://www.youtube.com/watch?v=uGt6CVbA5bI
76
+
77
+ ==XML Sitemaps==
78
+ https://www.youtube.com/watch?v=zvNU92Low8A
79
+
80
+ ==Social Meta==
81
+ https://www.youtube.com/watch?v=Dfe49FiiAog
82
+
83
+ ==Performance==
84
+ https://www.youtube.com/watch?v=A0VKinM5s00
85
 
86
 
87
  == Changelog ==
90
 
91
  == Frequently Asked Questions ==
92
 
93
+ Please visit our complete **[Documentation](http://semperplugins.com/documentation/)** before requesting support for SEO from the
94
  **[All in One SEO Pack Support Forum](http://semperplugins.com/support/)**
95
 
96
  [Translations](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/translations-for-all-in-one-seo-pack/)
97
 
98
+
99
+ == Screenshots ==
100
+
101
+ 1. **XML Sitemaps** - Out of the box support for XML sitemaps for all major search engines, with automatic submission to ensure search engines can easily crawl your site. Choose between dynamic or static sitemaps for increased performance.
102
+ 2. **SEO Modules** Enable or Disable any advanced SEO modules as desired. Our team is constantly adding new SEO modules, so check back often.
103
+ 3. **Extensive support** Read our Quickstart Beginner's Guide, Advanced User Guide, Access our Premium Support Forums with a full-time support staff, and watch our excellent video tutorials
104
+ 4. **Custom Post Types Support** Out of the box support for ALL Custom Post Types. This is especially handy if you use any forum or e-commerce software, or have had any other custom work done on your site.
105
+ 5. **Easily Access SEO content** Comprehensive overview of SEO Title, Description, and Keywords for the entire post/content type. Edit it all from one screen to save time.
106
+ 6. **Additional Pages for XML Sitemap** You can easily configure any additional pages to be added to the sitemap in addition to the dynamically generated WordPress pages. This ensures that search engines like Google will see ALL of your website's content.
107
+ 7. **Quick-Edit** Quickly edit your WordPress SEO data without having to go back and forth between different screens.
108
+ 8. **SEO Menu** All in One offers an extensive array of premium SEO features for free. Perfect for the novice or advanced user.
109
+
110
+
111
  == Upgrade Notice ==
112
 
113
+ = 2.2.7.6.2 =
114
+
115
+ -Additional WooCommerce support
116
+
117
+ = 2.2.7.6.1 =
118
+
119
+ -New Indonesian translation – Thanks to Rio Bermano
120
+ -Updated translations files (57 total languages!)
121
+ -Improved support for WooCommerce when the Home page is also set as the Shop page
122
+ -Social Meta Module – Update for Facebook’s Admin App ID
123
+
124
+ = 2.2.7.6 -
125
+
126
+ -Social Meta Module – Added support for Facebook App ID
127
+ -Added a warning message when Search Engine Visibility is enabled in WordPress Reading Settings
128
+ -Various under-the-hood code improvements
129
+ -Changed when Noindex Settings are displayed in relation to Custom Post Type Settings
130
+
131
  = 2.2.7.5 =
132
+ -fixes:
133
+ -category capitalization fixes
134
 
135
  enhancements:
136
+ -futureproofing the performance function for PHP7,8
137
+ -futureproofing the open graph and social meta function for PHP7,8
138
+ -futureproofing the file editor function for PHP7,8
139
+ -futureproofing the import-export function for PHP7,8
140
 
141
  = 2.2.7.4 =
142