SEO Ultimate - Version 7.2.3

Version Description

Download this release

Release Info

Developer JohnLamansky
Plugin Icon 128x128 SEO Ultimate
Version 7.2.3
Comparing to
See all releases

Code changes from version 7.2.2 to 7.2.3

includes/jlsuggest/jlsuggest.css CHANGED
@@ -12,10 +12,11 @@ input.jls_loading {
12
 
13
  .jls_text_dest {
14
  border: 1px solid #C0CDFF;
15
- border-radius: 4px;
16
  background-color: #E0E7FF;
17
  position: relative;
18
- padding: 1px 0;
 
19
  }
20
 
21
  .jlsuggest-disabled {
@@ -25,7 +26,7 @@ input.jls_loading {
25
 
26
  .jls_text_dest_text {
27
  cursor: default;
28
- padding: 0 5px;
29
  }
30
 
31
  .jls_text_dest_text .type {
@@ -39,7 +40,7 @@ input.jls_loading {
39
  top: 0;
40
  right: 0;
41
  cursor: pointer;
42
- padding: 1px 10px;
43
  color: black;
44
  text-decoration: none;
45
  }
12
 
13
  .jls_text_dest {
14
  border: 1px solid #C0CDFF;
15
+ border-radius: 3px;
16
  background-color: #E0E7FF;
17
  position: relative;
18
+ padding: 2px 0;
19
+ margin: 1px;
20
  }
21
 
22
  .jlsuggest-disabled {
26
 
27
  .jls_text_dest_text {
28
  cursor: default;
29
+ padding: 0 0 0 4px;
30
  }
31
 
32
  .jls_text_dest_text .type {
40
  top: 0;
41
  right: 0;
42
  cursor: pointer;
43
+ padding: 2px 10px;
44
  color: black;
45
  text-decoration: none;
46
  }
modules/meta/meta-descriptions.php CHANGED
@@ -115,7 +115,7 @@ class SU_MetaDescriptions extends SU_Module {
115
  //Do we have a description? If so, output it.
116
  if ($desc) {
117
  $desc = $this->get_desc_paged($desc);
118
- $desc = su_esc_attr($desc);
119
  echo "\t<meta name=\"description\" content=\"$desc\" />\n";
120
  }
121
  }
115
  //Do we have a description? If so, output it.
116
  if ($desc) {
117
  $desc = $this->get_desc_paged($desc);
118
+ $desc = su_esc_attr(trim($desc));
119
  echo "\t<meta name=\"description\" content=\"$desc\" />\n";
120
  }
121
  }
modules/settings/global-settings.php CHANGED
@@ -21,6 +21,7 @@ class SU_GlobalSettings extends SU_Module {
21
  return array(
22
  'attribution_link' => false
23
  , 'plugin_notices' => true
 
24
  );
25
  }
26
 
21
  return array(
22
  'attribution_link' => false
23
  , 'plugin_notices' => true
24
+ , 'mark_code' => true
25
  );
26
  }
27
 
plugin/class.seo-ultimate.php CHANGED
@@ -1598,7 +1598,7 @@ class SEO_Ultimate {
1598
  */
1599
  function template_head() {
1600
 
1601
- if ($markcode = $this->get_setting('mark_code', false, 'settings'))
1602
  echo "\n<!-- ".SU_PLUGIN_NAME." (".SU_PLUGIN_URI.") -->\n";
1603
 
1604
  //Let modules output head code.
@@ -1607,6 +1607,7 @@ class SEO_Ultimate {
1607
  //Make sure the blog is public. Telling robots what to do is a moot point if they aren't even seeing the blog.
1608
  if (get_option('blog_public')) {
1609
  $robots = implode(',', apply_filters('su_meta_robots', array()));
 
1610
  if ($robots) echo "\t<meta name=\"robots\" content=\"$robots\" />\n";
1611
  }
1612
 
@@ -1671,38 +1672,37 @@ class SEO_Ultimate {
1671
  $items[] = array('text' => __('Blog Homepage', 'seo-ultimate'), 'value' => 'obj_home', 'selectedtext' => __('Blog Homepage', 'seo-ultimate'));
1672
  }
1673
 
1674
- if (!$include || in_array('posttype', $include)) {
1675
- $posttypeobjs = suwp::get_post_type_objects();
1676
- foreach ($posttypeobjs as $posttypeobj) {
1677
-
1678
- if ($include && !in_array('posttype_' . $posttypeobj->name, $include))
1679
- continue;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1680
 
1681
- $stati = get_available_post_statuses($posttypeobj->name);
1682
- suarr::remove_value($stati, 'auto-draft');
1683
- $stati = implode(',', $stati);
1684
 
1685
- $posts = get_posts(array(
1686
- 'orderby' => 'title'
1687
- , 'order' => 'ASC'
1688
- , 'post_status' => $stati
1689
- , 'numberposts' => -1
1690
- , 'post_type' => $posttypeobj->name
1691
- , 'sentence' => 1
1692
- , 's' => $_GET['q']
1693
- ));
1694
-
1695
- if (count($posts)) {
1696
-
1697
- $items[] = array('text' => $posttypeobj->labels->name, 'isheader' => true);
1698
-
1699
- foreach ($posts as $post)
1700
- $items[] = array(
1701
- 'text' => $post->post_title
1702
- , 'value' => 'obj_posttype_' . $posttypeobj->name . '/' . $post->ID
1703
- , 'selectedtext' => $post->post_title . '<span class="type">&nbsp;&mdash;&nbsp;'.$posttypeobj->labels->singular_name.'</span>'
1704
- );
1705
- }
1706
  }
1707
  }
1708
 
1598
  */
1599
  function template_head() {
1600
 
1601
+ if ($markcode = $this->get_setting('mark_code', true, 'settings'))
1602
  echo "\n<!-- ".SU_PLUGIN_NAME." (".SU_PLUGIN_URI.") -->\n";
1603
 
1604
  //Let modules output head code.
1607
  //Make sure the blog is public. Telling robots what to do is a moot point if they aren't even seeing the blog.
1608
  if (get_option('blog_public')) {
1609
  $robots = implode(',', apply_filters('su_meta_robots', array()));
1610
+ $robots = su_esc_attr($robots);
1611
  if ($robots) echo "\t<meta name=\"robots\" content=\"$robots\" />\n";
1612
  }
1613
 
1672
  $items[] = array('text' => __('Blog Homepage', 'seo-ultimate'), 'value' => 'obj_home', 'selectedtext' => __('Blog Homepage', 'seo-ultimate'));
1673
  }
1674
 
1675
+
1676
+ $posttypeobjs = suwp::get_post_type_objects();
1677
+ foreach ($posttypeobjs as $posttypeobj) {
1678
+
1679
+ if ($include && !in_array('posttype', $include) && !in_array('posttype_' . $posttypeobj->name, $include))
1680
+ continue;
1681
+
1682
+ $stati = get_available_post_statuses($posttypeobj->name);
1683
+ suarr::remove_value($stati, 'auto-draft');
1684
+ $stati = implode(',', $stati);
1685
+
1686
+ $posts = get_posts(array(
1687
+ 'orderby' => 'title'
1688
+ , 'order' => 'ASC'
1689
+ , 'post_status' => $stati
1690
+ , 'numberposts' => -1
1691
+ , 'post_type' => $posttypeobj->name
1692
+ , 'sentence' => 1
1693
+ , 's' => $_GET['q']
1694
+ ));
1695
+
1696
+ if (count($posts)) {
1697
 
1698
+ $items[] = array('text' => $posttypeobj->labels->name, 'isheader' => true);
 
 
1699
 
1700
+ foreach ($posts as $post)
1701
+ $items[] = array(
1702
+ 'text' => $post->post_title
1703
+ , 'value' => 'obj_posttype_' . $posttypeobj->name . '/' . $post->ID
1704
+ , 'selectedtext' => $post->post_title . '<span class="type">&nbsp;&mdash;&nbsp;'.$posttypeobj->labels->singular_name.'</span>'
1705
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1706
  }
1707
  }
1708
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: SEO Design Solutions, JohnLamansky
3
  Tags: seo, SEO Ultimate, suite, google, yahoo, bing, search engines, admin, post, page, custom post types, categories, tags, terms, custom taxonomies, base, title, title tag, wp_title, meta, robots, noindex, nofollow, canonical, HTTP headers, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, code, footer, settings, redirect, 301, 302, 307, modules, uninstallable, reinstallable, downgradable, import, export, CSV, affiliate
4
  Requires at least: 3.3
5
  Tested up to: 3.4
6
- Stable tag: 7.2.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
 
@@ -261,6 +261,12 @@ Frequently asked questions, settings help, and troubleshooting tips for SEO Ulti
261
 
262
  == Changelog ==
263
 
 
 
 
 
 
 
264
  = Version 7.2.2 (June 15, 2012) =
265
  * Feature: You can now specify a CSS class for autolinks generated by Deeplink Juggernaut
266
  * Bugfix: Link Mask Generator no longer nofollows all links in a post when the "Nofollow aliased links" option is checked (bug introduced in 6.1)
3
  Tags: seo, SEO Ultimate, suite, google, yahoo, bing, search engines, admin, post, page, custom post types, categories, tags, terms, custom taxonomies, base, title, title tag, wp_title, meta, robots, noindex, nofollow, canonical, HTTP headers, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, code, footer, settings, redirect, 301, 302, 307, modules, uninstallable, reinstallable, downgradable, import, export, CSV, affiliate
4
  Requires at least: 3.3
5
  Tested up to: 3.4
6
+ Stable tag: 7.2.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
 
261
 
262
  == Changelog ==
263
 
264
+ = Version 7.2.3 (June 19, 2012) =
265
+ * Bugfix: Fixed bug that broke the "Only on This Post" boxes in Link Mask Generator and prevented posts from being selected in the "Link Location" boxes of Deeplink Juggernaut's Footer Links editor
266
+ * Bugfix: Meta Description Editor now trims leading and trailing whitespace from meta descriptions
267
+ * Bugfix: Made minor CSS tweaks to the autocomplete boxes to adjust for various changes made in recent versions of WordPress
268
+ * Change: "Insert comments around HTML code insertions" is now enabled by default
269
+
270
  = Version 7.2.2 (June 15, 2012) =
271
  * Feature: You can now specify a CSS class for autolinks generated by Deeplink Juggernaut
272
  * Bugfix: Link Mask Generator no longer nofollows all links in a post when the "Nofollow aliased links" option is checked (bug introduced in 6.1)
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: 7.2.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 7.2.2
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
@@ -47,10 +47,10 @@ define('SU_MINIMUM_WP_VER', '3.1.3');
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', '7.2.2');
51
  define('SU_AUTHOR', 'SEO Design Solutions');
52
  define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
53
- define('SU_USER_AGENT', 'SeoUltimate/7.2.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: 7.2.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 7.2.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', '7.2.3');
51
  define('SU_AUTHOR', 'SEO Design Solutions');
52
  define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
53
+ define('SU_USER_AGENT', 'SeoUltimate/7.2.3');
54
 
55
  /********** INCLUDES **********/
56