SEO Ultimate - Version 2.1.1

Version Description

Download this release

Release Info

Developer SEO Design Solutions
Plugin Icon 128x128 SEO Ultimate
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1 to 2.1.1

modules/settings/settings-data.php CHANGED
@@ -75,12 +75,11 @@ class SU_SettingsData extends SU_Module {
75
  $this->plugin->dbdata['settings'] = array();
76
  unset($this->plugin->dbdata['modules']);
77
  $this->load_default_settings();
78
-
79
- $this->queue_message('success', __("All settings have been erased and defaults have been restored.", 'seo-ultimate'));
80
  }
81
  }
82
 
83
  function import_tab() {
 
84
  $this->admin_subheader(__('Import SEO Ultimate Settings File', 'seo-ultimate'));
85
  $hook = $this->plugin->key_to_hook($this->get_module_or_parent_key());
86
  echo "\n<p>";
@@ -135,6 +134,8 @@ class SU_SettingsData extends SU_Module {
135
  }
136
 
137
  function reset_tab() {
 
 
138
  echo "\n<p>";
139
  _e("You can erase all your SEO Ultimate settings and restore them to &#8220;factory defaults&#8221; by clicking the button below.", 'seo-ultimate');
140
  echo "</p>\n<p>";
75
  $this->plugin->dbdata['settings'] = array();
76
  unset($this->plugin->dbdata['modules']);
77
  $this->load_default_settings();
 
 
78
  }
79
  }
80
 
81
  function import_tab() {
82
+ $this->print_messages();
83
  $this->admin_subheader(__('Import SEO Ultimate Settings File', 'seo-ultimate'));
84
  $hook = $this->plugin->key_to_hook($this->get_module_or_parent_key());
85
  echo "\n<p>";
134
  }
135
 
136
  function reset_tab() {
137
+ if ($this->is_action('su-reset'))
138
+ $this->print_message('success', __("All settings have been erased and defaults have been restored.", 'seo-ultimate'));
139
  echo "\n<p>";
140
  _e("You can erase all your SEO Ultimate settings and restore them to &#8220;factory defaults&#8221; by clicking the button below.", 'seo-ultimate');
141
  echo "</p>\n<p>";
plugin/class.seo-ultimate.php CHANGED
@@ -584,12 +584,10 @@ class SEO_Ultimate {
584
 
585
  /**
586
  * Saves settings data to the database.
587
- * Also deletes old hits, if that behavior is enabled.
588
  *
589
  * @since 0.8
590
  * @uses $dbdata
591
  * @uses get_setting()
592
- * @uses get_table_name()
593
  */
594
  function save_dbdata() {
595
 
@@ -603,13 +601,6 @@ class SEO_Ultimate {
603
  else
604
  //Save our data to the database
605
  update_option('seo_ultimate', $this->dbdata);
606
-
607
- //Delete old hits, if this behavior is enabled
608
- if ($this->get_setting('delete_old_hits', false, 'settings')) {
609
- global $wpdb;
610
- $mintime = time() - (intval($this->get_setting('delete_old_hits_value', 30, 'settings')) * 24 * 60 * 60);
611
- $wpdb->query($wpdb->prepare('DELETE FROM '.$this->get_table_name('hits').' WHERE `time` < %d', $mintime));
612
- }
613
  }
614
 
615
  /**
584
 
585
  /**
586
  * Saves settings data to the database.
 
587
  *
588
  * @since 0.8
589
  * @uses $dbdata
590
  * @uses get_setting()
 
591
  */
592
  function save_dbdata() {
593
 
601
  else
602
  //Save our data to the database
603
  update_option('seo_ultimate', $this->dbdata);
 
 
 
 
 
 
 
604
  }
605
 
606
  /**
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: SEO Design Solutions
3
  Tags: seo, google, yahoo, bing, search engines, admin, post, page, modules, title, meta, noindex, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, categories, uninstallable
4
  Requires at least: 2.8
5
  Tested up to: 2.9
6
- Stable tag: 2.1
7
 
8
  This all-in-one SEO plugin gives you control over titles, noindex, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
9
 
@@ -11,7 +11,7 @@ This all-in-one SEO plugin gives you control over titles, noindex, meta data, sl
11
 
12
  = Recent Releases =
13
 
14
- * Version 2.1 adds many 404 Monitor improvements
15
  * Version 2.0 adds title tag editing for post tags
16
  * Version 1.9 adds title tag editing for categories
17
 
@@ -40,7 +40,7 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
40
  * Go beyond the basic canonical tag functionality of WordPress 2.9+ with SEO Ultimate's support for category/tag/date/author archives.
41
  * Redirect requests for non-existent pagination with a simple checkbox.
42
 
43
- * **404 Monitor**
44
  * Improve the visiting experience of users and spiders by keeping tabs on "page not found" errors. (Use a redirection plugin to point dead-end URLs to your content.)
45
  * Find out what URLs are referring visitors to 404 errors.
46
 
@@ -62,7 +62,7 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
62
  * Access competitors' incoming links profile.
63
  * Find out what external websites your competitors are linking to.
64
 
65
- * **More Link Customizer** -- NEW in Version 1.3
66
  * Optimize your posts' "read more" links by including the posts' keyword-rich titles in the anchor text.
67
  * Override the "read more" link on a per-post basis.
68
  * Include `<strong>` or `<em>` tags in the anchor text if so desired.
@@ -94,7 +94,7 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
94
  * **Features Coming Soon**
95
  * Automatic XHTML validation checking
96
  * Nofollow options
97
- * Title tag editing for attachments and tag archives
98
  * ...And much, much more! Install SEO Ultimate today and use WordPress's automatic plugin updater to get new features as they're released.
99
 
100
  [**Download**](http://downloads.wordpress.org/plugin/seo-ultimate.zip) **your free copy of SEO Ultimate today.**
@@ -527,6 +527,9 @@ Here's information on some of the settings:
527
 
528
  = General FAQ =
529
 
 
 
 
530
  * **Where in WordPress does the plugin add itself?**
531
  SEO Ultimate puts all its admin pages under a new "SEO" top-level menu. The only exception is the plugin settings page, which goes under `Settings > SEO Ultimate`.
532
 
@@ -534,9 +537,8 @@ Here's information on some of the settings:
534
  SEO Ultimate's documentation is built into the plugin itself. Whenever you're viewing an SEO Ultimate page in your WordPress admin, you can click the "Help" tab in the upper-right-hand corner to view documentation for the area you're viewing.
535
 
536
  * **How do I uninstall SEO Ultimate?**
537
- 1. Go to the `Settings > SEO Ultimate` admin page.
538
- 2. Click the "Uninstall" tab.
539
- 3. Click the "Uninstall" button and click "Yes" to confirm. SEO Ultimate's files and database entries will be deleted.
540
 
541
  * **Will all my settings be deleted if I delete SEO Ultimate in the Plugins manager?**
542
  No. Your settings will be retained unless you uninstall SEO Ultimate under `Settings > SEO Ultimate > Uninstall`.
@@ -583,6 +585,10 @@ Frequently asked questions, documentation, and troubleshooting tips for SEO Ulti
583
 
584
  == Changelog ==
585
 
 
 
 
 
586
  = Version 2.1 (May 18, 2010) =
587
  * Improvement: Major 404 Monitor upgrade, featuring a new space-saving interface redesign
588
  * Improvement: 404 Monitor now stores its 404 log in wp_options instead of its own database table
3
  Tags: seo, google, yahoo, bing, search engines, admin, post, page, modules, title, meta, noindex, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, categories, uninstallable
4
  Requires at least: 2.8
5
  Tested up to: 2.9
6
+ Stable tag: 2.1.1
7
 
8
  This all-in-one SEO plugin gives you control over titles, noindex, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
9
 
11
 
12
  = Recent Releases =
13
 
14
+ * Version 2.1 adds a 404 Monitor overhaul and other improvements
15
  * Version 2.0 adds title tag editing for post tags
16
  * Version 1.9 adds title tag editing for categories
17
 
40
  * Go beyond the basic canonical tag functionality of WordPress 2.9+ with SEO Ultimate's support for category/tag/date/author archives.
41
  * Redirect requests for non-existent pagination with a simple checkbox.
42
 
43
+ * **404 Monitor** -- UPDATED in Version 2.1
44
  * Improve the visiting experience of users and spiders by keeping tabs on "page not found" errors. (Use a redirection plugin to point dead-end URLs to your content.)
45
  * Find out what URLs are referring visitors to 404 errors.
46
 
62
  * Access competitors' incoming links profile.
63
  * Find out what external websites your competitors are linking to.
64
 
65
+ * **More Link Customizer**
66
  * Optimize your posts' "read more" links by including the posts' keyword-rich titles in the anchor text.
67
  * Override the "read more" link on a per-post basis.
68
  * Include `<strong>` or `<em>` tags in the anchor text if so desired.
94
  * **Features Coming Soon**
95
  * Automatic XHTML validation checking
96
  * Nofollow options
97
+ * Title tag editing for attachments
98
  * ...And much, much more! Install SEO Ultimate today and use WordPress's automatic plugin updater to get new features as they're released.
99
 
100
  [**Download**](http://downloads.wordpress.org/plugin/seo-ultimate.zip) **your free copy of SEO Ultimate today.**
527
 
528
  = General FAQ =
529
 
530
+ * **Why "SEO Ultimate" instead of "Ultimate SEO"?**
531
+ Because "SEO Ultimate" works better as a brand name.
532
+
533
  * **Where in WordPress does the plugin add itself?**
534
  SEO Ultimate puts all its admin pages under a new "SEO" top-level menu. The only exception is the plugin settings page, which goes under `Settings > SEO Ultimate`.
535
 
537
  SEO Ultimate's documentation is built into the plugin itself. Whenever you're viewing an SEO Ultimate page in your WordPress admin, you can click the "Help" tab in the upper-right-hand corner to view documentation for the area you're viewing.
538
 
539
  * **How do I uninstall SEO Ultimate?**
540
+ 1. Go to the `Settings > SEO Ultimate` admin page and click the "Uninstall" tab.
541
+ 2. Click the "Uninstall Now" button and click "Yes" to confirm. SEO Ultimate's files and database entries will be deleted.
 
542
 
543
  * **Will all my settings be deleted if I delete SEO Ultimate in the Plugins manager?**
544
  No. Your settings will be retained unless you uninstall SEO Ultimate under `Settings > SEO Ultimate > Uninstall`.
585
 
586
  == Changelog ==
587
 
588
+ = Version 2.1.1 (May 19, 2010) =
589
+ * Bugfix: Fixed "get_table_name" fatal error that appeared when upgrading certain configurations
590
+ * Bugfix: Restored missing success/error messages for import/reset functions
591
+
592
  = Version 2.1 (May 18, 2010) =
593
  * Improvement: Major 404 Monitor upgrade, featuring a new space-saving interface redesign
594
  * Improvement: 404 Monitor now stores its 404 log in wp_options instead of its own database table
seo-ultimate.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
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 titles, noindex, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
6
- Version: 2.1
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.1
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.1");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
- define("SU_USER_AGENT", "SeoUltimate/2.1");
45
 
46
  /********** INCLUDES **********/
47
 
2
  /*
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, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
6
+ Version: 2.1.1
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.1.1
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.1.1");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
+ define("SU_USER_AGENT", "SeoUltimate/2.1.1");
45
 
46
  /********** INCLUDES **********/
47