Version Description
Download this release
Release Info
Developer | SEO Design Solutions |
Plugin | SEO Ultimate |
Version | 2.6 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.6
- modules/settings/install.php +17 -3
- plugin/class.seo-ultimate.php +1 -1
- readme.txt +9 -5
- seo-ultimate.php +4 -4
modules/settings/install.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
|
8 |
if (class_exists('SU_Module')) {
|
9 |
|
10 |
-
define('SU_DOWNGRADE_LIMIT', '2.
|
11 |
|
12 |
class SU_Install extends SU_Module {
|
13 |
|
@@ -22,6 +22,7 @@ class SU_Install extends SU_Module {
|
|
22 |
return array(
|
23 |
__('Upgrade', 'seo-ultimate') => 'upgrade_tab'
|
24 |
, __('Downgrade', 'seo-ultimate') => 'downgrade_tab'
|
|
|
25 |
);
|
26 |
}
|
27 |
|
@@ -75,6 +76,16 @@ class SU_Install extends SU_Module {
|
|
75 |
$this->print_message('error', __("There was an error retrieving the list of available versions. Please try again later.", 'seo-ultimate'));
|
76 |
}
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
function get_version_radiobuttons($min, $max) {
|
79 |
|
80 |
$this->update_setting('version', SU_VERSION);
|
@@ -121,11 +132,11 @@ class SU_Install extends SU_Module {
|
|
121 |
if ( ! current_user_can('update_plugins') )
|
122 |
wp_die(__('You do not have sufficient permissions to upgrade/downgrade plugins for this blog.', 'seo-ultimate'));
|
123 |
|
124 |
-
$nv = sustr::preg_filter('
|
125 |
if (!strlen($nv)) return false;
|
126 |
|
127 |
//Don't allow downgrading to anything below the minimum limit
|
128 |
-
if (version_compare(SU_DOWNGRADE_LIMIT, $nv)) return;
|
129 |
|
130 |
switch (version_compare($nv, SU_VERSION)) {
|
131 |
case -1: //Downgrade
|
@@ -136,6 +147,9 @@ class SU_Install extends SU_Module {
|
|
136 |
break;
|
137 |
case 1: //Upgrade
|
138 |
$title = __('Upgrade to SEO Ultimate %s', 'seo-ultimate');
|
|
|
|
|
|
|
139 |
}
|
140 |
|
141 |
$title = sprintf($title, $nv);
|
7 |
|
8 |
if (class_exists('SU_Module')) {
|
9 |
|
10 |
+
define('SU_DOWNGRADE_LIMIT', '2.6');
|
11 |
|
12 |
class SU_Install extends SU_Module {
|
13 |
|
22 |
return array(
|
23 |
__('Upgrade', 'seo-ultimate') => 'upgrade_tab'
|
24 |
, __('Downgrade', 'seo-ultimate') => 'downgrade_tab'
|
25 |
+
, __('Reinstall', 'seo-ultimate') => 'reinstall_tab'
|
26 |
);
|
27 |
}
|
28 |
|
76 |
$this->print_message('error', __("There was an error retrieving the list of available versions. Please try again later.", 'seo-ultimate'));
|
77 |
}
|
78 |
|
79 |
+
function reinstall_tab() {
|
80 |
+
echo "\n<p>";
|
81 |
+
_e("To download and install a fresh copy of the SEO Ultimate version you are currently using, click the “Reinstall” button below.", 'seo-ultimate');
|
82 |
+
echo "</p>\n";
|
83 |
+
|
84 |
+
$this->admin_form_start(false, false);
|
85 |
+
echo "<input type='hidden' name='version' id='version' value='".su_esc_attr(SU_VERSION)."' />\n";
|
86 |
+
$this->admin_form_end(__('Reinstall', 'seo-ultimate'), false);
|
87 |
+
}
|
88 |
+
|
89 |
function get_version_radiobuttons($min, $max) {
|
90 |
|
91 |
$this->update_setting('version', SU_VERSION);
|
132 |
if ( ! current_user_can('update_plugins') )
|
133 |
wp_die(__('You do not have sufficient permissions to upgrade/downgrade plugins for this blog.', 'seo-ultimate'));
|
134 |
|
135 |
+
$nv = sustr::preg_filter('0-9a-zA-Z .', $_POST['version']);
|
136 |
if (!strlen($nv)) return false;
|
137 |
|
138 |
//Don't allow downgrading to anything below the minimum limit
|
139 |
+
if (version_compare(SU_DOWNGRADE_LIMIT, $nv, '>')) return;
|
140 |
|
141 |
switch (version_compare($nv, SU_VERSION)) {
|
142 |
case -1: //Downgrade
|
147 |
break;
|
148 |
case 1: //Upgrade
|
149 |
$title = __('Upgrade to SEO Ultimate %s', 'seo-ultimate');
|
150 |
+
break;
|
151 |
+
default:
|
152 |
+
return;
|
153 |
}
|
154 |
|
155 |
$title = sprintf($title, $nv);
|
plugin/class.seo-ultimate.php
CHANGED
@@ -137,7 +137,7 @@ class SEO_Ultimate {
|
|
137 |
/********** LOAD/SAVE DATABASE DATA **********/
|
138 |
|
139 |
//Load
|
140 |
-
$this->dbdata = get_option('seo_ultimate', array());
|
141 |
$this->upgrade_to_08();
|
142 |
|
143 |
//Save
|
137 |
/********** LOAD/SAVE DATABASE DATA **********/
|
138 |
|
139 |
//Load
|
140 |
+
$this->dbdata = maybe_unserialize(get_option('seo_ultimate', array()));
|
141 |
$this->upgrade_to_08();
|
142 |
|
143 |
//Save
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== SEO Ultimate ===
|
2 |
Contributors: SEO Design Solutions
|
3 |
-
Tags: seo, google, yahoo, bing, search engines, admin, post, page, modules, title, meta, robots, noindex, nofollow, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, categories, uninstallable, downgradable
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.0
|
6 |
-
Stable tag: 2.
|
7 |
|
8 |
This all-in-one SEO plugin gives you control over titles, noindex/nofollow, meta tags, slugs, canonical tags, "more" links, 404 errors, and more.
|
9 |
|
@@ -11,11 +11,11 @@ This all-in-one SEO plugin gives you control over titles, noindex/nofollow, meta
|
|
11 |
|
12 |
= Recent Releases =
|
13 |
|
|
|
14 |
* Version 2.5 adds advanced plugin upgrade/downgrade functionality
|
15 |
* Version 2.4 adds a nofollow option for Deeplink Juggernaut links
|
16 |
* Version 2.3 adds per-post noindex/nofollow toggles
|
17 |
* Version 2.2 adds a links-per-post limiter for Deeplink Juggernaut
|
18 |
-
* Version 2.1 adds a 404 Monitor overhaul and many other improvements
|
19 |
|
20 |
= Features =
|
21 |
|
@@ -591,12 +591,16 @@ Frequently asked questions, documentation, and troubleshooting tips for SEO Ulti
|
|
591 |
|
592 |
== Changelog ==
|
593 |
|
|
|
|
|
|
|
|
|
594 |
= Version 2.5.1 (June 1, 2010) =
|
595 |
-
* Bugfix: Fixed "string offset" fatal error that
|
596 |
|
597 |
= Version 2.5 (June 1, 2010) =
|
598 |
* Feature: Users can now upgrade/downgrade SEO Ultimate to versions of their choosing starting with 2.5
|
599 |
-
* Bugfix: Fixed "string offset" fatal error that
|
600 |
|
601 |
= Version 2.4 (May 28, 2010) =
|
602 |
* Feature: Added nofollow option for Deeplink Juggernaut links
|
1 |
=== SEO Ultimate ===
|
2 |
Contributors: SEO Design Solutions
|
3 |
+
Tags: seo, google, yahoo, bing, search engines, admin, post, page, modules, title, meta, robots, noindex, nofollow, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, categories, uninstallable, reinstallable, downgradable
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.0
|
6 |
+
Stable tag: 2.6
|
7 |
|
8 |
This all-in-one SEO plugin gives you control over titles, noindex/nofollow, meta tags, slugs, canonical tags, "more" links, 404 errors, and more.
|
9 |
|
11 |
|
12 |
= Recent Releases =
|
13 |
|
14 |
+
* Version 2.6 adds reinstallation support
|
15 |
* Version 2.5 adds advanced plugin upgrade/downgrade functionality
|
16 |
* Version 2.4 adds a nofollow option for Deeplink Juggernaut links
|
17 |
* Version 2.3 adds per-post noindex/nofollow toggles
|
18 |
* Version 2.2 adds a links-per-post limiter for Deeplink Juggernaut
|
|
|
19 |
|
20 |
= Features =
|
21 |
|
591 |
|
592 |
== Changelog ==
|
593 |
|
594 |
+
= Version 2.6 (June 3, 2010) =
|
595 |
+
* Feature: Users can now reinstall a fresh copy of the plugin from within `Settings > SEO Ultimate > Reinstall`
|
596 |
+
* Bugfix: SEO Ultimate now handles accidental double-serialization of the settings array
|
597 |
+
|
598 |
= Version 2.5.1 (June 1, 2010) =
|
599 |
+
* Bugfix: Fixed "string offset" fatal error that appeared on certain setups
|
600 |
|
601 |
= Version 2.5 (June 1, 2010) =
|
602 |
* Feature: Users can now upgrade/downgrade SEO Ultimate to versions of their choosing starting with 2.5
|
603 |
+
* Bugfix: Fixed "string offset" fatal error that appeared on certain setups
|
604 |
|
605 |
= Version 2.4 (May 28, 2010) =
|
606 |
* Feature: Added nofollow option for Deeplink Juggernaut links
|
seo-ultimate.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SEO Ultimate
|
4 |
Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
|
5 |
Description: This all-in-one SEO plugin gives you control over title tags, noindex/nofollow, meta tags, slugs, canonical tags, "more" links, 404 errors, and more.
|
6 |
-
Version: 2.
|
7 |
Author: SEO Design Solutions
|
8 |
Author URI: http://www.seodesignsolutions.com/
|
9 |
Text Domain: seo-ultimate
|
@@ -12,7 +12,7 @@ Text Domain: seo-ultimate
|
|
12 |
/**
|
13 |
* The main SEO Ultimate plugin file.
|
14 |
* @package SeoUltimate
|
15 |
-
* @version 2.
|
16 |
* @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
|
17 |
*/
|
18 |
|
@@ -38,10 +38,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
38 |
//Reading plugin info from constants is faster than trying to parse it from the header above.
|
39 |
define("SU_PLUGIN_NAME", "SEO Ultimate");
|
40 |
define("SU_PLUGIN_URI", "http://www.seodesignsolutions.com/wordpress-seo/");
|
41 |
-
define("SU_VERSION", "2.
|
42 |
define("SU_AUTHOR", "SEO Design Solutions");
|
43 |
define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
|
44 |
-
define("SU_USER_AGENT", "SeoUltimate/2.
|
45 |
|
46 |
/********** INCLUDES **********/
|
47 |
|
3 |
Plugin Name: SEO Ultimate
|
4 |
Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
|
5 |
Description: This all-in-one SEO plugin gives you control over title tags, noindex/nofollow, meta tags, slugs, canonical tags, "more" links, 404 errors, and more.
|
6 |
+
Version: 2.6
|
7 |
Author: SEO Design Solutions
|
8 |
Author URI: http://www.seodesignsolutions.com/
|
9 |
Text Domain: seo-ultimate
|
12 |
/**
|
13 |
* The main SEO Ultimate plugin file.
|
14 |
* @package SeoUltimate
|
15 |
+
* @version 2.6
|
16 |
* @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
|
17 |
*/
|
18 |
|
38 |
//Reading plugin info from constants is faster than trying to parse it from the header above.
|
39 |
define("SU_PLUGIN_NAME", "SEO Ultimate");
|
40 |
define("SU_PLUGIN_URI", "http://www.seodesignsolutions.com/wordpress-seo/");
|
41 |
+
define("SU_VERSION", "2.6");
|
42 |
define("SU_AUTHOR", "SEO Design Solutions");
|
43 |
define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
|
44 |
+
define("SU_USER_AGENT", "SeoUltimate/2.6");
|
45 |
|
46 |
/********** INCLUDES **********/
|
47 |
|