All in One SEO Pack - Version 1.6.14.6

Version Description

Download this release

Release Info

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

Code changes from version 1.6.14.5 to 1.6.14.6

aioseop.class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
- var $version = "1.6.14.5";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
@@ -356,15 +356,18 @@ class All_in_One_SEO_Pack {
356
  $meta_string .= "$post_meta";
357
  }
358
 
359
- if ( !empty( $post ) )
360
  $googleplus = get_the_author_meta( 'googleplus', $post->post_author );
361
 
362
  if ( empty( $googleplus ) && !empty( $aioseop_options['aiosp_google_publisher'] ) )
363
  $googleplus = $aioseop_options['aiosp_google_publisher'];
364
 
365
- if ( is_singular() && ( $googleplus ) )
366
  $meta_string = '<link rel="author" href="' . $googleplus . '" />' . "\n" . $meta_string;
367
-
 
 
 
368
  if ( is_home() && !empty( $aioseop_options['aiosp_google_publisher'] ) )
369
  $meta_string = '<link rel="publisher" href="' . $aioseop_options['aiosp_google_publisher'] . '" />' . "\n" . $meta_string;
370
 
@@ -402,6 +405,11 @@ function aiosp_google_analytics(){
402
 
403
  var _gaq = _gaq || [];
404
  _gaq.push(['_setAccount', '<?php echo $aioseop_options['aiosp_google_analytics_id']; ?>']);
 
 
 
 
 
405
  _gaq.push(['_trackPageview']);
406
 
407
  (function() {
@@ -1403,8 +1411,9 @@ function aiosp_google_analytics(){
1403
  "aiosp_404_title_format"=>'Nothing found for %request_words%',
1404
  "aiosp_paged_format"=>' - Part %page%',
1405
  "aiosp_google_analytics_id"=>null,
1406
- "aiosp_google_publisher"=>'',
1407
  "aiosp_ga_track_outbound_links"=>0,
 
1408
  "aiosp_use_categories"=>0,
1409
  "aiosp_dynamic_postspage_keywords"=>1,
1410
  "aiosp_category_noindex"=>1,
@@ -1437,13 +1446,13 @@ function aiosp_google_analytics(){
1437
  $options = Array( "aiosp_can", "aiosp_donate", "aiosp_home_title", "aiosp_home_description", "aiosp_home_keywords", "aiosp_max_words_excerpt",
1438
  "aiosp_rewrite_titles", "aiosp_post_title_format", "aiosp_page_title_format", "aiosp_category_title_format",
1439
  "aiosp_archive_title_format", "aiosp_tag_title_format", "aiosp_search_title_format", "aiosp_description_format",
1440
- "aiosp_404_title_format", "aiosp_paged_format", "aiosp_google_publisher", "aiosp_google_analytics_id", "aiosp_ga_track_outbound_links",
1441
  "aiosp_use_categories", "aiosp_dynamic_postspage_keywords", "aiosp_category_noindex", "aiosp_archive_noindex",
1442
  "aiosp_tags_noindex", "aiosp_generate_descriptions", "aiosp_cap_cats", "aiosp_enablecpost", "aiosp_debug_info",
1443
  "aiosp_post_meta_tags", "aiosp_page_meta_tags", "aiosp_home_meta_tags", "aiosp_ex_pages", "aiosp_do_log",
1444
  "aiosp_enabled", "aiosp_use_tags_as_keywords", "aiosp_seopostcol", "aiosp_seocustptcol", "aiosp_posttypecolumns");
1445
 
1446
- $esc_options = Array( "aiosp_home_title", "aiosp_home_description", "aiosp_google_publisher", "aiosp_google_analytics_id" );
1447
 
1448
  foreach( $options as $o ) {
1449
  $aioseop_options[$o] = '';
@@ -1532,17 +1541,7 @@ href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/"><?php _
1532
  <a href="http://semperfiwebdesign.com/headwayaio/" target="_blank"><img src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>headwaybanner.png"></a>
1533
  </div>
1534
 
1535
- <div style="clear:both;">
1536
- <?php $themefuse_ab = ( mt_rand( 0, 1 ) ) ? 'a' : 'b'; ?>
1537
- <div style="float:left;background-color:white;margin-top:3px;margin-right:15px;">
1538
- <a title="ThemeFuse" target="_blank"
1539
- href="http://themefuse.com/wp-themes-shop/?plugin=all-in-one-seo-pack&v=<?php echo $themefuse_ab; ?>"><img
1540
- src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>themefuse_banner_<?php echo $themefuse_ab; ?>.jpg"
1541
- alt="ThemeFuse" width="445" height="220" border="0" /></a>
1542
- </div>
1543
- </div>
1544
-
1545
- <div style="float:left;background-color:white;padding:10px;border:1px solid #ddd;margin-top:2px;">
1546
  <div style="width:423px;height:130px">
1547
  <h3>Secure your WordPress Blog with WebsiteDefender.com</h3>
1548
  <p><a href="http://www.websitedefender.com">WebsiteDefender.com</a> is an online service that checks your WordPress blog by checking for malware, security vulnerabilities and hacker activity. Don’t take the risk of getting blacklisted by Google.
@@ -2123,7 +2122,7 @@ _e('Choose which post types you want to have SEO columns on the edit.php screen.
2123
  <?php _e('Google Plus Profile Sitewide Default:', 'all_in_one_seo_pack')?>
2124
  </td>
2125
  <td>
2126
- <input type="text" name="aiosp_google_publisher" value="<?php echo $aioseop_options['aiosp_google_publisher']; ?>" size="38"/>
2127
  <div style="max-width:500px; text-align:left; display:none" id="aiosp_google_publisher_tip">
2128
  <?php
2129
  _e('Enter your Google Plus Profile URL here to link your site\'s pages to Google Plus.', 'all_in_one_seo_pack');
@@ -2148,6 +2147,21 @@ _e('Enter your Google Analytics ID here to track your site with Google Analytics
2148
  <?php
2149
  if ( isset( $aioseop_options['aiosp_google_analytics_id'] ) && $aioseop_options['aiosp_google_analytics_id'] ) {
2150
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2151
  <tr>
2152
  <th scope="row" style="text-align:right; vertical-align:top;">
2153
  <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_ga_track_outbound_links_tip');">
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
+ var $version = "1.6.14.6";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
356
  $meta_string .= "$post_meta";
357
  }
358
 
359
+ if ( !empty( $post ) && isset( $post->post_author ) )
360
  $googleplus = get_the_author_meta( 'googleplus', $post->post_author );
361
 
362
  if ( empty( $googleplus ) && !empty( $aioseop_options['aiosp_google_publisher'] ) )
363
  $googleplus = $aioseop_options['aiosp_google_publisher'];
364
 
365
+ if ( is_singular() && ( $googleplus ) ) {
366
  $meta_string = '<link rel="author" href="' . $googleplus . '" />' . "\n" . $meta_string;
367
+ } else if ( !is_home() && !empty( $aioseop_options['aiosp_google_publisher'] ) ) {
368
+ $meta_string = '<link rel="author" href="' . $aioseop_options['aiosp_google_publisher'] . '" />' . "\n" . $meta_string;
369
+ }
370
+
371
  if ( is_home() && !empty( $aioseop_options['aiosp_google_publisher'] ) )
372
  $meta_string = '<link rel="publisher" href="' . $aioseop_options['aiosp_google_publisher'] . '" />' . "\n" . $meta_string;
373
 
405
 
406
  var _gaq = _gaq || [];
407
  _gaq.push(['_setAccount', '<?php echo $aioseop_options['aiosp_google_analytics_id']; ?>']);
408
+ <?php if ( !empty( $aioseop_options['aiosp_ga_domain'] ) ) {
409
+ ?> _gaq.push(['_setDomainName', '<?php echo $aioseop_options['aiosp_ga_domain']; ?>']);
410
+ <?php
411
+ }
412
+ ?>
413
  _gaq.push(['_trackPageview']);
414
 
415
  (function() {
1411
  "aiosp_404_title_format"=>'Nothing found for %request_words%',
1412
  "aiosp_paged_format"=>' - Part %page%',
1413
  "aiosp_google_analytics_id"=>null,
1414
+ "aiosp_ga_domain"=>'',
1415
  "aiosp_ga_track_outbound_links"=>0,
1416
+ "aiosp_google_publisher"=>'',
1417
  "aiosp_use_categories"=>0,
1418
  "aiosp_dynamic_postspage_keywords"=>1,
1419
  "aiosp_category_noindex"=>1,
1446
  $options = Array( "aiosp_can", "aiosp_donate", "aiosp_home_title", "aiosp_home_description", "aiosp_home_keywords", "aiosp_max_words_excerpt",
1447
  "aiosp_rewrite_titles", "aiosp_post_title_format", "aiosp_page_title_format", "aiosp_category_title_format",
1448
  "aiosp_archive_title_format", "aiosp_tag_title_format", "aiosp_search_title_format", "aiosp_description_format",
1449
+ "aiosp_404_title_format", "aiosp_paged_format", "aiosp_google_publisher", "aiosp_google_analytics_id", "aiosp_ga_domain", "aiosp_ga_track_outbound_links",
1450
  "aiosp_use_categories", "aiosp_dynamic_postspage_keywords", "aiosp_category_noindex", "aiosp_archive_noindex",
1451
  "aiosp_tags_noindex", "aiosp_generate_descriptions", "aiosp_cap_cats", "aiosp_enablecpost", "aiosp_debug_info",
1452
  "aiosp_post_meta_tags", "aiosp_page_meta_tags", "aiosp_home_meta_tags", "aiosp_ex_pages", "aiosp_do_log",
1453
  "aiosp_enabled", "aiosp_use_tags_as_keywords", "aiosp_seopostcol", "aiosp_seocustptcol", "aiosp_posttypecolumns");
1454
 
1455
+ $esc_options = Array( "aiosp_home_title", "aiosp_home_description", "aiosp_google_analytics_id", "aiosp_ga_domain", "aiosp_google_publisher", "aiosp_google_analytics_id" );
1456
 
1457
  foreach( $options as $o ) {
1458
  $aioseop_options[$o] = '';
1541
  <a href="http://semperfiwebdesign.com/headwayaio/" target="_blank"><img src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>headwaybanner.png"></a>
1542
  </div>
1543
 
1544
+ <div style="clear:both;float:left;background-color:white;padding:10px;border:1px solid #ddd;margin-top:2px;">
 
 
 
 
 
 
 
 
 
 
1545
  <div style="width:423px;height:130px">
1546
  <h3>Secure your WordPress Blog with WebsiteDefender.com</h3>
1547
  <p><a href="http://www.websitedefender.com">WebsiteDefender.com</a> is an online service that checks your WordPress blog by checking for malware, security vulnerabilities and hacker activity. Don’t take the risk of getting blacklisted by Google.
2122
  <?php _e('Google Plus Profile Sitewide Default:', 'all_in_one_seo_pack')?>
2123
  </td>
2124
  <td>
2125
+ <input type="text" name="aiosp_google_publisher" value="<?php if ( !empty( $aioseop_options['aiosp_google_publisher'] ) ) echo $aioseop_options['aiosp_google_publisher']; ?>" size="38"/>
2126
  <div style="max-width:500px; text-align:left; display:none" id="aiosp_google_publisher_tip">
2127
  <?php
2128
  _e('Enter your Google Plus Profile URL here to link your site\'s pages to Google Plus.', 'all_in_one_seo_pack');
2147
  <?php
2148
  if ( isset( $aioseop_options['aiosp_google_analytics_id'] ) && $aioseop_options['aiosp_google_analytics_id'] ) {
2149
  ?>
2150
+ <tr>
2151
+ <th scope="row" style="text-align:right; vertical-align:top;">
2152
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_ga_domain_tip');">
2153
+ <?php _e('Tracking Domain:', 'all_in_one_seo_pack')?>
2154
+ </td>
2155
+ <td>
2156
+ <input type="text" name="aiosp_ga_domain" value="<?php echo $aioseop_options['aiosp_ga_domain']; ?>" size="38"/>
2157
+ <div style="max-width:500px; text-align:left; display:none" id="aiosp_ga_domain_tip">
2158
+ <?php
2159
+ _e('Enter domain name for tracking with Google Analytics.', 'all_in_one_seo_pack');
2160
+ ?>
2161
+ </div>
2162
+ </td>
2163
+ </tr>
2164
+
2165
  <tr>
2166
  <th scope="row" style="text-align:right; vertical-align:top;">
2167
  <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_ga_track_outbound_links_tip');">
aioseop_functions.php CHANGED
@@ -102,7 +102,6 @@ if (!function_exists('aioseop_mrt_mkarry')) {
102
  }
103
 
104
  add_option('aioseop_options',$naioseop_options);
105
- echo "<div class='updated fade' style='background-color:green;border-color:green;'><p><strong>". __( "Updating SEO configuration options in database", 'all_in_one_seo_pack' ) . "</strong></p></div>";
106
  }
107
  }
108
 
102
  }
103
 
104
  add_option('aioseop_options',$naioseop_options);
 
105
  }
106
  }
107
 
all_in_one_seo_pack-ja.mo CHANGED
Binary file
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.14.5
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.14.5
34
  */
35
 
36
  if ( ! defined( 'AIOSEOP_VERSION' ) )
37
- define( 'AIOSEOP_VERSION', '1.6.14.5' );
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.14.6
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  */
30
 
31
  /**
32
  * @package All-in-One-SEO-Pack
33
+ * @version 1.6.14.6
34
  */
35
 
36
  if ( ! defined( 'AIOSEOP_VERSION' ) )
37
+ define( 'AIOSEOP_VERSION', '1.6.14.6' );
38
 
39
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) )
40
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
images/themefuse_banner_a.jpg DELETED
Binary file
images/themefuse_banner_b.jpg DELETED
Binary file