SEO Smart Links - Version 2.2.2

Version Description

  • Readme file consolidated
Download this release

Release Info

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

Code changes from version 2.2.1 to 2.2.2

Files changed (2) hide show
  1. readme.txt +7 -1
  2. seo-links.php +5 -9
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === SEO Smart Links ===
2
  Contributors: freediver
3
  Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=520781390
4
- Tags: Post, posts, comments, links, seo, google, automatic
5
  Requires at least: 2.3
6
  Tested up to: 2.8.4
7
  Stable tag: trunk
@@ -17,11 +17,17 @@ SEO Smart Links can automatically link keywords and phrases in your posts and co
17
 
18
  Further SEO Smart links allows you to set up your own keywords and set of matching URLs. Finally SEO Smart links allows you to set nofollow attribute and open links in new window.
19
 
 
 
20
  Everything happens completely transparent, and you can edit the options from the administration settings panel.
21
 
 
22
 
23
  == Changelog ==
24
 
 
 
 
25
  = 2.2.1 =
26
  * No more linking partial words (\b added to regexp)
27
 
1
  === SEO Smart Links ===
2
  Contributors: freediver
3
  Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=520781390
4
+ Tags: Post, posts, comments, links, seo, google, automatic, affiliate
5
  Requires at least: 2.3
6
  Tested up to: 2.8.4
7
  Stable tag: trunk
17
 
18
  Further SEO Smart links allows you to set up your own keywords and set of matching URLs. Finally SEO Smart links allows you to set nofollow attribute and open links in new window.
19
 
20
+ It is a perfect solution to get your blog posts interlinked or add affiliate links to other sites.
21
+
22
  Everything happens completely transparent, and you can edit the options from the administration settings panel.
23
 
24
+ Plugin by Vladimir Prelovac a <a href="http://www.prelovac.com/vladimir/services">WordPress Consultant</a>.
25
 
26
  == Changelog ==
27
 
28
+ = 2.2.2 =
29
+ * Readme file consolidated
30
+
31
  = 2.2.1 =
32
  * No more linking partial words (\b added to regexp)
33
 
seo-links.php CHANGED
@@ -2,7 +2,7 @@
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
@@ -119,11 +119,7 @@ function SEOLinks_process_text($text, $mode)
119
  }
120
  }
121
 
122
- /*foreach (explode("\n", $options['customkey']) as $line) {
123
- list($keyword, $url) = array_map('trim', explode(",", $line, 2));
124
- if (!empty($keyword)) $kw_array[$keyword] = $url;
125
- }*/
126
-
127
  foreach ($kw_array as $name=>$url)
128
  {
129
 
@@ -305,7 +301,7 @@ function SEOLinks_comment_text_filter($text) {
305
  'lcats' => '',
306
  'ltags' => '',
307
  'ignore' => 'about,',
308
- 'ignorepost' => 'contact',
309
  'maxlinks' => 3,
310
  'maxsingle' => 1,
311
  'minusage' => 1,
@@ -361,7 +357,7 @@ function SEOLinks_comment_text_filter($text) {
361
  $options['lcats']=$_POST['lcats'];
362
  $options['ltags']=$_POST['ltags'];
363
  $options['ignore']=$_POST['ignore'];
364
- $options['ignorepost']=$_POST['ignorepost'];
365
  $options['maxlinks']=(int) $_POST['maxlinks'];
366
  $options['maxsingle']=(int) $_POST['maxsingle'];
367
  $options['minusage']=(int) $_POST['minusage']; // credit to Dominik Deobald
@@ -394,7 +390,7 @@ function SEOLinks_comment_text_filter($text) {
394
  $lcats=$options['lcats']=='on'?'checked':'';
395
  $ltags=$options['ltags']=='on'?'checked':'';
396
  $ignore=$options['ignore'];
397
- $ignorepost=$options['ignorepost'];
398
  $maxlinks=$options['maxlinks'];
399
  $maxsingle=$options['maxsingle'];
400
  $minusage=$options['minusage'];
2
 
3
  /*
4
  Plugin Name: SEO Smart Links
5
+ Version: 2.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
119
  }
120
  }
121
 
122
+
 
 
 
 
123
  foreach ($kw_array as $name=>$url)
124
  {
125
 
301
  'lcats' => '',
302
  'ltags' => '',
303
  'ignore' => 'about,',
304
+ 'ignorepost' => 'contact',
305
  'maxlinks' => 3,
306
  'maxsingle' => 1,
307
  'minusage' => 1,
357
  $options['lcats']=$_POST['lcats'];
358
  $options['ltags']=$_POST['ltags'];
359
  $options['ignore']=$_POST['ignore'];
360
+ $options['ignorepost']=$_POST['ignorepost'];
361
  $options['maxlinks']=(int) $_POST['maxlinks'];
362
  $options['maxsingle']=(int) $_POST['maxsingle'];
363
  $options['minusage']=(int) $_POST['minusage']; // credit to Dominik Deobald
390
  $lcats=$options['lcats']=='on'?'checked':'';
391
  $ltags=$options['ltags']=='on'?'checked':'';
392
  $ignore=$options['ignore'];
393
+ $ignorepost=$options['ignorepost'];
394
  $maxlinks=$options['maxlinks'];
395
  $maxsingle=$options['maxsingle'];
396
  $minusage=$options['minusage'];