SEO Ultimate - Version 1.1.1

Version Description

Download this release

Release Info

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

Code changes from version 1.1 to 1.1.1

Files changed (4) hide show
  1. class.su-module.php +19 -1
  2. modules/titles.php +4 -2
  3. readme.txt +4 -1
  4. seo-ultimate.php +4 -4
class.su-module.php CHANGED
@@ -295,6 +295,22 @@ class SU_Module {
295
  return $label;
296
  }
297
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
 
299
  /********** SETTINGS FUNCTIONS **********/
300
 
@@ -502,9 +518,11 @@ class SU_Module {
502
  * Enqueues the JavaScript needed for the admin page tabs.
503
  *
504
  * @since 0.8
 
505
  */
506
  function admin_page_tabs_js() {
507
- wp_enqueue_script('jquery-ui-tabs');
 
508
  }
509
 
510
  /**
295
  return $label;
296
  }
297
 
298
+ /**
299
+ * Returns a boolean indicating whether the user is currently viewing this module's admin page.
300
+ *
301
+ * @since 1.1.1
302
+ *
303
+ * @return bool Whether the user is currently viewing this module's admin page.
304
+ */
305
+ function is_module_admin_page() {
306
+ if (is_admin()) {
307
+ global $plugin_page;
308
+ if (strcmp($plugin_page, SEO_Ultimate::key_to_hook($this->get_module_key())) == 0) return true;
309
+ }
310
+
311
+ return false;
312
+ }
313
+
314
 
315
  /********** SETTINGS FUNCTIONS **********/
316
 
518
  * Enqueues the JavaScript needed for the admin page tabs.
519
  *
520
  * @since 0.8
521
+ * @uses is_module_admin_page()
522
  */
523
  function admin_page_tabs_js() {
524
+ if ($this->is_module_admin_page())
525
+ wp_enqueue_script('jquery-ui-tabs');
526
  }
527
 
528
  /**
modules/titles.php CHANGED
@@ -16,6 +16,7 @@ class SU_Titles extends SU_Module {
16
  add_action('template_redirect', array(&$this, 'before_header'), 0);
17
  add_action('wp_head', array(&$this, 'after_header'), 1000);
18
  add_filter('su_postmeta_help', array(&$this, 'postmeta_help'), 10);
 
19
  }
20
 
21
  function get_default_settings() {
@@ -310,8 +311,9 @@ STR;
310
 
311
  /*if (strlen($num_varname) && strlen($offset_varname))
312
  $args = "$num_varname=20&$offset_varname=0";
313
- else*/
314
- $args = '';
 
315
 
316
  $objects = $function($args);
317
  $pagination_total = ceil(count($function()) / 2);
16
  add_action('template_redirect', array(&$this, 'before_header'), 0);
17
  add_action('wp_head', array(&$this, 'after_header'), 1000);
18
  add_filter('su_postmeta_help', array(&$this, 'postmeta_help'), 10);
19
+ $this->admin_page_tabs_init();
20
  }
21
 
22
  function get_default_settings() {
311
 
312
  /*if (strlen($num_varname) && strlen($offset_varname))
313
  $args = "$num_varname=20&$offset_varname=0";
314
+ else
315
+ $args = '';*/
316
+ $args = "$num_varname=1000";
317
 
318
  $objects = $function($args);
319
  $pagination_total = ceil(count($function()) / 2);
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
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,6 +192,9 @@ Yes. WordPress plugins are supposed to delete their settings during the uninstal
192
 
193
  == Changelog ==
194
 
 
 
 
195
  = Version 1.1 (October 7, 2009) =
196
  * Feature: You can now mass-edit post/page titles from the Title Rewriter module
197
  * Bugfix: Fixed a variety of bugs that only appear on PHP4 setups
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
 
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
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
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
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");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
- define("SU_USER_AGENT", "SeoUltimate/1.1");
45
 
46
  define('SU_MODULE_ENABLED', 10);
47
  define('SU_MODULE_SILENCED', 5);
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
  /**
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
  //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);