All in One SEO Pack - Version 1.4.4

Version Description

Download this release

Release Info

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

Code changes from version 1.4.3.9 to 1.4.4

all_in_one_seo_pack-bg_BG.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.4.3.9
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.4.3.9";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
@@ -170,7 +170,7 @@ class All_in_One_SEO_Pack {
170
  if ($this->ob_start_detected) {
171
  echo "ob_start_detected ";
172
  }
173
- echo "[$this->title_start,$this->title_end,$this->orig_title] ";
174
  echo "-->";
175
 
176
  if ((is_home() && !$this->is_static_posts_page() && get_option('aiosp_home_keywords')) || $this->is_static_front_page()) {
@@ -553,6 +553,10 @@ class All_in_One_SEO_Pack {
553
  $text = str_replace(']]>', ']]&gt;', $text);
554
  $text = strip_tags($text);
555
  $max = $this->maximum_description_length;
 
 
 
 
556
  if ($max < strlen($text)) {
557
  while($text[$max] != ' ' && $max > $this->minimum_description_length) {
558
  $max--;
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.4.4
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
28
 
29
  class All_in_One_SEO_Pack {
30
 
31
+ var $version = "1.4.4";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
170
  if ($this->ob_start_detected) {
171
  echo "ob_start_detected ";
172
  }
173
+ echo "[$this->title_start,$this->title_end] ";
174
  echo "-->";
175
 
176
  if ((is_home() && !$this->is_static_posts_page() && get_option('aiosp_home_keywords')) || $this->is_static_front_page()) {
553
  $text = str_replace(']]>', ']]&gt;', $text);
554
  $text = strip_tags($text);
555
  $max = $this->maximum_description_length;
556
+
557
+ // suggestion from Andrew
558
+ //$text = preg_replace("/<\?.*?\?>/", "", $text);
559
+
560
  if ($max < strlen($text)) {
561
  while($text[$max] != ' ' && $max > $this->minimum_description_length) {
562
  $max--;