Version Description
Download this release
Release Info
| Developer | uberdose |
| Plugin | |
| Version | 1.3.8.5 |
| Comparing to | |
| See all releases | |
Code changes from version 1.3.8.4 to 1.3.8.5
- all_in_one_seo_pack-bg_BG.mo +0 -0
- all_in_one_seo_pack.php +13 -11
- all_in_one_seo_pack.pot +15 -0
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.3.8.
|
| 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.8.
|
| 32 |
|
| 33 |
/** Max numbers of chars in auto-generated description */
|
| 34 |
var $maximum_description_length = 160;
|
|
@@ -628,23 +628,25 @@ class All_in_One_SEO_Pack {
|
|
| 628 |
return $file;
|
| 629 |
}
|
| 630 |
|
| 631 |
-
/* TODO internationalize */
|
| 632 |
function download_newest_version() {
|
| 633 |
$success = true;
|
| 634 |
-
$
|
| 635 |
-
if (
|
| 636 |
-
$this->upgrade_error = "Could not download distribution ($this->upgrade_url)
|
| 637 |
$success = false;
|
| 638 |
-
} else if ($
|
| 639 |
-
$this->upgrade_error = "Could not download distribution ($this->upgrade_url)
|
| 640 |
$success = false;
|
| 641 |
} else {
|
| 642 |
$fh = @fopen($this->upgrade_filename, 'w');
|
|
|
|
| 643 |
if (!$fh) {
|
| 644 |
-
$this->upgrade_error = "Could not open
|
|
|
|
|
|
|
| 645 |
$success = false;
|
| 646 |
-
} else if (!@fwrite($fh, $
|
| 647 |
-
$this->upgrade_error = "Could not write to $this->upgrade_filename
|
| 648 |
$success = false;
|
| 649 |
}
|
| 650 |
if ($success) {
|
| 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.8.5
|
| 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.8.5";
|
| 32 |
|
| 33 |
/** Max numbers of chars in auto-generated description */
|
| 34 |
var $maximum_description_length = 160;
|
| 628 |
return $file;
|
| 629 |
}
|
| 630 |
|
|
|
|
| 631 |
function download_newest_version() {
|
| 632 |
$success = true;
|
| 633 |
+
$file_content = $this->get_url($this->upgrade_url);
|
| 634 |
+
if ($file_content === false) {
|
| 635 |
+
$this->upgrade_error = sprintf(__("Could not download distribution (%s)"), $this->upgrade_url);
|
| 636 |
$success = false;
|
| 637 |
+
} else if (strlen($file_content) < 100) {
|
| 638 |
+
$this->upgrade_error = sprintf(__("Could not download distribution (%s): %s"), $this->upgrade_url, $file_content);
|
| 639 |
$success = false;
|
| 640 |
} else {
|
| 641 |
$fh = @fopen($this->upgrade_filename, 'w');
|
| 642 |
+
$fh = false;
|
| 643 |
if (!$fh) {
|
| 644 |
+
$this->upgrade_error = sprintf(__("Could not open %s for writing"), $this->upgrade_filename);
|
| 645 |
+
$this->upgrade_error .= "<br/>";
|
| 646 |
+
$this->upgrade_error .= sprintf(__("Please make sure %s is writable"), $this->upgrade_folder);
|
| 647 |
$success = false;
|
| 648 |
+
} else if (!@fwrite($fh, $file_content)) {
|
| 649 |
+
$this->upgrade_error = sprintf(__("Could not write to %s"), $this->upgrade_filename);
|
| 650 |
$success = false;
|
| 651 |
}
|
| 652 |
if ($success) {
|
all_in_one_seo_pack.pot
CHANGED
|
@@ -223,3 +223,18 @@ msgstr ""
|
|
| 223 |
msgid "Additional META:"
|
| 224 |
msgstr ""
|
| 225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
msgid "Additional META:"
|
| 224 |
msgstr ""
|
| 225 |
|
| 226 |
+
msgid "Could not download distribution (%s)"
|
| 227 |
+
msgstr ""
|
| 228 |
+
|
| 229 |
+
msgid "Could not download distribution (%s): %s"
|
| 230 |
+
msgstr ""
|
| 231 |
+
|
| 232 |
+
msgid "Could not open %s for writing"
|
| 233 |
+
msgstr ""
|
| 234 |
+
|
| 235 |
+
msgid "Please make sure %s is writable"
|
| 236 |
+
msgstr ""
|
| 237 |
+
|
| 238 |
+
msgid "Could not write to %s"
|
| 239 |
+
msgstr ""
|
| 240 |
+
|
