All in One SEO Pack - Version 1.3.6.2

Version Description

Download this release

Release Info

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

Code changes from version 1.3.6.1 to 1.3.6.2

Files changed (2) hide show
  1. all_in_one_seo_pack.php +17 -20
  2. all_in_one_seo_pack.pot +1 -1
all_in_one_seo_pack.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: All in One SEO Pack
5
  Plugin URI: http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
6
  Description: Out-of-the-box SEO for your Wordpress blog.
7
- Version: 1.3.6.1
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
28
 
29
  class All_in_One_SEO_Pack {
30
 
31
- var $version = "1.3.6.1";
32
 
33
  /**
34
  * Max numbers of chars in auto-generated description.
@@ -563,6 +563,9 @@ class All_in_One_SEO_Pack {
563
  }
564
  }
565
 
 
 
 
566
  function edit_category_form() {
567
  global $post;
568
  $keywords = stripslashes(get_post_meta($post->ID, 'keywords', true));
@@ -600,11 +603,8 @@ class All_in_One_SEO_Pack {
600
  ?>
601
  <SCRIPT LANGUAGE="JavaScript">
602
  <!-- Begin
603
- function countChars(field,cntfield,maxlimit) {
604
- if (field.value.length > maxlimit)
605
- field.value = field.value.substring(0, maxlimit);
606
- else
607
- cntfield.value = maxlimit - field.value.length;
608
  }
609
  // End -->
610
  </script>
@@ -622,10 +622,10 @@ class All_in_One_SEO_Pack {
622
  <tr>
623
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
624
  <td><textarea name="aiosp_description" rows="1" cols="78"
625
- onKeyDown="countChars(document.post.aiosp_description,document.post.length1,160)"
626
- onKeyUp="countChars(document.post.aiosp_description,document.post.length1,160)"><?php echo $description ?></textarea><br/>
627
- <input readonly type="text" name="length1" size="3" maxlength="3" value="160" />
628
- <?php _e(' characters left (most search engines use a maximum of 160 chars for the description)', 'all_in_one_seo_pack') ?>
629
  </td>
630
  </tr>
631
  <tr>
@@ -644,11 +644,8 @@ class All_in_One_SEO_Pack {
644
  ?>
645
  <SCRIPT LANGUAGE="JavaScript">
646
  <!-- Begin
647
- function countChars(field,cntfield,maxlimit) {
648
- if (field.value.length > maxlimit)
649
- field.value = field.value.substring(0, maxlimit);
650
- else
651
- cntfield.value = maxlimit - field.value.length;
652
  }
653
  // End -->
654
  </script>
@@ -666,10 +663,10 @@ class All_in_One_SEO_Pack {
666
  <tr>
667
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
668
  <td><textarea name="aiosp_description" rows="1" cols="78" tabindex="1001"
669
- onKeyDown="countChars(document.post.aiosp_description,document.post.length1,160)"
670
- onKeyUp="countChars(document.post.aiosp_description,document.post.length1,160)"><?php echo $description ?></textarea><br/>
671
- <input readonly type="text" name="length1" size="3" maxlength="3" value="160" />
672
- <?php _e(' characters left (most search engines use a maximum of 160 chars for the description)', 'all_in_one_seo_pack')?></td>
673
  </tr>
674
  <tr>
675
  <th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
4
  Plugin Name: All in One SEO Pack
5
  Plugin URI: http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
6
  Description: Out-of-the-box SEO for your Wordpress blog.
7
+ Version: 1.3.6.2
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
28
 
29
  class All_in_One_SEO_Pack {
30
 
31
+ var $version = "1.3.6.2";
32
 
33
  /**
34
  * Max numbers of chars in auto-generated description.
563
  }
564
  }
565
 
566
+ /**
567
+ * @deprecated This was for the feature of dedicated meta tags for categories which never went mainstream.
568
+ */
569
  function edit_category_form() {
570
  global $post;
571
  $keywords = stripslashes(get_post_meta($post->ID, 'keywords', true));
603
  ?>
604
  <SCRIPT LANGUAGE="JavaScript">
605
  <!-- Begin
606
+ function countChars(field,cntfield) {
607
+ cntfield.value = field.value.length;
 
 
 
608
  }
609
  // End -->
610
  </script>
622
  <tr>
623
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
624
  <td><textarea name="aiosp_description" rows="1" cols="78"
625
+ onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
626
+ onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br/>
627
+ <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
628
+ <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack') ?>
629
  </td>
630
  </tr>
631
  <tr>
644
  ?>
645
  <SCRIPT LANGUAGE="JavaScript">
646
  <!-- Begin
647
+ function countChars(field,cntfield) {
648
+ cntfield.value = field.value.length;
 
 
 
649
  }
650
  // End -->
651
  </script>
663
  <tr>
664
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
665
  <td><textarea name="aiosp_description" rows="1" cols="78" tabindex="1001"
666
+ onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
667
+ onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br/>
668
+ <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
669
+ <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack')?></td>
670
  </tr>
671
  <tr>
672
  <th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
all_in_one_seo_pack.pot CHANGED
@@ -27,7 +27,7 @@ msgstr ""
27
  msgid "Description:"
28
  msgstr ""
29
 
30
- msgid " characters left (most search engines use a maximum of 160 chars for the description)"
31
  msgstr ""
32
 
33
  msgid "All in One SEO"
27
  msgid "Description:"
28
  msgstr ""
29
 
30
+ msgid " characters. Most search engines use a maximum of 160 chars for the description."
31
  msgstr ""
32
 
33
  msgid "All in One SEO"