Version Description
Download this release
Release Info
Developer | JohnLamansky |
Plugin | SEO Ultimate |
Version | 4.9 |
Comparing to | |
See all releases |
Code changes from version 4.8.1 to 4.9
- includes/jlfunctions/url.php +1 -1
- modules/internal-link-aliases/internal-link-aliases.php +6 -1
- modules/meta/meta-descriptions.php +18 -1
- readme.txt +12 -4
- seo-ultimate.php +5 -5
includes/jlfunctions/url.php
CHANGED
@@ -13,7 +13,7 @@ class suurl {
|
|
13 |
*/
|
14 |
function current() {
|
15 |
$url = 'http';
|
16 |
-
if ($_SERVER["HTTPS"] == "on") $url .= "s";
|
17 |
$url .= "://";
|
18 |
|
19 |
if ($_SERVER["SERVER_PORT"] != "80")
|
13 |
*/
|
14 |
function current() {
|
15 |
$url = 'http';
|
16 |
+
if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") $url .= "s";
|
17 |
$url .= "://";
|
18 |
|
19 |
if ($_SERVER["SERVER_PORT"] != "80")
|
modules/internal-link-aliases/internal-link-aliases.php
CHANGED
@@ -18,7 +18,12 @@ class SU_InternalLinkAliases extends SU_Module {
|
|
18 |
}
|
19 |
|
20 |
function get_module_title() { return __('Link Mask Generator', 'seo-ultimate'); }
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
function filter_alias_dir($alias_dir) {
|
24 |
return trim(sustr::preg_filter('a-zA-Z0-9_/', $alias_dir), '/');
|
18 |
}
|
19 |
|
20 |
function get_module_title() { return __('Link Mask Generator', 'seo-ultimate'); }
|
21 |
+
|
22 |
+
function admin_page_contents() {
|
23 |
+
$this->admin_form_start();
|
24 |
+
$this->textbox('alias_dir', __('Alias Directory', 'seo-ultimate'));
|
25 |
+
$this->admin_form_end();
|
26 |
+
}
|
27 |
|
28 |
function filter_alias_dir($alias_dir) {
|
29 |
return trim(sustr::preg_filter('a-zA-Z0-9_/', $alias_dir), '/');
|
modules/meta/meta-descriptions.php
CHANGED
@@ -59,6 +59,8 @@ class SU_MetaDescriptions extends SU_Module {
|
|
59 |
|
60 |
function head_tag_output() {
|
61 |
|
|
|
|
|
62 |
$desc = false;
|
63 |
|
64 |
//If we're viewing the homepage, look for homepage meta data.
|
@@ -70,8 +72,23 @@ class SU_MetaDescriptions extends SU_Module {
|
|
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(
|
|
|
|
|
|
|
75 |
|
76 |
//If we're viewing a term, look for its meta data.
|
77 |
} elseif (is_category() || is_tag() || is_tax()) {
|
59 |
|
60 |
function head_tag_output() {
|
61 |
|
62 |
+
global $post;
|
63 |
+
|
64 |
$desc = false;
|
65 |
|
66 |
//If we're viewing the homepage, look for homepage meta data.
|
72 |
} elseif (is_singular()) {
|
73 |
$desc = $this->get_postmeta('description');
|
74 |
|
75 |
+
//Enable the get_the_excerpt() and wp_trim_excerpt() functions
|
76 |
+
setup_postdata($post);
|
77 |
+
|
78 |
+
//Get rid of the [...] or whatever else the current theme may try to add
|
79 |
+
add_filter('excerpt_more', '__return_false', 100);
|
80 |
+
|
81 |
+
//Autogenerate the excerpt if needed
|
82 |
+
$auto_excerpt = strip_tags(wp_trim_excerpt(get_the_excerpt()));
|
83 |
+
|
84 |
+
//Restore normal excerpts
|
85 |
+
remove_filter('excerpt_more', '__return_false', 100);
|
86 |
+
|
87 |
if (!trim($desc) && !post_password_required() && $format = $this->get_setting('description_posttype_'.get_post_type()))
|
88 |
+
$desc = str_replace(
|
89 |
+
array('{excerpt::autogen}', '{excerpt}')
|
90 |
+
, array($auto_excerpt, strip_tags($post->post_excerpt))
|
91 |
+
, $format);
|
92 |
|
93 |
//If we're viewing a term, look for its meta data.
|
94 |
} elseif (is_category() || is_tag() || is_tax()) {
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== SEO Ultimate ===
|
2 |
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, affiliate
|
4 |
-
Requires at least:
|
5 |
Tested up to: 3.1
|
6 |
-
Stable tag: 4.
|
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,6 +11,7 @@ This all-in-one SEO plugin gives you control over title tags, noindex, meta tags
|
|
11 |
|
12 |
= Recent Releases =
|
13 |
|
|
|
14 |
* Version 4.8 adds Deeplink Juggernaut features
|
15 |
* Version 4.7 adds the Link Mask Generator module
|
16 |
* Version 4.6 adds a meta keywords mass-editor
|
@@ -26,10 +27,11 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
|
|
26 |
* Customize your homepage's `<title>` tag.
|
27 |
* Format the `<title>` tags of posts, pages, categories, tags, archives, search results, and more!
|
28 |
|
29 |
-
* **Meta Description Editor**
|
30 |
* Edit the `<meta>` description tags for posts, pages, and the homepage.
|
31 |
* Increase SERP clickthrough rates by influence search engine result snippets.
|
32 |
* Mass-editor makes it a cinch to go back and add descriptions to old posts.
|
|
|
33 |
|
34 |
* **Meta Keywords Editor** -- UPDATED in Version 4.6
|
35 |
* Edit the `<meta>` keyword tags for posts, pages, and the homepage.
|
@@ -110,9 +112,10 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
|
|
110 |
* **Webmaster Verification Assistant**
|
111 |
* Enter verification codes in the provided fields to access search engine webmaster tools.
|
112 |
|
113 |
-
* **Link Mask Generator**
|
114 |
* Lets you generate robots.txt-blocked "link masks" (e.g. `www.example.com/go/google/`) that pass-through to an external URL.
|
115 |
* Lets you mask links on a per-link, per-post basis so you can exert fine-tuned control over your posts' linkflow.
|
|
|
116 |
* Link masks provide a modern replacement for the deprecated, nofollow-based "PageRank Sculpting" technique.
|
117 |
* Perfect for affiliate marketers and SEO-savvy bloggers.
|
118 |
|
@@ -223,6 +226,11 @@ Frequently asked questions, settings help, and troubleshooting tips for SEO Ulti
|
|
223 |
|
224 |
== Changelog ==
|
225 |
|
|
|
|
|
|
|
|
|
|
|
226 |
= Version 4.8.1 (March 1, 2011) =
|
227 |
* Improvement: Deeplink Juggernaut no longer inserts links within `<code>`, `<pre>`, and `<kbd>` elements
|
228 |
* Bugfix: Link Mask Generator can now properly mask URLs with ampersands
|
1 |
=== SEO Ultimate ===
|
2 |
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, affiliate
|
4 |
+
Requires at least: 3.0
|
5 |
Tested up to: 3.1
|
6 |
+
Stable tag: 4.9
|
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.9 adds autogenerated meta descriptions
|
15 |
* Version 4.8 adds Deeplink Juggernaut features
|
16 |
* Version 4.7 adds the Link Mask Generator module
|
17 |
* Version 4.6 adds a meta keywords mass-editor
|
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.9
|
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.
|
34 |
+
* Use the `{excerpt::autogen}` variable to auto-generate meta descriptions if desired.
|
35 |
|
36 |
* **Meta Keywords Editor** -- UPDATED in Version 4.6
|
37 |
* Edit the `<meta>` keyword tags for posts, pages, and the homepage.
|
112 |
* **Webmaster Verification Assistant**
|
113 |
* Enter verification codes in the provided fields to access search engine webmaster tools.
|
114 |
|
115 |
+
* **Link Mask Generator** -- UPDATED in Version 4.9
|
116 |
* Lets you generate robots.txt-blocked "link masks" (e.g. `www.example.com/go/google/`) that pass-through to an external URL.
|
117 |
* Lets you mask links on a per-link, per-post basis so you can exert fine-tuned control over your posts' linkflow.
|
118 |
+
* Lets you change `/go/` to a directory of your choosing.
|
119 |
* Link masks provide a modern replacement for the deprecated, nofollow-based "PageRank Sculpting" technique.
|
120 |
* Perfect for affiliate marketers and SEO-savvy bloggers.
|
121 |
|
226 |
|
227 |
== Changelog ==
|
228 |
|
229 |
+
= Version 4.9 =
|
230 |
+
* Feature: You can now change the Link Mask Generator's alias directory to something other than `/go/`
|
231 |
+
* Feature: You can now use the `{excerpt::autogen}` variable in the Meta Description Editor to auto-generate an excerpt if the post doesn't have one (� la the `the_excerpt()` template tag)
|
232 |
+
* Compatibility: SEO Ultimate now requires WordPress 3.0 or above
|
233 |
+
|
234 |
= Version 4.8.1 (March 1, 2011) =
|
235 |
* Improvement: Deeplink Juggernaut no longer inserts links within `<code>`, `<pre>`, and `<kbd>` elements
|
236 |
* Bugfix: Link Mask Generator can now properly mask URLs with ampersands
|
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.
|
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.
|
16 |
* @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
|
17 |
*/
|
18 |
|
@@ -42,15 +42,15 @@ if (!defined('ABSPATH')) {
|
|
42 |
/********** CONSTANTS **********/
|
43 |
|
44 |
//The minimum version of WordPress required
|
45 |
-
define('SU_MINIMUM_WP_VER', '
|
46 |
|
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.
|
51 |
define('SU_AUTHOR', 'SEO Design Solutions');
|
52 |
define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
|
53 |
-
define('SU_USER_AGENT', 'SeoUltimate/4.
|
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.9
|
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.9
|
16 |
* @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
|
17 |
*/
|
18 |
|
42 |
/********** CONSTANTS **********/
|
43 |
|
44 |
//The minimum version of WordPress required
|
45 |
+
define('SU_MINIMUM_WP_VER', '3.0');
|
46 |
|
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.9');
|
51 |
define('SU_AUTHOR', 'SEO Design Solutions');
|
52 |
define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
|
53 |
+
define('SU_USER_AGENT', 'SeoUltimate/4.9');
|
54 |
|
55 |
/********** INCLUDES **********/
|
56 |
|