SEO Smart Links - Version 2.7.3

Version Description

  • Fixed a few bugs
Download this release

Release Info

Developer freediver
Plugin Icon 128x128 SEO Smart Links
Version 2.7.3
Comparing to
See all releases

Code changes from version 2.7.2 to 2.7.3

Files changed (2) hide show
  1. readme.txt +3 -0
  2. seo-links.php +5 -3
readme.txt CHANGED
@@ -27,6 +27,9 @@ Plugin by Vladimir Prelovac, a <a href="http://www.prelovac.com/vladimir/service
27
 
28
  == Changelog ==
29
 
 
 
 
30
  = 2.7 =
31
  * Released SEO Smart Links Premium (read more http://www.prelovac.com/products/seo-smart-links)
32
  * Fixed a nofollow link issue
27
 
28
  == Changelog ==
29
 
30
+ = 2.7.3 =
31
+ * Fixed a few bugs
32
+
33
  = 2.7 =
34
  * Released SEO Smart Links Premium (read more http://www.prelovac.com/products/seo-smart-links)
35
  * Fixed a nofollow link issue
seo-links.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  Plugin Name: SEO Smart Links
5
- Version: 2.7.2
6
  Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-smart-links
7
  Author: Vladimir Prelovac
8
  Author URI: http://www.prelovac.com/vladimir
@@ -112,8 +112,10 @@ function SEOLinks_process_text($text, $mode)
112
  // $reg = $options['casesens'] ? '/(?!(?:[^<]+>|[^>]+<\/a>))\b($name)\b/msU' : '/(?!(?:[^<]+>|[^>]+<\/a>))\b($name)\b/imsU';
113
  $reg_post = $options['casesens'] ? '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))($name)/msU' : '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))($name)/imsU';
114
  //$reg = $options['casesens'] ? '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/msU' : '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/imsU';
115
- $reg = $options['casesens'] ? '/\b($name)\b(?!(?:(?!<\/?[ha].*?>).)*<\/[ha].*?>)(?![^<>]*>)/msUu' : '/(?<!\pL)\b($name)\b(?!\pL)(?!(?:(?!<\/?[ha].*?>).)*<\/[ha].*?>)(?![^<>]*>)/iumsU';
116
-
 
 
117
  $strpos_fnc = $options['casesens'] ? 'strpos' : 'stripos';
118
 
119
  $text = " $text ";
2
 
3
  /*
4
  Plugin Name: SEO Smart Links
5
+ Version: 2.7.3
6
  Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-smart-links
7
  Author: Vladimir Prelovac
8
  Author URI: http://www.prelovac.com/vladimir
112
  // $reg = $options['casesens'] ? '/(?!(?:[^<]+>|[^>]+<\/a>))\b($name)\b/msU' : '/(?!(?:[^<]+>|[^>]+<\/a>))\b($name)\b/imsU';
113
  $reg_post = $options['casesens'] ? '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))($name)/msU' : '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))($name)/imsU';
114
  //$reg = $options['casesens'] ? '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/msU' : '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/imsU';
115
+ //$reg = $options['casesens'] ? '/\b($name)\b(?!(?:(?!<\/?[ha].*?>).)*<\/[ha].*?>)(?![^<>]*>)/msUu' : '/(?<!\pL)\b($name)\b(?!\pL)(?!(?:(?!<\/?[ha].*?>).)*<\/[ha].*?>)(?![^<>]*>)/iumsU';
116
+ $reg = $options['casesens'] ? '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/msU' : '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/imsU';
117
+
118
+
119
  $strpos_fnc = $options['casesens'] ? 'strpos' : 'stripos';
120
 
121
  $text = " $text ";