Version Description
- No more linking partial words (\b added to regexp)
Download this release
Release Info
| Developer | freediver |
| Plugin | |
| Version | 2.2.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.2 to 2.2.1
- readme.txt +3 -0
- seo-links.php +2 -2
readme.txt
CHANGED
|
@@ -22,6 +22,9 @@ Everything happens completely transparent, and you can edit the options from the
|
|
| 22 |
|
| 23 |
== Changelog ==
|
| 24 |
|
|
|
|
|
|
|
|
|
|
| 25 |
= 2.2 =
|
| 26 |
* Added option to exclude certain posts and pages from automatic linking (credits to Gabriel Paladino)
|
| 27 |
|
| 22 |
|
| 23 |
== Changelog ==
|
| 24 |
|
| 25 |
+
= 2.2.1 =
|
| 26 |
+
* No more linking partial words (\b added to regexp)
|
| 27 |
+
|
| 28 |
= 2.2 =
|
| 29 |
* Added option to exclude certain posts and pages from automatic linking (credits to Gabriel Paladino)
|
| 30 |
|
seo-links.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
/*
|
| 4 |
Plugin Name: SEO Smart Links
|
| 5 |
-
Version: 2.2
|
| 6 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-smart-links
|
| 7 |
Author: Vladimir Prelovac</a>
|
| 8 |
Author URI: http://www.prelovac.com/vladimir
|
|
@@ -165,7 +165,7 @@ function SEOLinks_process_text($text, $mode)
|
|
| 165 |
if ($strpos_fnc($text, $postitem->post_title) !== false) { // credit to Dominik Deobald
|
| 166 |
$name = preg_quote($postitem->post_title, '/');
|
| 167 |
|
| 168 |
-
$regexp=str_replace('$name', $name, $
|
| 169 |
|
| 170 |
|
| 171 |
$replace='<a title="$1" href="$$$url$$$">$1</a>';
|
| 2 |
|
| 3 |
/*
|
| 4 |
Plugin Name: SEO Smart Links
|
| 5 |
+
Version: 2.2.1
|
| 6 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-smart-links
|
| 7 |
Author: Vladimir Prelovac</a>
|
| 8 |
Author URI: http://www.prelovac.com/vladimir
|
| 165 |
if ($strpos_fnc($text, $postitem->post_title) !== false) { // credit to Dominik Deobald
|
| 166 |
$name = preg_quote($postitem->post_title, '/');
|
| 167 |
|
| 168 |
+
$regexp=str_replace('$name', $name, $reg);
|
| 169 |
|
| 170 |
|
| 171 |
$replace='<a title="$1" href="$$$url$$$">$1</a>';
|
