SEO Ultimate - Version 4.3

Version Description

Download this release

Release Info

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

Code changes from version 4.2 to 4.3

modules/meta/meta-descriptions.php CHANGED
@@ -21,7 +21,8 @@ class SU_MetaDescriptions extends SU_Module {
21
  function get_admin_page_tabs() {
22
  return array_merge(
23
  array(
24
- __('Blog Homepage') => 'home_tab'
 
25
  )
26
  , $this->get_postmeta_edit_tabs(array(
27
  'type' => 'textarea'
@@ -34,10 +35,19 @@ class SU_MetaDescriptions extends SU_Module {
34
 
35
  function get_default_settings() {
36
  return array(
37
- 'home_description_tagline_default' => true
 
38
  );
39
  }
40
 
 
 
 
 
 
 
 
 
41
  function home_tab() {
42
  $this->admin_form_table_start();
43
  $this->textarea('home_description', __('Blog Homepage Meta Description', 'seo-ultimate'), 3);
@@ -59,6 +69,9 @@ class SU_MetaDescriptions extends SU_Module {
59
  //If we're viewing a post or page, look for its meta data.
60
  } elseif (is_singular()) {
61
  $desc = $this->get_postmeta('description');
 
 
 
62
 
63
  //If we're viewing a term, look for its meta data.
64
  } elseif (is_category() || is_tag() || is_tax()) {
21
  function get_admin_page_tabs() {
22
  return array_merge(
23
  array(
24
+ __('Default Formats', 'seo-ultimate') => 'formats_tab'
25
+ , __('Blog Homepage', 'seo-ultimate') => 'home_tab'
26
  )
27
  , $this->get_postmeta_edit_tabs(array(
28
  'type' => 'textarea'
35
 
36
  function get_default_settings() {
37
  return array(
38
+ 'home_description_tagline_default' => true
39
+ , 'description_posttype_post' => '{excerpt}'
40
  );
41
  }
42
 
43
+ function formats_tab() {
44
+ $this->admin_form_table_start();
45
+ $this->textboxes(array(
46
+ 'description_posttype_post' => __('Post Description Format', 'seo-ultimate')
47
+ ));
48
+ $this->admin_form_table_end();
49
+ }
50
+
51
  function home_tab() {
52
  $this->admin_form_table_start();
53
  $this->textarea('home_description', __('Blog Homepage Meta Description', 'seo-ultimate'), 3);
69
  //If we're viewing a post or page, look for its meta data.
70
  } elseif (is_singular()) {
71
  $desc = $this->get_postmeta('description');
72
+
73
+ if (!trim($desc) && !post_password_required() && $format = $this->get_setting('description_posttype_'.get_post_type()))
74
+ $desc = str_replace('{excerpt}', get_the_excerpt(), $format);
75
 
76
  //If we're viewing a term, look for its meta data.
77
  } elseif (is_category() || is_tag() || is_tax()) {
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.2
7
 
8
  This all-in-one SEO plugin gives you control over title tags, noindex, meta tags, slugs, canonical, autolinks, 404 errors, rich snippets, and more.
9
 
@@ -11,11 +11,11 @@ This all-in-one SEO plugin gives you control over title tags, noindex, meta tags
11
 
12
  = Recent Releases =
13
 
 
14
  * Version 4.2 adds the option to exclude specific posts/pages from being autolinked
15
  * Version 4.1 adds tag title capitalization for title tags
16
  * Version 4.0 adds meta description mass-editor for posts, pages, attachments, and custom post types
17
  * 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)
18
- * Version 3.8 adds direct post/page link support to Deeplink Juggernaut
19
 
20
  = Features =
21
 
@@ -27,7 +27,7 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
27
  * Customize your homepage's `<title>` tag.
28
  * Format the `<title>` tags of posts, pages, categories, tags, archives, search results, and more!
29
 
30
- * **Meta Description Editor** -- UPDATED in Version 4.0
31
  * Edit the `<meta>` description tags for posts, pages, and the homepage.
32
  * Increase SERP clickthrough rates by influence search engine result snippets.
33
  * Mass-editor makes it a cinch to go back and add descriptions to old posts.
@@ -214,6 +214,9 @@ Frequently asked questions, settings help, and troubleshooting tips for SEO Ulti
214
 
215
  == Changelog ==
216
 
 
 
 
217
  = Version 4.2 (August 5, 2010) =
218
  * Feature: Users can now stop autolinks from being added to specific posts/pages
219
 
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.3
7
 
8
  This all-in-one SEO plugin gives you control over title tags, noindex, meta tags, slugs, canonical, autolinks, 404 errors, rich snippets, and more.
9
 
11
 
12
  = Recent Releases =
13
 
14
+ * Version 4.3 adds the ability to use the post's excerpt as its default meta description
15
  * Version 4.2 adds the option to exclude specific posts/pages from being autolinked
16
  * Version 4.1 adds tag title capitalization for title tags
17
  * Version 4.0 adds meta description mass-editor for posts, pages, attachments, and custom post types
18
  * 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)
 
19
 
20
  = Features =
21
 
27
  * Customize your homepage's `<title>` tag.
28
  * Format the `<title>` tags of posts, pages, categories, tags, archives, search results, and more!
29
 
30
+ * **Meta Description Editor** -- UPDATED in Version 4.3
31
  * Edit the `<meta>` description tags for posts, pages, and the homepage.
32
  * Increase SERP clickthrough rates by influence search engine result snippets.
33
  * Mass-editor makes it a cinch to go back and add descriptions to old posts.
214
 
215
  == Changelog ==
216
 
217
+ = Version 4.3 (August 6, 2010) =
218
+ * Feature: Added new meta description format field for posts (allows you to set a default post meta description incorporating the post's excerpt)
219
+
220
  = Version 4.2 (August 5, 2010) =
221
  * Feature: Users can now stop autolinks from being added to specific posts/pages
222
 
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.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 4.2
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.2');
51
  define('SU_AUTHOR', 'SEO Design Solutions');
52
  define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
53
- define('SU_USER_AGENT', 'SeoUltimate/4.2');
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.3
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.3
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.3');
51
  define('SU_AUTHOR', 'SEO Design Solutions');
52
  define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
53
+ define('SU_USER_AGENT', 'SeoUltimate/4.3');
54
 
55
  /********** INCLUDES **********/
56
 
seo-ultimate.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Translation of the WordPress plugin SEO Ultimate 4.2 by SEO Design Solutions.
2
  # Copyright (C) 2010 SEO Design Solutions
3
  # This file is distributed under the same license as the SEO Ultimate package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
@@ -6,9 +6,9 @@
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: SEO Ultimate 4.2\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/seo-ultimate\n"
11
- "POT-Creation-Date: 2010-08-05 14:41+0000\n"
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -760,36 +760,44 @@ msgstr ""
760
  msgid "Meta Descriptions"
761
  msgstr ""
762
 
763
- #: modules/meta/meta-descriptions.php:24 modules/meta/meta-keywords.php:22
 
 
 
 
764
  msgid "Blog Homepage"
765
  msgstr ""
766
 
767
- #: modules/meta/meta-descriptions.php:30
768
  msgid "Meta Description"
769
  msgstr ""
770
 
771
- #: modules/meta/meta-descriptions.php:43
 
 
 
 
772
  msgid "Blog Homepage Meta Description"
773
  msgstr ""
774
 
775
- #: modules/meta/meta-descriptions.php:45
776
  msgid "Use this blog&#8217s tagline as the default homepage description."
777
  msgstr ""
778
 
779
- #: modules/meta/meta-descriptions.php:46
780
  msgid "Default Value"
781
  msgstr ""
782
 
783
- #: modules/meta/meta-descriptions.php:82
784
  msgid "Meta Description:"
785
  msgstr ""
786
 
787
- #: modules/meta/meta-descriptions.php:85
788
  #, php-format
789
  msgid "You&#8217;ve entered %s characters. Most search engines use up to 160."
790
  msgstr ""
791
 
792
- #: modules/meta/meta-descriptions.php:93
793
  msgid ""
794
  "<strong>Description</strong> &mdash; The value of the meta description tag. "
795
  "The description will often appear underneath the title in search engine "
@@ -1105,7 +1113,7 @@ msgstr ""
1105
  msgid "SEO Design Solutions Whitepapers"
1106
  msgstr ""
1107
 
1108
- #. #-#-#-#-# plugin.pot (SEO Ultimate 4.2) #-#-#-#-#
1109
  #. Author of the plugin/theme
1110
  #: modules/sds-blog/sds-blog.php:49
1111
  msgid "SEO Design Solutions"
@@ -1411,7 +1419,7 @@ msgstr ""
1411
  msgid "SEO Ultimate Plugin Settings"
1412
  msgstr ""
1413
 
1414
- #. #-#-#-#-# plugin.pot (SEO Ultimate 4.2) #-#-#-#-#
1415
  #. Plugin Name of the plugin/theme
1416
  #: modules/settings/settings.php:14 plugin/class.seo-ultimate.php:756
1417
  msgid "SEO Ultimate"
@@ -1525,10 +1533,6 @@ msgstr ""
1525
  msgid "Title Tag Rewriter"
1526
  msgstr ""
1527
 
1528
- #: modules/titles/titles.php:23
1529
- msgid "Default Formats"
1530
- msgstr ""
1531
-
1532
  #: modules/titles/titles.php:30
1533
  msgid "Title Tag"
1534
  msgstr ""
1
+ # Translation of the WordPress plugin SEO Ultimate 4.3 by SEO Design Solutions.
2
  # Copyright (C) 2010 SEO Design Solutions
3
  # This file is distributed under the same license as the SEO Ultimate package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: SEO Ultimate 4.3\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/seo-ultimate\n"
11
+ "POT-Creation-Date: 2010-08-06 23:37+0000\n"
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
760
  msgid "Meta Descriptions"
761
  msgstr ""
762
 
763
+ #: modules/meta/meta-descriptions.php:24 modules/titles/titles.php:23
764
+ msgid "Default Formats"
765
+ msgstr ""
766
+
767
+ #: modules/meta/meta-descriptions.php:25 modules/meta/meta-keywords.php:22
768
  msgid "Blog Homepage"
769
  msgstr ""
770
 
771
+ #: modules/meta/meta-descriptions.php:31
772
  msgid "Meta Description"
773
  msgstr ""
774
 
775
+ #: modules/meta/meta-descriptions.php:46
776
+ msgid "Post Description Format"
777
+ msgstr ""
778
+
779
+ #: modules/meta/meta-descriptions.php:53
780
  msgid "Blog Homepage Meta Description"
781
  msgstr ""
782
 
783
+ #: modules/meta/meta-descriptions.php:55
784
  msgid "Use this blog&#8217s tagline as the default homepage description."
785
  msgstr ""
786
 
787
+ #: modules/meta/meta-descriptions.php:56
788
  msgid "Default Value"
789
  msgstr ""
790
 
791
+ #: modules/meta/meta-descriptions.php:95
792
  msgid "Meta Description:"
793
  msgstr ""
794
 
795
+ #: modules/meta/meta-descriptions.php:98
796
  #, php-format
797
  msgid "You&#8217;ve entered %s characters. Most search engines use up to 160."
798
  msgstr ""
799
 
800
+ #: modules/meta/meta-descriptions.php:106
801
  msgid ""
802
  "<strong>Description</strong> &mdash; The value of the meta description tag. "
803
  "The description will often appear underneath the title in search engine "
1113
  msgid "SEO Design Solutions Whitepapers"
1114
  msgstr ""
1115
 
1116
+ #. #-#-#-#-# plugin.pot (SEO Ultimate 4.3) #-#-#-#-#
1117
  #. Author of the plugin/theme
1118
  #: modules/sds-blog/sds-blog.php:49
1119
  msgid "SEO Design Solutions"
1419
  msgid "SEO Ultimate Plugin Settings"
1420
  msgstr ""
1421
 
1422
+ #. #-#-#-#-# plugin.pot (SEO Ultimate 4.3) #-#-#-#-#
1423
  #. Plugin Name of the plugin/theme
1424
  #: modules/settings/settings.php:14 plugin/class.seo-ultimate.php:756
1425
  msgid "SEO Ultimate"
1533
  msgid "Title Tag Rewriter"
1534
  msgstr ""
1535
 
 
 
 
 
1536
  #: modules/titles/titles.php:30
1537
  msgid "Title Tag"
1538
  msgstr ""