All in One SEO Pack - Version 0.6.3

Version Description

Download this release

Release Info

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

Code changes from version 0.6.2.8 to 0.6.3

Files changed (1) hide show
  1. all_in_one_seo_pack.php +20 -2
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: 0.6.2.8
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
@@ -27,7 +27,7 @@ Author URI: http://wp.uberdose.com/
27
 
28
  class All_in_One_SEO_Pack {
29
 
30
- var $version = "0.6.2.8";
31
 
32
  /**
33
  * Number of words to be used (max) for generating an excerpt.
@@ -186,6 +186,24 @@ class All_in_One_SEO_Pack {
186
  $keywords .= $category->cat_name;
187
  }
188
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
189
  $keywords_a = $keywords_i = null;
190
  $description_a = $description_i = null;
191
  $id = $post->ID;
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: 0.6.3
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
27
 
28
  class All_in_One_SEO_Pack {
29
 
30
+ var $version = "0.6.3";
31
 
32
  /**
33
  * Number of words to be used (max) for generating an excerpt.
186
  $keywords .= $category->cat_name;
187
  }
188
  }
189
+
190
+ // Ultimate Tag Warrior integration
191
+ global $utw;
192
+ if ($utw) {
193
+ $tags = $utw->GetTagsForPost($post);
194
+ foreach ($tags as $tag) {
195
+ $tag = $tag->tag;
196
+ $tag = str_replace('_',' ', $tag);
197
+ $tag = str_replace('-',' ',$tag);
198
+ $tag = stripslashes($tag);
199
+
200
+ if (isset($keywords) && !empty($keywords)) {
201
+ $keywords .= ',';
202
+ }
203
+ $keywords .= $tag;
204
+ }
205
+ }
206
+
207
  $keywords_a = $keywords_i = null;
208
  $description_a = $description_i = null;
209
  $id = $post->ID;