SEO Ultimate - Version 1.1.2

Version Description

Download this release

Release Info

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

Code changes from version 1.1.1 to 1.1.2

Files changed (4) hide show
  1. class.seo-ultimate.php +7 -6
  2. readme.txt +4 -2
  3. seo-ultimate.php +5 -5
  4. tabs.js +1 -1
class.seo-ultimate.php CHANGED
@@ -449,7 +449,7 @@ class SEO_Ultimate {
449
  if (isset($oldmodules[$key])) {
450
  $newmodules[$key] = $oldmodules[$key];
451
  } else {
452
- $module->activate();
453
  $newmodules[$key] = SU_MODULE_ENABLED;
454
  }
455
  }
@@ -481,9 +481,10 @@ class SEO_Ultimate {
481
  load_plugin_textdomain('seo-ultimate', '', plugin_basename($this->plugin_file_path));
482
 
483
  //Load default module settings and run modules' init tasks
484
- foreach ($this->modules as $module) {
485
- $module->load_default_settings();
486
- $module->init();
 
487
  }
488
  }
489
 
@@ -1048,8 +1049,8 @@ class SEO_Ultimate {
1048
  */
1049
  function get_postmeta_array($screen='post') {
1050
  $fields = array();
1051
- foreach ($this->modules as $module)
1052
- $fields = $module->postmeta_fields($fields, $screen);
1053
  return $fields;
1054
  }
1055
 
449
  if (isset($oldmodules[$key])) {
450
  $newmodules[$key] = $oldmodules[$key];
451
  } else {
452
+ $this->modules[$key]->activate();
453
  $newmodules[$key] = SU_MODULE_ENABLED;
454
  }
455
  }
481
  load_plugin_textdomain('seo-ultimate', '', plugin_basename($this->plugin_file_path));
482
 
483
  //Load default module settings and run modules' init tasks
484
+ foreach ($this->modules as $key => $module) {
485
+ //Accessing $module directly causes problems when the modules use the &$this reference
486
+ $this->modules[$key]->load_default_settings();
487
+ $this->modules[$key]->init();
488
  }
489
  }
490
 
1049
  */
1050
  function get_postmeta_array($screen='post') {
1051
  $fields = array();
1052
+ foreach ($this->modules as $key => $module)
1053
+ $fields = $this->modules[$key]->postmeta_fields($fields, $screen);
1054
  return $fields;
1055
  }
1056
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: SEO Design Solutions
3
  Tags: seo, title, meta, noindex, canonical, 404, robots.txt, htaccess, slugs, url, google, yahoo, bing, search engines, admin, post, page, modules
4
  Requires at least: 2.7
5
  Tested up to: 2.8.4
6
- Stable tag: 1.1.1
7
 
8
  This all-in-one SEO plugin can handle titles, noindex, meta data, slugs, canonical tags, 404 error tracking, and more (with many more features coming soon).
9
 
@@ -192,12 +192,14 @@ Yes. WordPress plugins are supposed to delete their settings during the uninstal
192
 
193
  == Changelog ==
194
 
 
 
 
195
  = Version 1.1.1 (October 8, 2009) =
196
  * Bugfix: Fixed tab rendering bug
197
 
198
  = Version 1.1 (October 7, 2009) =
199
  * Feature: You can now mass-edit post/page titles from the Title Rewriter module
200
- * Bugfix: Fixed a variety of bugs that only appear on PHP4 setups
201
  * Bugfix: Fixed logo background color in the Whitepapers module
202
  * Improvement: Title Rewriter now supports 10 additional title format variables
203
  * Improvement: Added internationalization support for admin menu notice numbers
3
  Tags: seo, title, meta, noindex, canonical, 404, robots.txt, htaccess, slugs, url, google, yahoo, bing, search engines, admin, post, page, modules
4
  Requires at least: 2.7
5
  Tested up to: 2.8.4
6
+ Stable tag: 1.1.2
7
 
8
  This all-in-one SEO plugin can handle titles, noindex, meta data, slugs, canonical tags, 404 error tracking, and more (with many more features coming soon).
9
 
192
 
193
  == Changelog ==
194
 
195
+ = Version 1.1.2 (October 9, 2009) =
196
+ * Compatibility: Added PHP4 support
197
+
198
  = Version 1.1.1 (October 8, 2009) =
199
  * Bugfix: Fixed tab rendering bug
200
 
201
  = Version 1.1 (October 7, 2009) =
202
  * Feature: You can now mass-edit post/page titles from the Title Rewriter module
 
203
  * Bugfix: Fixed logo background color in the Whitepapers module
204
  * Improvement: Title Rewriter now supports 10 additional title format variables
205
  * Improvement: Added internationalization support for admin menu notice numbers
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 can rewrite title tags, set meta data, add noindex, insert canonical tags, log 404 errors, edit your robots.txt, and more.
6
- Version: 1.1.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 1.1.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", "1.1.1");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
- define("SU_USER_AGENT", "SeoUltimate/1.1.1");
45
 
46
  define('SU_MODULE_ENABLED', 10);
47
  define('SU_MODULE_SILENCED', 5);
@@ -67,7 +67,7 @@ require('class.su-hitset.php');
67
 
68
  global $seo_ultimate;
69
  if (defined('ABSPATH'))
70
- $seo_ultimate = new SEO_Ultimate();
71
  else {
72
  header('Status: 403 Forbidden');
73
  header('HTTP/1.1 403 Forbidden');
3
  Plugin Name: SEO Ultimate
4
  Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
5
  Description: This all-in-one SEO plugin can rewrite title tags, set meta data, add noindex, insert canonical tags, log 404 errors, edit your robots.txt, and more.
6
+ Version: 1.1.2
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 1.1.2
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", "1.1.2");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
+ define("SU_USER_AGENT", "SeoUltimate/1.1.2");
45
 
46
  define('SU_MODULE_ENABLED', 10);
47
  define('SU_MODULE_SILENCED', 5);
67
 
68
  global $seo_ultimate;
69
  if (defined('ABSPATH'))
70
+ $seo_ultimate =& new SEO_Ultimate();
71
  else {
72
  header('Status: 403 Forbidden');
73
  header('HTTP/1.1 403 Forbidden');
tabs.js CHANGED
@@ -5,7 +5,7 @@ jQuery(function()
5
 
6
  function su_init_tabs()
7
  {
8
- /* if this is not the breadcrumb admin page, quit */
9
  if (!jQuery("#su-tabset").length) return;
10
 
11
  /* init markup for tabs */
5
 
6
  function su_init_tabs()
7
  {
8
+ /* if this is not the SEO Ultimate admin page, quit */
9
  if (!jQuery("#su-tabset").length) return;
10
 
11
  /* init markup for tabs */