Ultimate Nofollow - Version 1.4.6

Version Description

  • Fixed some errors that were causing error messages on admin pages
Download this release

Release Info

Developer bitacre
Plugin Icon wp plugin Ultimate Nofollow
Version 1.4.6
Comparing to
See all releases

Code changes from version 1.4.5 to 1.4.6

Files changed (2) hide show
  1. nofollow.php +4 -3
  2. readme.txt +9 -3
nofollow.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Ultimate Nofollow
4
  Plugin URI: http://shinraholdings.com/plugins/nofollow
5
  Description: A suite of tools that gives you complete control over the rel=nofollow tag on an individual link basis.
6
- Version: 1.4.5
7
  Author: bitacre
8
  Author URI: http://shinraholdings.com
9
  License: GPLv2
10
- Copyright 2016 Shinra Web Holdings (shinraholdings.com)
11
 
12
  This plugin contains several tools in one to significantly increase your control of the nofollow rel tag on every link on your blog, on both an individual and type basis. It is designed to give you fine-grained control of linking for SEO purposes.
13
 
@@ -36,6 +36,7 @@ function ultnofo_options_add_page() {
36
  accepts an array, returns a sanitized array. */
37
  function ultnofo_options_validate( $input ) {
38
  $input[ 'nofollow_comments' ] = ( $input[ 'nofollow_comments' ] == 1 ? 1 : 0 ); // (checkbox) if 1 then 1, else 0
 
39
  // $input[ 'test_text_1' ] = wp_filter_nohtml_kses( $input[ 'test_text_1' ] ); // (textbox) safe text, no html
40
  return $input;
41
  }
@@ -188,7 +189,7 @@ function ultnofo_blogroll_add_meta_box() {
188
  }
189
 
190
  function ultnofo_blogroll_inner_meta_box ( $post ) {
191
- $bookmark = get_bookmark( $post->ID, 'ARRAY_A' );
192
  if( strpos( $bookmark['link_rel'], 'nofollow' ) !== FALSE ) $checked = ' checked="checked"';
193
  else $checked = '';
194
 
3
  Plugin Name: Ultimate Nofollow
4
  Plugin URI: http://shinraholdings.com/plugins/nofollow
5
  Description: A suite of tools that gives you complete control over the rel=nofollow tag on an individual link basis.
6
+ Version: 1.4.6
7
  Author: bitacre
8
  Author URI: http://shinraholdings.com
9
  License: GPLv2
10
+ Copyright 2017 Shinra Web Holdings (shinraholdings.com)
11
 
12
  This plugin contains several tools in one to significantly increase your control of the nofollow rel tag on every link on your blog, on both an individual and type basis. It is designed to give you fine-grained control of linking for SEO purposes.
13
 
36
  accepts an array, returns a sanitized array. */
37
  function ultnofo_options_validate( $input ) {
38
  $input[ 'nofollow_comments' ] = ( $input[ 'nofollow_comments' ] == 1 ? 1 : 0 ); // (checkbox) if 1 then 1, else 0
39
+ $input[ 'nofollow_blogroll' ] = ( $input[ 'nofollow_blogroll' ] == 1 ? 1 : 0 ); // (checkbox) if 1 then 1, else 0
40
  // $input[ 'test_text_1' ] = wp_filter_nohtml_kses( $input[ 'test_text_1' ] ); // (textbox) safe text, no html
41
  return $input;
42
  }
189
  }
190
 
191
  function ultnofo_blogroll_inner_meta_box ( $post ) {
192
+ $bookmark = get_bookmark( $post->link_id, 'ARRAY_A' );
193
  if( strpos( $bookmark['link_rel'], 'nofollow' ) !== FALSE ) $checked = ' checked="checked"';
194
  else $checked = '';
195
 
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: bitacre, keesromkes
4
  Donate link: http://shinraholdings.com/donate
5
  Tags: nofollow,link,links,meta,insert,rel nofollow,seo,checkbox,popup,shortcode,blogroll
6
  Requires at least: 2.8
7
- Tested up to: 4.5
8
- Stable tag: 1.4.5
9
 
10
  Adds a checkbox in the insert link popup box for including rel="nofollow" in links as you create them; as well as other tools that provides complete control over the rel="nofollow" tag on your blogroll links and comments.
11
 
@@ -45,6 +45,9 @@ You can also include the optional <a> attributes `title` and `target`. A full ex
45
  3. Nofollow checkbox on the add/edit blogroll link page.
46
 
47
  == Changelog ==
 
 
 
48
  = 1.4.5 =
49
  * Fixed checkbox bug, thanks [keesromkes](https://wordpress.org/support/profile/keesromkes)
50
 
@@ -87,8 +90,11 @@ You can also include the optional <a> attributes `title` and `target`. A full ex
87
  * Stable, but not all functions active yet.
88
 
89
  == Upgrade Notice ==
 
 
 
90
  = 1.4.5 =
91
- Fixes checkbox bug introducef in WP 4.5.
92
 
93
  = 1.4.4 =
94
  Purely cosmetic WordPress 4.4 update. Happy New Year.
4
  Donate link: http://shinraholdings.com/donate
5
  Tags: nofollow,link,links,meta,insert,rel nofollow,seo,checkbox,popup,shortcode,blogroll
6
  Requires at least: 2.8
7
+ Tested up to: 4.8
8
+ Stable tag: 1.4.6
9
 
10
  Adds a checkbox in the insert link popup box for including rel="nofollow" in links as you create them; as well as other tools that provides complete control over the rel="nofollow" tag on your blogroll links and comments.
11
 
45
  3. Nofollow checkbox on the add/edit blogroll link page.
46
 
47
  == Changelog ==
48
+ = 1.4.6 =
49
+ * Fixed some errors that were causing error messages on admin pages
50
+
51
  = 1.4.5 =
52
  * Fixed checkbox bug, thanks [keesromkes](https://wordpress.org/support/profile/keesromkes)
53
 
90
  * Stable, but not all functions active yet.
91
 
92
  == Upgrade Notice ==
93
+ = 1.4.6 =
94
+ Fixes error messages being shown on some admin pages.
95
+
96
  = 1.4.5 =
97
+ Fixes checkbox bug introduced in WP 4.5.
98
 
99
  = 1.4.4 =
100
  Purely cosmetic WordPress 4.4 update. Happy New Year.