SEO Ultimate - Version 4.1

Version Description

Download this release

Release Info

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

Code changes from version 4.0.1 to 4.1

Files changed (3) hide show
  1. modules/titles/titles.php +14 -0
  2. readme.txt +7 -4
  3. seo-ultimate.php +4 -4
modules/titles/titles.php CHANGED
@@ -21,6 +21,7 @@ class SU_Titles extends SU_Module {
21
  return array_merge(
22
  array(
23
  __('Default Formats') => 'formats_tab'
 
24
  )
25
  , $this->get_meta_edit_tabs(array(
26
  'type' => 'textbox'
@@ -37,6 +38,12 @@ class SU_Titles extends SU_Module {
37
  echo "</table>";
38
  }
39
 
 
 
 
 
 
 
40
  function get_default_settings() {
41
 
42
  //We internationalize even non-text formats (like "{post} | {blog}") to allow RTL languages to switch the order of the variables
@@ -53,6 +60,8 @@ class SU_Titles extends SU_Module {
53
  , 'title_search' => __('Search Results for {query} | {blog}', 'seo-ultimate')
54
  , 'title_404' => __('404 Not Found | {blog}', 'seo-ultimate')
55
  , 'title_paged' => __('{title} - Page {num}', 'seo-ultimate')
 
 
56
  );
57
  }
58
 
@@ -173,12 +182,17 @@ class SU_Titles extends SU_Module {
173
  $cat_title = $categories[0]->name;
174
  $cat_desc = category_description($categories[0]->term_id);
175
  }
 
 
176
 
177
  //Load tag titles
178
  $tag_title = $tag_desc = '';
179
  if (is_tag()) {
180
  $tag_title = single_tag_title('', false);
181
  $tag_desc = tag_description();
 
 
 
182
  }
183
 
184
  //Load author titles
21
  return array_merge(
22
  array(
23
  __('Default Formats') => 'formats_tab'
24
+ , __('Settings') => 'settings_tab'
25
  )
26
  , $this->get_meta_edit_tabs(array(
27
  'type' => 'textbox'
38
  echo "</table>";
39
  }
40
 
41
+ function settings_tab() {
42
+ $this->admin_form_table_start();
43
+ $this->checkbox('terms_ucwords', __('Convert lowercase category/tag names to title case when used in title tags.', 'seo-ultimate'), __('Title Tag Variables', 'seo-ultimate'));
44
+ $this->admin_form_table_end();
45
+ }
46
+
47
  function get_default_settings() {
48
 
49
  //We internationalize even non-text formats (like "{post} | {blog}") to allow RTL languages to switch the order of the variables
60
  , 'title_search' => __('Search Results for {query} | {blog}', 'seo-ultimate')
61
  , 'title_404' => __('404 Not Found | {blog}', 'seo-ultimate')
62
  , 'title_paged' => __('{title} - Page {num}', 'seo-ultimate')
63
+
64
+ , 'terms_ucwords' => true
65
  );
66
  }
67
 
182
  $cat_title = $categories[0]->name;
183
  $cat_desc = category_description($categories[0]->term_id);
184
  }
185
+ if (strlen($cat_title) && $this->get_setting('terms_ucwords', true) && $cat_title == strtolower($cat_title))
186
+ $cat_title = ucwords($cat_title);
187
 
188
  //Load tag titles
189
  $tag_title = $tag_desc = '';
190
  if (is_tag()) {
191
  $tag_title = single_tag_title('', false);
192
  $tag_desc = tag_description();
193
+
194
+ if ($this->get_setting('terms_ucwords', true) && $tag_title == strtolower($tag_title))
195
+ $tag_title = ucwords($tag_title);
196
  }
197
 
198
  //Load author titles
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: SEO Design Solutions
3
  Tags: seo, SEO Ultimate, suite, google, yahoo, bing, search engines, admin, post, page, custom post types, categories, tags, terms, custom taxonomies, title, meta, robots, noindex, nofollow, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, code, footer, modules, uninstallable, reinstallable, downgradable, import, export, CSV
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
- Stable tag: 4.0.1
7
 
8
  This all-in-one SEO plugin gives you control over titles, noindex/nofollow, meta tags, slugs, canonical tags, autolinks, 404 errors, rich snippets, and more.
9
 
@@ -11,17 +11,17 @@ This all-in-one SEO plugin gives you control over titles, noindex/nofollow, meta
11
 
12
  = Recent Releases =
13
 
 
14
  * Version 4.0 adds meta description mass-editor for posts, pages, attachments, and custom post types
15
  * Version 3.9 adds the ability to build internal links to posts from within the WordPress post editor (as well as other Deeplink Juggernaut improvements)
16
  * Version 3.8 adds direct post/page link support to Deeplink Juggernaut
17
  * Version 3.7 adds the "SEO Settings" box to custom post type editors
18
- * Version 3.6 adds a maximum log size option to 404 Monitor
19
 
20
  = Features =
21
 
22
  SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin with these powerful features:
23
 
24
- * **Title Tag Rewriter**
25
  * Out-of-the-box functionality puts your post titles at the beginning of the `<title>` tag for improved keyword SEO.
26
  * Easily override the entire `<title>` tag contents for any individual post, page, attachment, category, or post tag on your blog. Also supports custom post types.
27
  * Customize your homepage's `<title>` tag.
@@ -46,7 +46,7 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
46
  * Go beyond the basic canonical tag functionality of WordPress 2.9+ with SEO Ultimate's support for category/tag/date/author archives.
47
  * Redirect requests for non-existent pagination with a simple checkbox.
48
 
49
- * **404 Monitor** -- UPDATED in Version 3.6
50
  * 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.)
51
  * Find out what URLs are referring visitors to 404 errors.
52
  * The default settings hone in on the most important errors by only logging 404s that either have a referring URL or are generated by a search engine spider.
@@ -213,6 +213,9 @@ Frequently asked questions, settings help, and troubleshooting tips for SEO Ulti
213
 
214
  == Changelog ==
215
 
 
 
 
216
  = Version 4.0.1 (August 3, 2010) =
217
  * Improvement: Added admin page documentation for the Meta Description Editor, Meta Keywords Editor, Meta Robot Tags Editor, and Webmaster Verification Assistant modules
218
 
3
  Tags: seo, SEO Ultimate, suite, google, yahoo, bing, search engines, admin, post, page, custom post types, categories, tags, terms, custom taxonomies, title, meta, robots, noindex, nofollow, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, code, footer, modules, uninstallable, reinstallable, downgradable, import, export, CSV
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
+ Stable tag: 4.1
7
 
8
  This all-in-one SEO plugin gives you control over titles, noindex/nofollow, meta tags, slugs, canonical tags, autolinks, 404 errors, rich snippets, and more.
9
 
11
 
12
  = Recent Releases =
13
 
14
+ * Version 4.1 adds tag title capitalization for title tags
15
  * Version 4.0 adds meta description mass-editor for posts, pages, attachments, and custom post types
16
  * Version 3.9 adds the ability to build internal links to posts from within the WordPress post editor (as well as other Deeplink Juggernaut improvements)
17
  * Version 3.8 adds direct post/page link support to Deeplink Juggernaut
18
  * Version 3.7 adds the "SEO Settings" box to custom post type editors
 
19
 
20
  = Features =
21
 
22
  SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin with these powerful features:
23
 
24
+ * **Title Tag Rewriter** -- UPDATED in Version 4.1
25
  * Out-of-the-box functionality puts your post titles at the beginning of the `<title>` tag for improved keyword SEO.
26
  * Easily override the entire `<title>` tag contents for any individual post, page, attachment, category, or post tag on your blog. Also supports custom post types.
27
  * Customize your homepage's `<title>` tag.
46
  * Go beyond the basic canonical tag functionality of WordPress 2.9+ with SEO Ultimate's support for category/tag/date/author archives.
47
  * Redirect requests for non-existent pagination with a simple checkbox.
48
 
49
+ * **404 Monitor**
50
  * 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.)
51
  * Find out what URLs are referring visitors to 404 errors.
52
  * The default settings hone in on the most important errors by only logging 404s that either have a referring URL or are generated by a search engine spider.
213
 
214
  == Changelog ==
215
 
216
+ = Version 4.1 (August 4, 2010) =
217
+ * Feature: Title Tag Rewriter now automatically converts lowercase category/tag names into title case when used in title tags (can be adjusted under the new "Settings" tab of Title Tag Rewriter)
218
+
219
  = Version 4.0.1 (August 3, 2010) =
220
  * Improvement: Added admin page documentation for the Meta Description Editor, Meta Keywords Editor, Meta Robot Tags Editor, and Webmaster Verification Assistant modules
221
 
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, rich snippets, slugs, canonical tags, autolinks, 404 errors, rich snippets, and more.
6
- Version: 4.0.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 4.0.1
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
@@ -47,10 +47,10 @@ define('SU_MINIMUM_WP_VER', '2.8');
47
  //Reading plugin info from constants is faster than trying to parse it from the header above.
48
  define('SU_PLUGIN_NAME', 'SEO Ultimate');
49
  define('SU_PLUGIN_URI', 'http://www.seodesignsolutions.com/wordpress-seo/');
50
- define('SU_VERSION', '4.0.1');
51
  define('SU_AUTHOR', 'SEO Design Solutions');
52
  define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
53
- define('SU_USER_AGENT', 'SeoUltimate/4.0.1');
54
 
55
  /********** INCLUDES **********/
56
 
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, rich snippets, slugs, canonical tags, autolinks, 404 errors, rich snippets, and more.
6
+ Version: 4.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 4.1
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
47
  //Reading plugin info from constants is faster than trying to parse it from the header above.
48
  define('SU_PLUGIN_NAME', 'SEO Ultimate');
49
  define('SU_PLUGIN_URI', 'http://www.seodesignsolutions.com/wordpress-seo/');
50
+ define('SU_VERSION', '4.1');
51
  define('SU_AUTHOR', 'SEO Design Solutions');
52
  define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
53
+ define('SU_USER_AGENT', 'SeoUltimate/4.1');
54
 
55
  /********** INCLUDES **********/
56