All in One SEO Pack - Version 0.6.2.8

Version Description

Download this release

Release Info

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

Code changes from version 0.6.2.7 to 0.6.2.8

Files changed (1) hide show
  1. all_in_one_seo_pack.php +4 -3
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.7
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.7";
31
 
32
  /**
33
  * Number of words to be used (max) for generating an excerpt.
@@ -123,7 +123,8 @@ class All_in_One_SEO_Pack {
123
  ob_end_clean();
124
 
125
  if ($title) {
126
- $header = preg_replace("/<title>.*<\/title>/", "<title>$title</title>", $header);
 
127
  } else if (get_option('aiosp_rewrite_titles')) {
128
  global $s;
129
  if (is_search() && isset($s) && !empty($s)) {
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
 
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.
123
  ob_end_clean();
124
 
125
  if ($title) {
126
+ $header = preg_replace_callback("/<title>.*<\/title>/",
127
+ create_function('$match',"return '<title>$title</title>';"), $header);
128
  } else if (get_option('aiosp_rewrite_titles')) {
129
  global $s;
130
  if (is_search() && isset($s) && !empty($s)) {