All in One SEO Pack - Version 1.2.5.1

Version Description

Download this release

Release Info

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

Code changes from version 1.2.5 to 1.2.5.1

Files changed (1) hide show
  1. all_in_one_seo_pack.php +7 -7
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.2.5
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.2.5";
32
 
33
  /**
34
  * Number of words to be used (max) for generating an excerpt.
@@ -45,7 +45,7 @@ class All_in_One_SEO_Pack {
45
  if (get_option('aiosp_max_words_excerpt') && is_numeric(get_option('aiosp_max_words_excerpt'))) {
46
  $this->maximum_excerpt_length = get_option('aiosp_max_words_excerpt');
47
  }
48
- if (get_option('aiosp_rewrite_titles')) {
49
  ob_start(array($this, 'output_callback_for_title'));
50
  }
51
  }
@@ -328,7 +328,7 @@ class All_in_One_SEO_Pack {
328
  $description = stripslashes(get_post_meta($post->ID, 'description', true));
329
  $title = stripslashes(get_post_meta($post->ID, 'title', true));
330
  ?>
331
- <input value="aiosp_edit" type="hidden" name="aiosp_edit" />
332
  <table style="margin-bottom:40px; margin-top:30px;">
333
  <tr>
334
  <th style="text-align:left;" colspan="2">
@@ -337,15 +337,15 @@ class All_in_One_SEO_Pack {
337
  </tr>
338
  <tr>
339
  <th scope="row" style="text-align:right;"><?php _e('Title:', 'all_in_one_seo_pack') ?></th>
340
- <td><input value="<?php echo $title ?>" type="text" name="aiosp_title" size="80"/></td>
341
  </tr>
342
  <tr>
343
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
344
- <td><textarea name="aiosp_description" rows="1" cols="78"><?php echo $description ?></textarea></td>
345
  </tr>
346
  <tr>
347
  <th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
348
- <td><input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="80"/></td>
349
  </tr>
350
  </table>
351
  <?php
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.2.5.1
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
28
 
29
  class All_in_One_SEO_Pack {
30
 
31
+ var $version = "1.2.5.1";
32
 
33
  /**
34
  * Number of words to be used (max) for generating an excerpt.
45
  if (get_option('aiosp_max_words_excerpt') && is_numeric(get_option('aiosp_max_words_excerpt'))) {
46
  $this->maximum_excerpt_length = get_option('aiosp_max_words_excerpt');
47
  }
48
+ if (get_option('aiosp_rewrite_titles') && !is_home()) {
49
  ob_start(array($this, 'output_callback_for_title'));
50
  }
51
  }
328
  $description = stripslashes(get_post_meta($post->ID, 'description', true));
329
  $title = stripslashes(get_post_meta($post->ID, 'title', true));
330
  ?>
331
+ <input value="aiosp_edit" type="hidden" name="aiosp_edit"/>
332
  <table style="margin-bottom:40px; margin-top:30px;">
333
  <tr>
334
  <th style="text-align:left;" colspan="2">
337
  </tr>
338
  <tr>
339
  <th scope="row" style="text-align:right;"><?php _e('Title:', 'all_in_one_seo_pack') ?></th>
340
+ <td><input value="<?php echo $title ?>" type="text" name="aiosp_title" size="80" tabindex="1000"/></td>
341
  </tr>
342
  <tr>
343
  <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
344
+ <td><textarea name="aiosp_description" rows="1" cols="78" tabindex="1001"><?php echo $description ?></textarea></td>
345
  </tr>
346
  <tr>
347
  <th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
348
+ <td><input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="80" tabindex="1002"/></td>
349
  </tr>
350
  </table>
351
  <?php