Version Description
Download this release
Release Info
| Developer | uberdose |
| Plugin | |
| Version | 1.2.3.8 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.3.7 to 1.2.3.8
- all_in_one_seo_pack.php +3 -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: 1.2.3.
|
| 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.3.
|
| 32 |
|
| 33 |
/**
|
| 34 |
* Number of words to be used (max) for generating an excerpt.
|
|
@@ -137,7 +137,7 @@ class All_in_One_SEO_Pack {
|
|
| 137 |
|
| 138 |
function replace_title($content, $title) {
|
| 139 |
$title = trim(stripslashes(addslashes($title)));
|
| 140 |
-
$header = preg_replace_callback("/<title>.*<\/title>/",
|
| 141 |
create_function('$match_not_needed',"return '<title>$title</title>';"), $content);
|
| 142 |
return $header;
|
| 143 |
}
|
| 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.3.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.2.3.8";
|
| 32 |
|
| 33 |
/**
|
| 34 |
* Number of words to be used (max) for generating an excerpt.
|
| 137 |
|
| 138 |
function replace_title($content, $title) {
|
| 139 |
$title = trim(stripslashes(addslashes($title)));
|
| 140 |
+
$header = preg_replace_callback("/<title>.*<\/title>/s",
|
| 141 |
create_function('$match_not_needed',"return '<title>$title</title>';"), $content);
|
| 142 |
return $header;
|
| 143 |
}
|
