All in One SEO Pack - Version 1.6.14.2

Version Description

Download this release

Release Info

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

Code changes from version 1.6.14 to 1.6.14.2

aioseop.class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
- var $version = "1.6.14";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
@@ -199,7 +199,7 @@ class All_in_One_SEO_Pack {
199
 
200
  function seo_mrt_admin_head() {
201
  $home = get_settings('siteurl');
202
- $stylesheet = WP_PLUGIN_URL . '/all-in-one-seo-pack/style.css';
203
  echo '<link rel="stylesheet" href="' . $stylesheet . '" type="text/css" media="screen" />';
204
  }
205
 
@@ -554,7 +554,7 @@ function aiosp_google_analytics(){
554
  }
555
 
556
  // "internal whitespace trim"
557
- $description = preg_replace("/\s\s+/", " ", $description);
558
 
559
  return $description;
560
  }
@@ -1495,17 +1495,6 @@ href="http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version"><?php _e('
1495
  <div style="clear:both;">
1496
 
1497
  <br />
1498
- <!--<div style="width:75%;background-color:yellow;">
1499
- <em>Thank you for using <strong>All in One SEO Pack</strong> by <strong>Michael Torbert</strong> of <strong>Semper Fi Web Design</strong>. If you like this plugin and find it useful, feel free to click the <strong>donate</strong> button or send me a gift from my <strong>Amazon wishlist</strong>. Also, don't forget to follow me on <strong>Twitter</strong>.</em>
1500
- </div>
1501
- -->
1502
- <!--
1503
- <a target="_blank" title="<?php //echo 'Donate' ?>"
1504
- 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"><img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" width="" alt="Donate" /><?php //echo 'Donate' ?></a>
1505
- | <a target="_blank" title="Amazon Wish List" href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web"><img src="https://images-na.ssl-images-amazon.com/images/G/01/gifts/registries/wishlist/v2/web/wl-btn-74-b._V46774601_.gif" width="74" alt="My Amazon.com Wish List" height="42" border="0" /></a>
1506
- | <a target="_blank" title="<?php //_e('Follow us on Twitter', 'all_in_one_seo_pack') ?>"
1507
- href="http://twitter.com/michaeltorbert/"><img src="<?php //echo WP_PLUGIN_URL; ?>/all-in-one-seo-pack/images/twitter.png" alt="<?php //_e('Follow Us on Twitter', 'all_in_one_seo_pack') ?>" height="47px" /></a>
1508
- -->
1509
  </p>
1510
 
1511
  <div style="width:905px;">
@@ -1516,11 +1505,11 @@ href="http://twitter.com/michaeltorbert/"><img src="<?php //echo WP_PLUGIN_URL;
1516
  </div>
1517
  <a target="_blank" title="<?php echo 'Donate' ?>"
1518
  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">
1519
- <img src="<?php echo WP_PLUGIN_URL; ?>/all-in-one-seo-pack/images/donate.jpg" alt="<?php _e('Donate with Paypal', 'all_in_one_seo_pack') ?>" /> </a>
1520
  <a target="_blank" title="Amazon Wish List" href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web">
1521
- <img src="<?php echo WP_PLUGIN_URL; ?>/all-in-one-seo-pack/images/amazon.jpg" alt="<?php _e('My Amazon Wish List', 'all_in_one_seo_pack') ?>" /> </a>
1522
  <a target="_blank" title="<?php _e('Follow us on Twitter', 'all_in_one_seo_pack') ?>" href="http://twitter.com/michaeltorbert/">
1523
- <img src="<?php echo WP_PLUGIN_URL; ?>/all-in-one-seo-pack/images/twitter.jpg" alt="<?php _e('Follow Us on Twitter', 'all_in_one_seo_pack') ?>" /> </a>
1524
  </div>
1525
 
1526
 
@@ -1530,7 +1519,7 @@ href="http://twitter.com/michaeltorbert/"><img src="<?php //echo WP_PLUGIN_URL;
1530
  <h3>Drag and Drop WordPress Design</h3>
1531
  <p><a href="http://semperfiwebdesign.com/headwayaio/" target="_blank">Headway Themes</a> allows you to easily create your own stunning website designs! Stop using premade themes start making your own design with Headway's easy to use Drag and Drop interface. All in One SEO Pack users have an exclusive discount by using coupon code <strong>SEMPERFI30</strong> at checkout.</p>
1532
  </div>
1533
- <a href="http://semperfiwebdesign.com/headwayaio/" target="_blank"><img src="<?php echo WP_PLUGIN_URL; ?>/all-in-one-seo-pack/images/headwaybanner.png"></a>
1534
  </div>
1535
 
1536
  <div style="float:left;background-color:white;padding:10px;border:1px solid #ddd;height:200px;">
@@ -1547,7 +1536,7 @@ href="http://twitter.com/michaeltorbert/"><img src="<?php //echo WP_PLUGIN_URL;
1547
  </div>
1548
  <a title="WebHostingHub.com" target="_blank"
1549
  href="http://ref.webhostinghub.com/scripts/click.php?ref_id=rsuog2&ad_id=54c8d95f"><img
1550
- src="http://webhostingrating.com/images/hub_420_wordpress.png"
1551
  alt="WebHostingHub.com" width="420" height="53" border="0" /></a>
1552
  </div>
1553
  </div>
@@ -1560,7 +1549,7 @@ href="http://twitter.com/michaeltorbert/"><img src="<?php //echo WP_PLUGIN_URL;
1560
  <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.
1561
  <strong><a href="https://dashboard.websitedefender.com/register-for-free-website-scan.php">Sign up for FREE</a> and keep your blog safe!</strong></p>
1562
  </div>
1563
- <a href="http://www.websitedefender.com/wordpress-security-with-websitedefender/" target="_blank"><img src="http://www.websitedefender.com/adverts/WD_wordpress_450x50.gif" alt="Sign up for a free WebsiteDefender account and secure your WordPress blog"></a>
1564
  </div>
1565
 
1566
 
@@ -1575,7 +1564,7 @@ href="http://twitter.com/michaeltorbert/"><img src="<?php //echo WP_PLUGIN_URL;
1575
  </div>
1576
  <a title="GreenGeeks" target="_blank"
1577
  href="http://www.greengeeks.com/cgi-bin/affiliates/clickthru.cgi?id=allin1seo&page=1"><img
1578
- src="http://www.greengeeks.com/images/mktg/420x53-greengeeks-wordpress.png"
1579
  alt="GreenGeeks" width="420" height="53" border="0" /></a>
1580
  </div>
1581
  </div>
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
+ var $version = "1.6.14.2";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
199
 
200
  function seo_mrt_admin_head() {
201
  $home = get_settings('siteurl');
202
+ $stylesheet = AIOSEOP_PLUGIN_URL . 'style.css';
203
  echo '<link rel="stylesheet" href="' . $stylesheet . '" type="text/css" media="screen" />';
204
  }
205
 
554
  }
555
 
556
  // "internal whitespace trim"
557
+ $description = preg_replace("/\s\s+/u", " ", $description);
558
 
559
  return $description;
560
  }
1495
  <div style="clear:both;">
1496
 
1497
  <br />
 
 
 
 
 
 
 
 
 
 
 
1498
  </p>
1499
 
1500
  <div style="width:905px;">
1505
  </div>
1506
  <a target="_blank" title="<?php echo 'Donate' ?>"
1507
  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">
1508
+ <img src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>donate.jpg" alt="<?php _e('Donate with Paypal', 'all_in_one_seo_pack') ?>" /> </a>
1509
  <a target="_blank" title="Amazon Wish List" href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web">
1510
+ <img src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>amazon.jpg" alt="<?php _e('My Amazon Wish List', 'all_in_one_seo_pack') ?>" /> </a>
1511
  <a target="_blank" title="<?php _e('Follow us on Twitter', 'all_in_one_seo_pack') ?>" href="http://twitter.com/michaeltorbert/">
1512
+ <img src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>twitter.jpg" alt="<?php _e('Follow Us on Twitter', 'all_in_one_seo_pack') ?>" /> </a>
1513
  </div>
1514
 
1515
 
1519
  <h3>Drag and Drop WordPress Design</h3>
1520
  <p><a href="http://semperfiwebdesign.com/headwayaio/" target="_blank">Headway Themes</a> allows you to easily create your own stunning website designs! Stop using premade themes start making your own design with Headway's easy to use Drag and Drop interface. All in One SEO Pack users have an exclusive discount by using coupon code <strong>SEMPERFI30</strong> at checkout.</p>
1521
  </div>
1522
+ <a href="http://semperfiwebdesign.com/headwayaio/" target="_blank"><img src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>headwaybanner.png"></a>
1523
  </div>
1524
 
1525
  <div style="float:left;background-color:white;padding:10px;border:1px solid #ddd;height:200px;">
1536
  </div>
1537
  <a title="WebHostingHub.com" target="_blank"
1538
  href="http://ref.webhostinghub.com/scripts/click.php?ref_id=rsuog2&ad_id=54c8d95f"><img
1539
+ src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>hub_420_wordpress.png"
1540
  alt="WebHostingHub.com" width="420" height="53" border="0" /></a>
1541
  </div>
1542
  </div>
1549
  <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.
1550
  <strong><a href="https://dashboard.websitedefender.com/register-for-free-website-scan.php">Sign up for FREE</a> and keep your blog safe!</strong></p>
1551
  </div>
1552
+ <a href="http://www.websitedefender.com/wordpress-security-with-websitedefender/" target="_blank"><img src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>WD_wordpress_450x50.gif" alt="Sign up for a free WebsiteDefender account and secure your WordPress blog"></a>
1553
  </div>
1554
 
1555
 
1564
  </div>
1565
  <a title="GreenGeeks" target="_blank"
1566
  href="http://www.greengeeks.com/cgi-bin/affiliates/clickthru.cgi?id=allin1seo&page=1"><img
1567
+ src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>420x53-greengeeks-wordpress.png"
1568
  alt="GreenGeeks" width="420" height="53" border="0" /></a>
1569
  </div>
1570
  </div>
aioseop_functions.php CHANGED
@@ -4,7 +4,7 @@
4
  */
5
 
6
  /** Ajax callback functions for quickedit functionality */
7
- add_action( 'wp_ajax_aioseop_ajax_save_meta', 'aioseop_ajax_save_meta');
8
 
9
  if (!function_exists('aioseop_activate')) {
10
  function aioseop_activate() {
@@ -178,16 +178,16 @@ if (!function_exists('aioseop_addmycolumns')) {
178
  if (!function_exists('aioseop_mrt_pcolumns')) {
179
  function aioseop_mrt_pcolumns($aioseopc) {
180
  global $aioseop_options;
181
- $aioseopc['seotitle'] = __('SEO Title');
182
- if ($aioseop_options['aiosp_togglekeywords'] == '') $aioseopc['seokeywords'] = __('SEO Keywords');
183
- $aioseopc['seodesc'] = __('SEO Description');
184
- return $aioseopc;
185
  }
186
  }
187
 
188
  if (!function_exists('aioseop_admin_head')) {
189
  function aioseop_admin_head() {
190
- echo '<script type="text/javascript" src="' . AIOSEOP_PLUGIN_URL . 'quickedit_functions.js" ></script>';
191
  ?><style>
192
  .aioseop_edit_button {
193
  margin: 0 0 0 5px;
@@ -248,29 +248,15 @@ if (!function_exists('aioseop_ajax_save_meta')) {
248
 
249
  if (!function_exists('aioseop_mrt_pccolumn')) {
250
  function aioseop_mrt_pccolumn($aioseopcn, $aioseoppi) {
251
- $id = $aioseoppi;
252
- $target = null;
253
- if( $aioseopcn == 'seotitle' ) $target = 'title';
254
- if( $aioseopcn == 'seokeywords' ) $target = 'keywords';
255
- if( $aioseopcn == 'seodesc' ) $target = 'description';
256
- if ( !$target ) return;
257
- if( current_user_can( 'edit_post', $id ) ) { ?>
258
- <div class="aioseop_mpc_admin_meta_container">
259
- <div class="aioseop_mpc_admin_meta_options"
260
- id="aioseop_<?php print $target; ?>_<?php echo $id; ?>"
261
- style="float:left;">
262
- <?php $content = htmlspecialchars( stripcslashes( get_post_meta( $id, "_aioseop_" . $target, TRUE ) ) );
263
- if( !empty($content) ): $label = str_replace( "'", "\'", $content );
264
- else: $label = ''; $content = '<strong><i>No ' . $target . '</i></strong>' ; endif;
265
- print $content . '<a id="' . $target . 'editlink' . $id . '" href="javascript:void(0);" onclick="aioseop_ajax_edit_meta_form(' .
266
- $id . ', \'' . $label . '\', \'' . $target . '\');return false;" title="' . __('Edit') . '">';
267
- print "<img class='aioseop_edit_button'
268
- id='aioseop_edit_id'
269
- src='" . AIOSEOP_PLUGIN_IMAGES_URL . "cog_edit.png' /></a>";
270
- ?>
271
- </div>
272
- </div>
273
- <?php }
274
  }
275
  }
276
 
4
  */
5
 
6
  /** Ajax callback functions for quickedit functionality */
7
+ //add_action( 'wp_ajax_aioseop_ajax_save_meta', 'aioseop_ajax_save_meta');
8
 
9
  if (!function_exists('aioseop_activate')) {
10
  function aioseop_activate() {
178
  if (!function_exists('aioseop_mrt_pcolumns')) {
179
  function aioseop_mrt_pcolumns($aioseopc) {
180
  global $aioseop_options;
181
+ $aioseopc['seotitle'] = __('SEO Title');
182
+ $aioseopc['seokeywords'] = __('SEO Keywords');
183
+ $aioseopc['seodesc'] = __('SEO Description');
184
+ return $aioseopc;
185
  }
186
  }
187
 
188
  if (!function_exists('aioseop_admin_head')) {
189
  function aioseop_admin_head() {
190
+ // echo '<script type="text/javascript" src="' . AIOSEOP_PLUGIN_URL . 'quickedit_functions.js" ></script>';
191
  ?><style>
192
  .aioseop_edit_button {
193
  margin: 0 0 0 5px;
248
 
249
  if (!function_exists('aioseop_mrt_pccolumn')) {
250
  function aioseop_mrt_pccolumn($aioseopcn, $aioseoppi) {
251
+ if( $aioseopcn == 'seotitle' ) {
252
+ echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_title',TRUE)));
253
+ }
254
+ if( $aioseopcn == 'seokeywords' ) {
255
+ echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_keywords',TRUE)));
256
+ }
257
+ if( $aioseopcn == 'seodesc' ) {
258
+ echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_description',TRUE)));
259
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
260
  }
261
  }
262
 
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
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
34
  */
35
 
36
  if ( ! defined( 'AIOSEOP_VERSION' ) )
37
- define( 'AIOSEOP_VERSION', '1.6.14' );
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.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.14.2
34
  */
35
 
36
  if ( ! defined( 'AIOSEOP_VERSION' ) )
37
+ define( 'AIOSEOP_VERSION', '1.6.14.2' );
38
 
39
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) )
40
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
images/420x53-greengeeks-wordpress.png ADDED
Binary file
images/WD_wordpress_450x50.gif ADDED
Binary file
images/hub_420_wordpress.png ADDED
Binary file