All in One SEO Pack - Version 2.2.6.1

Version Description

Download this release

Release Info

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

Code changes from version 2.2.6 to 2.2.6.1

Files changed (2) hide show
  1. aioseop_class.php +2 -1
  2. all_in_one_seo_pack.php +3 -3
aioseop_class.php CHANGED
@@ -1357,6 +1357,7 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
1357
  if( is_singular() && !in_array( $post_type, $wp_post_types ) && !is_front_page() ) return false;
1358
  } else {
1359
  $wp_post_types = $aioseop_options['aiosp_cpostactive'];
 
1360
  if ( is_singular() && !in_array( $post_type, $wp_post_types ) && !is_front_page() ) return false;
1361
  if ( is_post_type_archive() && !is_post_type_archive( $wp_post_types ) ) return false;
1362
  }
@@ -2460,7 +2461,7 @@ EOF;
2460
  $post = $GLOBALS["post"];
2461
  $blog_page = $this->get_blog_page();
2462
  $description = '';
2463
- if ( $this->is_static_front_page() && empty( $aioseop_options['aiosp_use_static_home_info'] ) )
2464
  $description = trim( stripslashes( $this->internationalize( $aioseop_options['aiosp_home_description'] ) ) );
2465
  elseif ( !empty( $blog_page ) )
2466
  $description = $this->get_post_description( $blog_page );
1357
  if( is_singular() && !in_array( $post_type, $wp_post_types ) && !is_front_page() ) return false;
1358
  } else {
1359
  $wp_post_types = $aioseop_options['aiosp_cpostactive'];
1360
+ if ( empty( $wp_post_types ) ) $wp_post_types = Array();
1361
  if ( is_singular() && !in_array( $post_type, $wp_post_types ) && !is_front_page() ) return false;
1362
  if ( is_post_type_archive() && !is_post_type_archive( $wp_post_types ) ) return false;
1363
  }
2461
  $post = $GLOBALS["post"];
2462
  $blog_page = $this->get_blog_page();
2463
  $description = '';
2464
+ if ( is_front_page() && empty( $aioseop_options['aiosp_use_static_home_info'] ) )
2465
  $description = trim( stripslashes( $this->internationalize( $aioseop_options['aiosp_home_description'] ) ) );
2466
  elseif ( !empty( $blog_page ) )
2467
  $description = $this->get_post_description( $blog_page );
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">Options configuration panel</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.6
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  */
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
31
  /**
32
  * @package All-in-One-SEO-Pack
33
- * @version 2.2.6
34
  */
35
 
36
  if ( ! defined( 'ABSPATH' ) ) return;
@@ -41,7 +41,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) )
41
  define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
42
 
43
  if ( ! defined( 'AIOSEOP_VERSION' ) )
44
- define( 'AIOSEOP_VERSION', '2.2.6' );
45
 
46
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
47
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
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">Options configuration panel</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.6.1
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  */
30
 
31
  /**
32
  * @package All-in-One-SEO-Pack
33
+ * @version 2.2.6.1
34
  */
35
 
36
  if ( ! defined( 'ABSPATH' ) ) return;
41
  define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
42
 
43
  if ( ! defined( 'AIOSEOP_VERSION' ) )
44
+ define( 'AIOSEOP_VERSION', '2.2.6.1' );
45
 
46
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
47
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );