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

Version Description

  • 2022-01-28
    • fixed icons for excluded external links
    • fixed FontAwesome conflict
Download this release

Release Info

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

Code changes from version 2.50 to 2.51

includes/admin/class-wpel-network-page.php CHANGED
@@ -128,7 +128,7 @@ final class WPEL_Network_Page extends WPRun_Base_1x0x0
128
  $current_screen = get_current_screen();
129
 
130
  if($current_screen->id == 'toplevel_page_wpel-network-settings-page-network' || $current_screen->id == 'settings_page_wpel-network-settings-page-network'){
131
- wp_enqueue_style( 'font-awesome' );
132
  wp_enqueue_style( 'wpel-admin-style' );
133
  wp_enqueue_script( 'wpel-admin-script' );
134
  }
128
  $current_screen = get_current_screen();
129
 
130
  if($current_screen->id == 'toplevel_page_wpel-network-settings-page-network' || $current_screen->id == 'settings_page_wpel-network-settings-page-network'){
131
+ wp_enqueue_style( 'wpel-font-awesome' );
132
  wp_enqueue_style( 'wpel-admin-style' );
133
  wp_enqueue_script( 'wpel-admin-script' );
134
  }
includes/admin/class-wpel-settings-page.php CHANGED
@@ -230,7 +230,7 @@ final class WPEL_Settings_Page extends WPRun_Base_1x0x0
230
  if ($current_screen->id == 'toplevel_page_wpel-settings-page' || $current_screen->id == 'settings_page_wpel-settings-page') {
231
  wp_enqueue_script('jquery-ui-core');
232
  wp_enqueue_script('jquery-ui-accordion');
233
- wp_enqueue_style('font-awesome');
234
  wp_enqueue_style('wpel-admin-style');
235
  wp_enqueue_script('wpel-admin-script');
236
  wp_enqueue_style('jquery-ui-smoothness', 'https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css', false, null);
230
  if ($current_screen->id == 'toplevel_page_wpel-settings-page' || $current_screen->id == 'settings_page_wpel-settings-page') {
231
  wp_enqueue_script('jquery-ui-core');
232
  wp_enqueue_script('jquery-ui-accordion');
233
+ wp_enqueue_style('wpel-font-awesome');
234
  wp_enqueue_style('wpel-admin-style');
235
  wp_enqueue_script('wpel-admin-script');
236
  wp_enqueue_style('jquery-ui-smoothness', 'https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css', false, null);
includes/class-wpel-front.php CHANGED
@@ -92,16 +92,17 @@ final class WPEL_Front extends WPRun_Base_1x0x0
92
  {
93
  $icon_type_int = $this->opt( 'icon_type', 'internal-links' );
94
  $icon_type_ext = $this->opt( 'icon_type', 'external-links' );
 
95
 
96
- if ( 'dashicon' === $icon_type_int || 'dashicon' === $icon_type_ext ) {
97
  wp_enqueue_style( 'dashicons' );
98
  }
99
 
100
- if ( 'fontawesome' === $icon_type_int || 'fontawesome' === $icon_type_ext ) {
101
- wp_enqueue_style( 'font-awesome' );
102
  }
103
 
104
- if ( $this->opt( 'icon_type', 'external-links' ) || $this->opt( 'icon_type', 'internal-links' ) ) {
105
  wp_enqueue_style( 'wpel-style' );
106
  }
107
 
92
  {
93
  $icon_type_int = $this->opt( 'icon_type', 'internal-links' );
94
  $icon_type_ext = $this->opt( 'icon_type', 'external-links' );
95
+ $icon_type_excl = $this->opt( 'icon_type', 'excluded-links' );
96
 
97
+ if ( 'dashicon' === $icon_type_int || 'dashicon' === $icon_type_ext || 'dashicon' === $icon_type_excl ) {
98
  wp_enqueue_style( 'dashicons' );
99
  }
100
 
101
+ if ( 'fontawesome' === $icon_type_int || 'fontawesome' === $icon_type_ext || 'fontawesome' === $icon_type_excl) {
102
+ wp_enqueue_style( 'wpel-font-awesome' );
103
  }
104
 
105
+ if ( $this->opt( 'icon_type', 'excluded-links' ) || $this->opt( 'icon_type', 'external-links' ) || $this->opt( 'icon_type', 'internal-links' ) ) {
106
  wp_enqueue_style( 'wpel-style' );
107
  }
108
 
includes/class-wpel-register-scripts.php CHANGED
@@ -37,7 +37,7 @@ final class WPEL_Register_Scripts extends WPRun_Base_1x0x0
37
 
38
  // set style font awesome icons
39
  wp_register_style(
40
- 'font-awesome',
41
  'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
42
  array(),
43
  $plugin_version
37
 
38
  // set style font awesome icons
39
  wp_register_style(
40
+ 'wpel-font-awesome',
41
  'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
42
  array(),
43
  $plugin_version
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: WebFactory
3
  Tags: new window, new tab, external links, nofollow, noopener, ugc, sponsored, follow, dofollow, seo, noreferrer, internal links, target, links, link, internal link, external link, link scanner, link checker
4
  Requires at least: 4.2
5
- Tested up to: 5.9
6
  Requires PHP: 7.2
7
- Stable tag: 2.50
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -247,6 +247,11 @@ See [FAQ](https://wordpress.org/plugins/wp-external-links/faq/) for more info.
247
 
248
  == Changelog ==
249
 
 
 
 
 
 
250
  = 2.50 =
251
  * 2021-07-09
252
  * completely new GUI
2
  Contributors: WebFactory
3
  Tags: new window, new tab, external links, nofollow, noopener, ugc, sponsored, follow, dofollow, seo, noreferrer, internal links, target, links, link, internal link, external link, link scanner, link checker
4
  Requires at least: 4.2
5
+ Tested up to: 6.0
6
  Requires PHP: 7.2
7
+ Stable tag: 2.51
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
247
 
248
  == Changelog ==
249
 
250
+ = 2.51 =
251
+ * 2022-01-28
252
+ * fixed icons for excluded external links
253
+ * fixed FontAwesome conflict
254
+
255
  = 2.50 =
256
  * 2021-07-09
257
  * completely new GUI
wp-external-links.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: WP External Links
4
- * Version: 2.50
5
  * Plugin URI: https://wordpress.org/plugins/wp-external-links/
6
  * Description: Check & scan all links + open external links in a new tab or window, control "nofollow" and "noopener", set font icon; SEO friendly.
7
  * Author: WebFactory Ltd
1
  <?php
2
  /**
3
  * Plugin Name: WP External Links
4
+ * Version: 2.51
5
  * Plugin URI: https://wordpress.org/plugins/wp-external-links/
6
  * Description: Check & scan all links + open external links in a new tab or window, control "nofollow" and "noopener", set font icon; SEO friendly.
7
  * Author: WebFactory Ltd