All in One SEO Pack - Version 1.4.3.2

Version Description

Download this release

Release Info

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

Code changes from version 1.4.3.1 to 1.4.3.2

all_in_one_seo_pack-tr_TR.mo CHANGED
Binary file
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.4.3.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.4.3.1";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
@@ -578,7 +578,10 @@ class All_in_One_SEO_Pack {
578
  $keywords_i = stripcslashes($this->internationalize(get_post_meta($post->ID, "keywords", true)));
579
  $keywords_i = str_replace('"', '', $keywords_i);
580
  if (isset($keywords_i) && !empty($keywords_i)) {
581
- $keywords[] = $keywords_i;
 
 
 
582
  }
583
 
584
  // WP 2.3 tags
@@ -651,7 +654,11 @@ class All_in_One_SEO_Pack {
651
  }
652
 
653
  function get_unique_keywords($keywords) {
654
- $keywords_ar = array_unique($keywords);
 
 
 
 
655
  return implode(',', $keywords_ar);
656
  }
657
 
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.4.3.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.4.3.2";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
578
  $keywords_i = stripcslashes($this->internationalize(get_post_meta($post->ID, "keywords", true)));
579
  $keywords_i = str_replace('"', '', $keywords_i);
580
  if (isset($keywords_i) && !empty($keywords_i)) {
581
+ $traverse = explode(',', $keywords_i);
582
+ foreach ($traverse as $keyword) {
583
+ $keywords[] = $keyword;
584
+ }
585
  }
586
 
587
  // WP 2.3 tags
654
  }
655
 
656
  function get_unique_keywords($keywords) {
657
+ $small_keywords = array();
658
+ foreach ($keywords as $word) {
659
+ $small_keywords[] = strtolower($word);
660
+ }
661
+ $keywords_ar = array_unique($small_keywords);
662
  return implode(',', $keywords_ar);
663
  }
664