All in One SEO Pack - Version 1.4.7

Version Description

Download this release

Release Info

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

Code changes from version 1.4.6.16 to 1.4.7

Files changed (1) hide show
  1. all_in_one_seo_pack.php +4 -2
all_in_one_seo_pack.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: All in One SEO Pack
5
  Plugin URI: http://semperfiwebdesign.com
6
  Description: Out-of-the-box SEO for your Wordpress blog.
7
- Version: 1.4.6.16
8
  Author: Michael Torbert
9
  Author URI: http://semperfiwebdesign.com
10
  */
@@ -476,7 +476,7 @@ $UTF8_TABLES['strtoupper'] = array(
476
 
477
  class All_in_One_SEO_Pack {
478
 
479
- var $version = "1.4.6.15";
480
 
481
  /** Max numbers of chars in auto-generated description */
482
  var $maximum_description_length = 160;
@@ -1058,6 +1058,7 @@ class All_in_One_SEO_Pack {
1058
 
1059
  function trim_excerpt_without_filters($text) {
1060
  $text = str_replace(']]>', ']]>', $text);
 
1061
  $text = strip_tags($text);
1062
  $max = $this->maximum_description_length;
1063
 
@@ -1072,6 +1073,7 @@ class All_in_One_SEO_Pack {
1072
 
1073
  function trim_excerpt_without_filters_full_length($text) {
1074
  $text = str_replace(']]>', ']]>', $text);
 
1075
  $text = strip_tags($text);
1076
  return trim(stripcslashes($text));
1077
  }
4
  Plugin Name: All in One SEO Pack
5
  Plugin URI: http://semperfiwebdesign.com
6
  Description: Out-of-the-box SEO for your Wordpress blog.
7
+ Version: 1.4.7
8
  Author: Michael Torbert
9
  Author URI: http://semperfiwebdesign.com
10
  */
476
 
477
  class All_in_One_SEO_Pack {
478
 
479
+ var $version = "1.4.7";
480
 
481
  /** Max numbers of chars in auto-generated description */
482
  var $maximum_description_length = 160;
1058
 
1059
  function trim_excerpt_without_filters($text) {
1060
  $text = str_replace(']]>', ']]>', $text);
1061
+ $text = preg_replace( '|\[(.+?)\](.+?\[/\\1\])?|s', '', $text );
1062
  $text = strip_tags($text);
1063
  $max = $this->maximum_description_length;
1064
 
1073
 
1074
  function trim_excerpt_without_filters_full_length($text) {
1075
  $text = str_replace(']]>', ']]>', $text);
1076
+ $text = preg_replace( '|\[(.+?)\](.+?\[/\\1\])?|s', '', $text );
1077
  $text = strip_tags($text);
1078
  return trim(stripcslashes($text));
1079
  }