Version Description
Download this release
Release Info
Developer | uberdose |
Plugin | All in One SEO Pack |
Version | 1.3.7.8 |
Comparing to | |
See all releases |
Code changes from version 1.3.7.7 to 1.3.7.8
- all_in_one_seo_pack-it_IT.mo +0 -0
- all_in_one_seo_pack.php +13 -4
- all_in_one_seo_pack.pot +1 -1
all_in_one_seo_pack-it_IT.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.3.7.
|
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.3.7.
|
32 |
|
33 |
/** Max numbers of chars in auto-generated description */
|
34 |
var $maximum_description_length = 160;
|
@@ -53,6 +53,9 @@ class All_in_One_SEO_Pack {
|
|
53 |
/** Where to extract the downloaded newest version. */
|
54 |
var $upgrade_folder;
|
55 |
|
|
|
|
|
|
|
56 |
function template_redirect() {
|
57 |
if (is_feed()) {
|
58 |
return;
|
@@ -630,7 +633,7 @@ class All_in_One_SEO_Pack {
|
|
630 |
$success = $this->download_newest_version();
|
631 |
if ($success) {
|
632 |
$success = $this->extract_plugin();
|
633 |
-
unlink($this->upgrade_filename);
|
634 |
}
|
635 |
return $success;
|
636 |
}
|
@@ -644,6 +647,7 @@ class All_in_One_SEO_Pack {
|
|
644 |
if (is_array($files)) {
|
645 |
return true;
|
646 |
} else {
|
|
|
647 |
return false;
|
648 |
}
|
649 |
}
|
@@ -905,7 +909,12 @@ class All_in_One_SEO_Pack {
|
|
905 |
$message = __("Upgraded to newest version. Please revisit the options page to make sure you see the newest version.", 'all_in_one_seo_pack');
|
906 |
$success = $this->install_newest_version();
|
907 |
if (!$success) {
|
908 |
-
$message = __("Upgrade failed
|
|
|
|
|
|
|
|
|
|
|
909 |
}
|
910 |
}
|
911 |
|
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.3.7.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.3.7.8";
|
32 |
|
33 |
/** Max numbers of chars in auto-generated description */
|
34 |
var $maximum_description_length = 160;
|
53 |
/** Where to extract the downloaded newest version. */
|
54 |
var $upgrade_folder;
|
55 |
|
56 |
+
/** Any error in upgrading. */
|
57 |
+
var $upgrade_error;
|
58 |
+
|
59 |
function template_redirect() {
|
60 |
if (is_feed()) {
|
61 |
return;
|
633 |
$success = $this->download_newest_version();
|
634 |
if ($success) {
|
635 |
$success = $this->extract_plugin();
|
636 |
+
//unlink($this->upgrade_filename);
|
637 |
}
|
638 |
return $success;
|
639 |
}
|
647 |
if (is_array($files)) {
|
648 |
return true;
|
649 |
} else {
|
650 |
+
$this->upgrade_error = $archive->errorInfo();
|
651 |
return false;
|
652 |
}
|
653 |
}
|
909 |
$message = __("Upgraded to newest version. Please revisit the options page to make sure you see the newest version.", 'all_in_one_seo_pack');
|
910 |
$success = $this->install_newest_version();
|
911 |
if (!$success) {
|
912 |
+
$message = __("Upgrade failed", 'all_in_one_seo_pack');
|
913 |
+
if (isset($this->upgrade_error) && !empty($this->upgrade_error)) {
|
914 |
+
$message .= ": " . $this->upgrade_error;
|
915 |
+
} else {
|
916 |
+
$message .= ".";
|
917 |
+
}
|
918 |
}
|
919 |
}
|
920 |
|
all_in_one_seo_pack.pot
CHANGED
@@ -205,7 +205,7 @@ msgstr ""
|
|
205 |
msgid "Upgraded to newest version. Please revisit the options page to make sure you see the newest version."
|
206 |
msgstr ""
|
207 |
|
208 |
-
msgid "Upgrade failed
|
209 |
msgstr ""
|
210 |
|
211 |
msgid "(Remember: Backup early, backup often!)"
|
205 |
msgid "Upgraded to newest version. Please revisit the options page to make sure you see the newest version."
|
206 |
msgstr ""
|
207 |
|
208 |
+
msgid "Upgrade failed"
|
209 |
msgstr ""
|
210 |
|
211 |
msgid "(Remember: Backup early, backup often!)"
|