WP External Links (nofollow new tab seo) - Version 2.0.3

Version Description

  • Fixed bug ignoring links in
    section
Download this release

Release Info

Developer freelancephp
Plugin Icon 128x128 WP External Links (nofollow new tab seo)
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

includes/admin/class-wpel-network-page.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/admin/class-wpel-settings-page.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/admin/network-fields/class-wpel-network-admin-fields.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/admin/network-fields/class-wpel-network-fields.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/admin/settings-fields/class-wpel-admin-fields.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/admin/settings-fields/class-wpel-exceptions-fields.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/admin/settings-fields/class-wpel-external-link-fields.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/admin/settings-fields/class-wpel-internal-link-fields.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/admin/settings-fields/class-wpel-link-fields-base.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/class-wpel-front-ignore.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
@@ -69,13 +69,12 @@ final class WPEL_Front_Ignore extends WPRun_Base_1x0x0
69
  }
70
 
71
  /**
72
- *
73
  * @param type $tag_name
74
  * @return type
75
  */
76
  protected function get_tag_regexp( $tag_name )
77
  {
78
- return '/<'. $tag_name .'([^>]*)>(.*?)<\/'. $tag_name .'[^>]*>/is';
79
  }
80
 
81
  /**
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
69
  }
70
 
71
  /**
 
72
  * @param type $tag_name
73
  * @return type
74
  */
75
  protected function get_tag_regexp( $tag_name )
76
  {
77
+ return '/<'. $tag_name .'[^A-Za-z](.*?)>(.*?)<\/'. $tag_name .'[\s+]*>/is';
78
  }
79
 
80
  /**
includes/class-wpel-front.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
@@ -186,7 +186,7 @@ final class WPEL_Front extends WPRun_Base_1x0x0
186
  $space = ' '; // a single space
187
 
188
  foreach ( $atts as $j => $curr ) {
189
- if ( $mode < 0 ) {# name
190
  if ( '=' === $curr ) {
191
  $mode = 1;
192
  $stop = false;
@@ -448,7 +448,7 @@ final class WPEL_Front extends WPRun_Base_1x0x0
448
  }
449
 
450
  foreach ( $exclude_urls_arr as $exclude_url ) {
451
- if ( false !== strpos( $url, $exclude_url ) ) {
452
  return true;
453
  }
454
  }
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
186
  $space = ' '; // a single space
187
 
188
  foreach ( $atts as $j => $curr ) {
189
+ if ( $mode < 0 ) { // name
190
  if ( '=' === $curr ) {
191
  $mode = 1;
192
  $stop = false;
448
  }
449
 
450
  foreach ( $exclude_urls_arr as $exclude_url ) {
451
+ if ( false !== strpos( $url, $exclude_url ) ) {
452
  return true;
453
  }
454
  }
includes/class-wpel-link.php CHANGED
@@ -7,7 +7,7 @@
7
  *
8
  * @package WPEL
9
  * @category WordPress Plugin
10
- * @version 2.0.2
11
  * @author Victor Villaverde Laan
12
  * @link http://www.finewebdev.com
13
  * @link https://github.com/freelancephp/WP-External-Links
7
  *
8
  * @package WPEL
9
  * @category WordPress Plugin
10
+ * @version 2.0.3
11
  * @author Victor Villaverde Laan
12
  * @link http://www.finewebdev.com
13
  * @link https://github.com/freelancephp/WP-External-Links
includes/class-wpel-plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/class-wpel-registerhooks.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/class-wpel-template-tags.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
includes/class-wpel-textdomain.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: freelancephp
3
  Tags: links, new window, new tab, external links, nofollow, follow, seo, noopener, noreferrer, internal links, link icon, link target, _blank, wpmu
4
  Requires at least: 4.2.0
5
  Tested up to: 4.5.2
6
- Stable tag: 2.0.2
7
 
8
  Open external links in a new tab / window, add "nofollow", "noopener" and font icons, SEO and more. Also for internal links.
9
 
@@ -209,6 +209,9 @@ See [FAQ](https://wordpress.org/plugins/wp-external-links/faq/) for more info.
209
 
210
  == Changelog ==
211
 
 
 
 
212
  = 2.0.2 =
213
  * Fixed bug parsing empty attributess
214
  * Changed mailto links wil be completely ignored
3
  Tags: links, new window, new tab, external links, nofollow, follow, seo, noopener, noreferrer, internal links, link icon, link target, _blank, wpmu
4
  Requires at least: 4.2.0
5
  Tested up to: 4.5.2
6
+ Stable tag: 2.0.3
7
 
8
  Open external links in a new tab / window, add "nofollow", "noopener" and font icons, SEO and more. Also for internal links.
9
 
209
 
210
  == Changelog ==
211
 
212
+ = 2.0.3 =
213
+ * Fixed bug ignoring links in <header> section
214
+
215
  = 2.0.2 =
216
  * Fixed bug parsing empty attributess
217
  * Changed mailto links wil be completely ignored
templates/network-page/help-tabs/under-construction.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/network-page/main.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/partials/nav-tabs.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/partials/tab-contents/fields-default.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/partials/tab-contents/support.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/requirements-notice.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/settings-page/help-tabs/data-attributes.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/settings-page/help-tabs/under-construction.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/settings-page/main.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
templates/settings-page/tab-contents/exceptions.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link http://www.finewebdev.com
10
  * @link https://github.com/freelancephp/WP-External-Links
wp-external-links.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
- * @version 2.0.2
8
  * @author Victor Villaverde Laan
9
  * @link https://wordpress.org/plugins/wp-external-links/
10
  * @link https://github.com/freelancephp/WP-External-Links
@@ -12,7 +12,7 @@
12
  *
13
  * @wordpress-plugin
14
  * Plugin Name: WP External Links
15
- * Version: 2.0.2
16
  * Plugin URI: https://wordpress.org/plugins/wp-external-links/
17
  * Description: Open external links in a new tab or window, adding "nofollow" and "noopener", set font icon, SEO friendly options and more.
18
  * Author: Victor Villaverde Laan
4
  *
5
  * @package WPEL
6
  * @category WordPress Plugin
7
+ * @version 2.0.3
8
  * @author Victor Villaverde Laan
9
  * @link https://wordpress.org/plugins/wp-external-links/
10
  * @link https://github.com/freelancephp/WP-External-Links
12
  *
13
  * @wordpress-plugin
14
  * Plugin Name: WP External Links
15
+ * Version: 2.0.3
16
  * Plugin URI: https://wordpress.org/plugins/wp-external-links/
17
  * Description: Open external links in a new tab or window, adding "nofollow" and "noopener", set font icon, SEO friendly options and more.
18
  * Author: Victor Villaverde Laan