All in One SEO Pack - Version 1.6.15.2

Version Description

Download this release

Release Info

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

Code changes from version 1.6.15.1 to 1.6.15.2

Files changed (2) hide show
  1. aioseop.class.php +3 -3
  2. all_in_one_seo_pack.php +3 -3
aioseop.class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
- var $version = "1.6.15";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
@@ -345,7 +345,7 @@ class All_in_One_SEO_Pack {
345
  $home_meta = stripcslashes($aioseop_options['aiosp_home_meta_tags']);
346
  $front_meta = stripcslashes($aioseop_options['aiosp_front_meta_tags']);
347
 
348
- if ( is_page() && isset($page_meta) && !empty( $page_meta ) && !$is_front_page ) {
349
  if ( isset( $meta_string ) ) $meta_string .= "\n";
350
  $meta_string .= $page_meta;
351
  }
@@ -546,7 +546,7 @@ function aiosp_google_analytics(){
546
  $term = get_query_var( 'term' );
547
  $link = get_term_link( $term, $taxonomy );
548
  $link = $this->yoast_get_paged( $link );
549
- } elseif ( $query->is_archive && function_exists( 'get_post_type_archive_link' ) && ( $post_type == get_query_var( 'post_type' ) ) ) {
550
  $link = get_post_type_archive_link( $post_type );
551
  } else {
552
  return false;
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
+ var $version = "1.6.15.2";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
345
  $home_meta = stripcslashes($aioseop_options['aiosp_home_meta_tags']);
346
  $front_meta = stripcslashes($aioseop_options['aiosp_front_meta_tags']);
347
 
348
+ if ( is_page() && isset( $page_meta ) && !empty( $page_meta ) && ( !$is_front_page || empty( $front_meta ) ) ) {
349
  if ( isset( $meta_string ) ) $meta_string .= "\n";
350
  $meta_string .= $page_meta;
351
  }
546
  $term = get_query_var( 'term' );
547
  $link = get_term_link( $term, $taxonomy );
548
  $link = $this->yoast_get_paged( $link );
549
+ } elseif ( $query->is_archive && function_exists( 'get_post_type_archive_link' ) && ( $post_type = get_query_var( 'post_type' ) ) ) {
550
  $link = get_post_type_archive_link( $post_type );
551
  } else {
552
  return false;
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="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version">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://semperfiwebdesign.com/forum/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
6
- Version: 1.6.15.1
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  */
@@ -30,11 +30,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
31
  /**
32
  * @package All-in-One-SEO-Pack
33
- * @version 1.6.15.1
34
  */
35
 
36
  if ( ! defined( 'AIOSEOP_VERSION' ) )
37
- define( 'AIOSEOP_VERSION', '1.6.15.1' );
38
 
39
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) )
40
  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="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version">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://semperfiwebdesign.com/forum/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
6
+ Version: 1.6.15.2
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  */
30
 
31
  /**
32
  * @package All-in-One-SEO-Pack
33
+ * @version 1.6.15.2
34
  */
35
 
36
  if ( ! defined( 'AIOSEOP_VERSION' ) )
37
+ define( 'AIOSEOP_VERSION', '1.6.15.2' );
38
 
39
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) )
40
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );