All in One SEO Pack - Version 1.3.8.8

Version Description

Download this release

Release Info

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

Code changes from version 1.3.8.7 to 1.3.8.8

all_in_one_seo_pack-de_DE.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.3.8.7
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.8.7";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
@@ -198,14 +198,14 @@ class All_in_One_SEO_Pack {
198
  $description = str_replace('%blog_description%', get_bloginfo('description'), $description);
199
  $description = str_replace('%wp_title%', $this->get_original_title(), $description);
200
 
201
- $meta_string .= sprintf("<meta name=\"description\" content=\"%s\"/>", $description);
202
  }
203
 
204
  if (isset ($keywords) && !empty($keywords)) {
205
  if (isset($meta_string)) {
206
  $meta_string .= "\n";
207
  }
208
- $meta_string .= sprintf("<meta name=\"keywords\" content=\"%s\"/>", $keywords);
209
  }
210
 
211
  if (function_exists('is_tag')) {
@@ -661,7 +661,7 @@ class All_in_One_SEO_Pack {
661
  $fh = @fopen($this->upgrade_filename, 'w');
662
  if (!$fh) {
663
  $this->upgrade_error = sprintf(__("Could not open %s for writing"), $this->upgrade_filename);
664
- $this->upgrade_error .= "<br/>";
665
  $this->upgrade_error .= sprintf(__("Please make sure %s is writable"), $this->upgrade_folder);
666
  $success = false;
667
  } else if (!@fwrite($fh, $file_content)) {
@@ -853,7 +853,7 @@ class All_in_One_SEO_Pack {
853
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
854
  <td><textarea name="aiosp_description" rows="1" cols="78"
855
  onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
856
- onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br/>
857
  <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
858
  <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack') ?>
859
  </td>
@@ -916,7 +916,7 @@ class All_in_One_SEO_Pack {
916
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
917
  <td><textarea name="aiosp_description" rows="1" cols="78" tabindex="1001"
918
  onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
919
- onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br/>
920
  <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
921
  <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack')?></td>
922
  </tr>
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.8.8
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.8.8";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
198
  $description = str_replace('%blog_description%', get_bloginfo('description'), $description);
199
  $description = str_replace('%wp_title%', $this->get_original_title(), $description);
200
 
201
+ $meta_string .= sprintf("<meta name=\"description\" content=\"%s\" />", $description);
202
  }
203
 
204
  if (isset ($keywords) && !empty($keywords)) {
205
  if (isset($meta_string)) {
206
  $meta_string .= "\n";
207
  }
208
+ $meta_string .= sprintf("<meta name=\"keywords\" content=\"%s\" />", $keywords);
209
  }
210
 
211
  if (function_exists('is_tag')) {
661
  $fh = @fopen($this->upgrade_filename, 'w');
662
  if (!$fh) {
663
  $this->upgrade_error = sprintf(__("Could not open %s for writing"), $this->upgrade_filename);
664
+ $this->upgrade_error .= "<br />";
665
  $this->upgrade_error .= sprintf(__("Please make sure %s is writable"), $this->upgrade_folder);
666
  $success = false;
667
  } else if (!@fwrite($fh, $file_content)) {
853
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
854
  <td><textarea name="aiosp_description" rows="1" cols="78"
855
  onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
856
+ onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br />
857
  <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
858
  <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack') ?>
859
  </td>
916
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
917
  <td><textarea name="aiosp_description" rows="1" cols="78" tabindex="1001"
918
  onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
919
+ onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br />
920
  <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
921
  <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack')?></td>
922
  </tr>