Version Description
Download this release
Release Info
Developer | uberdose |
Plugin | All in One SEO Pack |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.8.9 to 1.4
- all_in_one_seo_pack-bg_BG.mo +0 -0
- all_in_one_seo_pack.php +7 -5
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.
|
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.
|
32 |
|
33 |
/** Max numbers of chars in auto-generated description */
|
34 |
var $maximum_description_length = 160;
|
@@ -247,7 +247,7 @@ class All_in_One_SEO_Pack {
|
|
247 |
if (isset($meta_string)) {
|
248 |
$meta_string .= "\n";
|
249 |
}
|
250 |
-
|
251 |
}
|
252 |
|
253 |
/*
|
@@ -704,7 +704,7 @@ class All_in_One_SEO_Pack {
|
|
704 |
$success = $this->download_newest_version();
|
705 |
if ($success) {
|
706 |
$success = $this->extract_plugin();
|
707 |
-
|
708 |
}
|
709 |
return $success;
|
710 |
}
|
@@ -714,10 +714,12 @@ class All_in_One_SEO_Pack {
|
|
714 |
require_once ('pclzip.lib.php');
|
715 |
}
|
716 |
$archive = new PclZip($this->upgrade_filename);
|
717 |
-
//$this->log("archive is $archive");
|
718 |
$files = $archive->extract(PCLZIP_OPT_STOP_ON_ERROR, PCLZIP_OPT_REPLACE_NEWER, PCLZIP_OPT_REMOVE_ALL_PATH, PCLZIP_OPT_PATH, $this->upgrade_folder);
|
719 |
$this->log("files is $files");
|
720 |
if (is_array($files)) {
|
|
|
|
|
|
|
721 |
return true;
|
722 |
} else {
|
723 |
$this->upgrade_error = $archive->errorInfo();
|
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
|
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";
|
32 |
|
33 |
/** Max numbers of chars in auto-generated description */
|
34 |
var $maximum_description_length = 160;
|
247 |
if (isset($meta_string)) {
|
248 |
$meta_string .= "\n";
|
249 |
}
|
250 |
+
$meta_string .= "$post_meta";
|
251 |
}
|
252 |
|
253 |
/*
|
704 |
$success = $this->download_newest_version();
|
705 |
if ($success) {
|
706 |
$success = $this->extract_plugin();
|
707 |
+
unlink($this->upgrade_filename);
|
708 |
}
|
709 |
return $success;
|
710 |
}
|
714 |
require_once ('pclzip.lib.php');
|
715 |
}
|
716 |
$archive = new PclZip($this->upgrade_filename);
|
|
|
717 |
$files = $archive->extract(PCLZIP_OPT_STOP_ON_ERROR, PCLZIP_OPT_REPLACE_NEWER, PCLZIP_OPT_REMOVE_ALL_PATH, PCLZIP_OPT_PATH, $this->upgrade_folder);
|
718 |
$this->log("files is $files");
|
719 |
if (is_array($files)) {
|
720 |
+
$num_extracted = sizeof($files);
|
721 |
+
$this->log("extracted $num_extracted files to $this->upgrade_folder");
|
722 |
+
$this->log(print_r($files, true));
|
723 |
return true;
|
724 |
} else {
|
725 |
$this->upgrade_error = $archive->errorInfo();
|