SEO Ultimate - Version 1.7

Version Description

Download this release

Release Info

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

Code changes from version 1.6 to 1.7

includes/jlfunctions/arr.php CHANGED
@@ -1,9 +1,7 @@
1
  <?php
2
  /*
3
  JLFunctions Array Class
4
- Copyright (c)2009 John Lamansky
5
- All rights reserved
6
- May not be redistributed or used without express written permission.
7
  */
8
 
9
  class suarr {
1
  <?php
2
  /*
3
  JLFunctions Array Class
4
+ Copyright (c)2009-2010 John Lamansky
 
 
5
  */
6
 
7
  class suarr {
includes/jlfunctions/io.php CHANGED
@@ -1,9 +1,7 @@
1
  <?php
2
  /*
3
  JLFunctions IO Class
4
- Copyright (c)2009 John Lamansky
5
- All rights reserved
6
- May not be redistributed or used without express written permission.
7
  */
8
 
9
  class suio {
1
  <?php
2
  /*
3
  JLFunctions IO Class
4
+ Copyright (c)2009-2010 John Lamansky
 
 
5
  */
6
 
7
  class suio {
includes/jlfunctions/jlfunctions.php CHANGED
@@ -1,9 +1,7 @@
1
  <?php
2
  /*
3
  JLFunctions Library
4
- Copyright (c)2009 John Lamansky
5
- All rights reserved
6
- May not be redistributed or used without express written permission.
7
  */
8
 
9
  include 'arr.php';
1
  <?php
2
  /*
3
  JLFunctions Library
4
+ Copyright (c)2009-2010 John Lamansky
 
 
5
  */
6
 
7
  include 'arr.php';
includes/jlfunctions/md.php CHANGED
@@ -1,9 +1,7 @@
1
  <?php
2
  /*
3
  JLFunctions MD Class
4
- Copyright (c)2009 John Lamansky
5
- All rights reserved
6
- May not be redistributed or used without express written permission.
7
  */
8
 
9
  class sumd {
1
  <?php
2
  /*
3
  JLFunctions MD Class
4
+ Copyright (c)2009-2010 John Lamansky
 
 
5
  */
6
 
7
  class sumd {
includes/jlfunctions/str.php CHANGED
@@ -1,9 +1,7 @@
1
  <?php
2
  /*
3
  JLFunctions String Class
4
- Copyright (c)2009 John Lamansky
5
- All rights reserved
6
- May not be redistributed or used without express written permission.
7
  */
8
 
9
  class sustr {
1
  <?php
2
  /*
3
  JLFunctions String Class
4
+ Copyright (c)2009-2010 John Lamansky
 
 
5
  */
6
 
7
  class sustr {
includes/jlfunctions/url.php CHANGED
@@ -1,9 +1,7 @@
1
  <?php
2
  /*
3
  JLFunctions URL Class
4
- Copyright (c)2009 John Lamansky
5
- All rights reserved
6
- May not be redistributed or used without express written permission.
7
  */
8
 
9
  class suurl {
1
  <?php
2
  /*
3
  JLFunctions URL Class
4
+ Copyright (c)2009-2010 John Lamansky
 
 
5
  */
6
 
7
  class suurl {
plugin/class.seo-ultimate.php CHANGED
@@ -202,6 +202,14 @@ class SEO_Ultimate {
202
  //Hook to remove other plugins' notices from our admin pages
203
  add_action('admin_head', array(&$this, 'remove_admin_notices'));
204
 
 
 
 
 
 
 
 
 
205
  //When loading the admin menu, call on our menu constructor function.
206
  //For future-proofing purposes, we specifically state the default priority of 10,
207
  //since some modules set a priority of 9 with the specific intention of running
@@ -1069,6 +1077,18 @@ class SEO_Ultimate {
1069
  }
1070
  }
1071
 
 
 
 
 
 
 
 
 
 
 
 
 
1072
 
1073
  /********** MODULE FUNCTIONS ***********/
1074
 
202
  //Hook to remove other plugins' notices from our admin pages
203
  add_action('admin_head', array(&$this, 'remove_admin_notices'));
204
 
205
+ if (!get_option('blog_public')) {
206
+ //Add admin-wide notice
207
+ add_action('admin_notices', array(&$this, 'private_blog_admin_notice'));
208
+
209
+ //Remove duplicate Robots Meta notice
210
+ suwp::remove_instance_action('admin_footer', 'RobotsMeta_Admin', 'blog_public_warning');
211
+ }
212
+
213
  //When loading the admin menu, call on our menu constructor function.
214
  //For future-proofing purposes, we specifically state the default priority of 10,
215
  //since some modules set a priority of 9 with the specific intention of running
1077
  }
1078
  }
1079
 
1080
+ /**
1081
+ * Outputs a WordPress-esque admin notice regarding the privacy setting.
1082
+ * The setting must be checked *before* this function is hooked into WordPress.
1083
+ *
1084
+ * @since 1.7
1085
+ */
1086
+ function private_blog_admin_notice() {
1087
+ echo "\n<div class='error'><p>";
1088
+ _e("<strong>SEO Ultimate Notice:</strong> Your blog is configured to block search engine spiders. To resolve this, <a href='options-privacy.php' target='_blank'>go to your Privacy settings</a> and set your blog visible to everyone.", 'seo-ultimate');
1089
+ echo "</p></div>";
1090
+ }
1091
+
1092
 
1093
  /********** MODULE FUNCTIONS ***********/
1094
 
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
4
  Requires at least: 2.8
5
  Tested up to: 2.9
6
- Stable tag: 1.6
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,9 +11,9 @@ This all-in-one SEO plugin gives you control over titles, noindex, meta data, sl
11
 
12
  = Recent Releases =
13
 
 
14
  * Version 1.6 adds an All in One SEO Pack importer
15
  * Version 1.5 adds under-the-hood improvements and additional documentation
16
- * Version 1.4 adds the Internal Relevance Researcher module
17
 
18
  = Features =
19
 
@@ -74,9 +74,10 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
74
  * Export your SEO Ultimate settings to a file and re-import later if desired.
75
  * Move SEO Ultimate settings between blogs using the export/import functionality.
76
  * Reset all settings back to "factory defaults" if something goes wrong.
77
-
78
  * **Additional features**
79
- * Import post meta from All in One SEO Pack
 
80
  * Supports [WordPress plugin translation](http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/). POT file is included in the zip file.
81
  * SEO Ultimate documentation is seamlessly integrated into the contextual help system of WordPress 2.7+ and is accessible via the dropdowns in the upper-right-hand corner of the admin screen. In-depth info, explanations, and FAQ are just a click away.
82
  * Unlike certain other SEO plugins, SEO Ultimate sports a clean, simple, aesthetically-pleasing interface, with no ads or donation nags.
@@ -574,6 +575,9 @@ Frequently asked questions, documentation, and troubleshooting tips for SEO Ulti
574
 
575
  == Changelog ==
576
 
 
 
 
577
  = Version 1.6 (January 30, 2010) =
578
  * Feature: Added All in One SEO Pack importer module
579
 
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
4
  Requires at least: 2.8
5
  Tested up to: 2.9
6
+ Stable tag: 1.7
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 1.7 adds a blog privacy setting checker
15
  * Version 1.6 adds an All in One SEO Pack importer
16
  * Version 1.5 adds under-the-hood improvements and additional documentation
 
17
 
18
  = Features =
19
 
74
  * Export your SEO Ultimate settings to a file and re-import later if desired.
75
  * Move SEO Ultimate settings between blogs using the export/import functionality.
76
  * Reset all settings back to "factory defaults" if something goes wrong.
77
+
78
  * **Additional features**
79
+ * Lets you import post meta from All in One SEO Pack
80
+ * Displays admin notices if blog privacy settings are configured to block search engines
81
  * Supports [WordPress plugin translation](http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/). POT file is included in the zip file.
82
  * SEO Ultimate documentation is seamlessly integrated into the contextual help system of WordPress 2.7+ and is accessible via the dropdowns in the upper-right-hand corner of the admin screen. In-depth info, explanations, and FAQ are just a click away.
83
  * Unlike certain other SEO plugins, SEO Ultimate sports a clean, simple, aesthetically-pleasing interface, with no ads or donation nags.
575
 
576
  == Changelog ==
577
 
578
+ = Version 1.7 (February 20, 2010) =
579
+ * Feature: Displays admin notices if blog privacy settings are configured to block search engines
580
+
581
  = Version 1.6 (January 30, 2010) =
582
  * Feature: Added All in One SEO Pack importer module
583
 
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 titles, noindex, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
6
- Version: 1.6
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.6
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.6");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
- define("SU_USER_AGENT", "SeoUltimate/1.6");
45
 
46
  /********** INCLUDES **********/
47
 
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: 1.7
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.7
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.7");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
+ define("SU_USER_AGENT", "SeoUltimate/1.7");
45
 
46
  /********** INCLUDES **********/
47
 
seo-ultimate.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Translation of the WordPress plugin SEO Ultimate 1.6 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 1.6\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/seo-ultimate\n"
11
- "POT-Creation-Date: 2010-01-30 17:27+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"
@@ -17,16 +17,16 @@ msgstr ""
17
  "Content-Transfer-Encoding: 8bit\n"
18
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
 
20
- #: includes/jlfunctions/str.php:76 plugin/su-functions.php:77
21
  #, php-format
22
  msgid "%s and %s"
23
  msgstr ""
24
 
25
- #: includes/jlfunctions/str.php:79 plugin/su-functions.php:80
26
  msgid ", "
27
  msgstr ""
28
 
29
- #: includes/jlfunctions/str.php:80 plugin/su-functions.php:81
30
  #, php-format
31
  msgid "%s, and %s"
32
  msgstr ""
@@ -760,7 +760,7 @@ msgstr ""
760
  msgid "SEO Design Solutions Whitepapers"
761
  msgstr ""
762
 
763
- #. #-#-#-#-# plugin.pot (SEO Ultimate 1.6) #-#-#-#-#
764
  #. Author of an extension
765
  #: modules/sds-blog/sds-blog.php:43
766
  msgid "SEO Design Solutions"
@@ -786,9 +786,9 @@ msgstr ""
786
  msgid "SEO Ultimate Plugin Settings"
787
  msgstr ""
788
 
789
- #. #-#-#-#-# plugin.pot (SEO Ultimate 1.6) #-#-#-#-#
790
  #. Plugin Name of an extension
791
- #: modules/settings/settings.php:17 plugin/class.seo-ultimate.php:759
792
  msgid "SEO Ultimate"
793
  msgstr ""
794
 
@@ -1091,30 +1091,38 @@ msgid ""
1091
  "titles. "
1092
  msgstr ""
1093
 
1094
- #: plugin/class.seo-ultimate.php:759
1095
  msgid "SEO"
1096
  msgstr ""
1097
 
1098
- #: plugin/class.seo-ultimate.php:975
1099
  msgid "SEO Settings Help"
1100
  msgstr ""
1101
 
1102
- #: plugin/class.seo-ultimate.php:977
1103
  msgid "The SEO Settings box lets you customize these settings:"
1104
  msgstr ""
1105
 
1106
- #: plugin/class.seo-ultimate.php:979
1107
  msgid "(The SEO Settings box is part of the SEO Ultimate plugin.)"
1108
  msgstr ""
1109
 
1110
- #: plugin/class.seo-ultimate.php:1034
1111
  #, php-format
1112
  msgid ""
1113
  "SEO Ultimate includes the functionality of %1$s. You may want to deactivate %"
1114
  "1$s to avoid plugin conflicts."
1115
  msgstr ""
1116
 
1117
- #: plugin/class.seo-ultimate.php:1176
 
 
 
 
 
 
 
 
1118
  msgid "SEO Settings"
1119
  msgstr ""
1120
 
1
+ # Translation of the WordPress plugin SEO Ultimate 1.7 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 1.7\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/seo-ultimate\n"
11
+ "POT-Creation-Date: 2010-02-21 00:19+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"
17
  "Content-Transfer-Encoding: 8bit\n"
18
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
 
20
+ #: includes/jlfunctions/str.php:74 plugin/su-functions.php:77
21
  #, php-format
22
  msgid "%s and %s"
23
  msgstr ""
24
 
25
+ #: includes/jlfunctions/str.php:77 plugin/su-functions.php:80
26
  msgid ", "
27
  msgstr ""
28
 
29
+ #: includes/jlfunctions/str.php:78 plugin/su-functions.php:81
30
  #, php-format
31
  msgid "%s, and %s"
32
  msgstr ""
760
  msgid "SEO Design Solutions Whitepapers"
761
  msgstr ""
762
 
763
+ #. #-#-#-#-# plugin.pot (SEO Ultimate 1.7) #-#-#-#-#
764
  #. Author of an extension
765
  #: modules/sds-blog/sds-blog.php:43
766
  msgid "SEO Design Solutions"
786
  msgid "SEO Ultimate Plugin Settings"
787
  msgstr ""
788
 
789
+ #. #-#-#-#-# plugin.pot (SEO Ultimate 1.7) #-#-#-#-#
790
  #. Plugin Name of an extension
791
+ #: modules/settings/settings.php:17 plugin/class.seo-ultimate.php:767
792
  msgid "SEO Ultimate"
793
  msgstr ""
794
 
1091
  "titles. "
1092
  msgstr ""
1093
 
1094
+ #: plugin/class.seo-ultimate.php:767
1095
  msgid "SEO"
1096
  msgstr ""
1097
 
1098
+ #: plugin/class.seo-ultimate.php:983
1099
  msgid "SEO Settings Help"
1100
  msgstr ""
1101
 
1102
+ #: plugin/class.seo-ultimate.php:985
1103
  msgid "The SEO Settings box lets you customize these settings:"
1104
  msgstr ""
1105
 
1106
+ #: plugin/class.seo-ultimate.php:987
1107
  msgid "(The SEO Settings box is part of the SEO Ultimate plugin.)"
1108
  msgstr ""
1109
 
1110
+ #: plugin/class.seo-ultimate.php:1042
1111
  #, php-format
1112
  msgid ""
1113
  "SEO Ultimate includes the functionality of %1$s. You may want to deactivate %"
1114
  "1$s to avoid plugin conflicts."
1115
  msgstr ""
1116
 
1117
+ #: plugin/class.seo-ultimate.php:1088
1118
+ msgid ""
1119
+ "<strong>SEO Ultimate Notice:</strong> Your blog is configured to block "
1120
+ "search engine spiders. To resolve this, <a href='options-privacy.php' "
1121
+ "target='_blank'>go to your Privacy settings</a> and set your blog visible to "
1122
+ "everyone."
1123
+ msgstr ""
1124
+
1125
+ #: plugin/class.seo-ultimate.php:1196
1126
  msgid "SEO Settings"
1127
  msgstr ""
1128