External Links - Version 5.5.3

Version Description

  • Use template_redirect hook and put ourselves after default hooks that most 404/redirect plugins want to use and Yoast's at priority 99999
Download this release

Release Info

Developer Mike_Koepke
Plugin Icon wp plugin External Links
Version 5.5.3
Comparing to
See all releases

Code changes from version 5.5.4 to 5.5.3

external-links-anchor-utils.php CHANGED
@@ -50,6 +50,8 @@ class external_links_anchor_utils {
50
  **/
51
 
52
  function ob_start() {
 
 
53
  ob_start(array($this, 'ob_filter'));
54
  add_action('wp_footer', array($this, 'ob_flush'), 1000000);
55
  } # ob_start()
@@ -65,6 +67,8 @@ class external_links_anchor_utils {
65
  global $escape_anchor_filter;
66
  $escape_anchor_filter = array();
67
 
 
 
68
  $text = $this->escape($text);
69
 
70
  $text = preg_replace_callback("/
@@ -88,6 +92,8 @@ class external_links_anchor_utils {
88
  **/
89
 
90
  static function ob_flush() {
 
 
91
  ob_end_flush();
92
  } # ob_flush()
93
 
@@ -127,6 +133,8 @@ class external_links_anchor_utils {
127
  **/
128
 
129
  function filter($text) {
 
 
130
  global $escape_anchor_filter;
131
  $escape_anchor_filter = array();
132
 
50
  **/
51
 
52
  function ob_start() {
53
+ echo '<!-- external-links ' . 'ob_start' . ' -->' . "\n";
54
+
55
  ob_start(array($this, 'ob_filter'));
56
  add_action('wp_footer', array($this, 'ob_flush'), 1000000);
57
  } # ob_start()
67
  global $escape_anchor_filter;
68
  $escape_anchor_filter = array();
69
 
70
+ $text = '<!-- external-links ' . 'ob_filter' . ' -->' . "\n" . $text;
71
+
72
  $text = $this->escape($text);
73
 
74
  $text = preg_replace_callback("/
92
  **/
93
 
94
  static function ob_flush() {
95
+ echo '<!-- external-links ' . 'ob_end_flush' . ' -->' . "\n";
96
+
97
  ob_end_flush();
98
  } # ob_flush()
99
 
133
  **/
134
 
135
  function filter($text) {
136
+ $text = '<!-- external-links ' . current_filter() . ' -->' . "\n" . $text;
137
+
138
  global $escape_anchor_filter;
139
  $escape_anchor_filter = array();
140
 
readme.txt CHANGED
@@ -36,10 +36,6 @@ If you require more dedicated assistance, consider using [Semiologic Pro](http:/
36
 
37
  == Change Log ==
38
 
39
- = 5.5.4 =
40
-
41
- - Remove HTML comments added in 5.4.1 to assist in troubleshooting some select site issues
42
-
43
  = 5.5.3 =
44
 
45
  - Use template_redirect hook and put ourselves after default hooks that most 404/redirect plugins want to use and Yoast's at priority 99999
36
 
37
  == Change Log ==
38
 
 
 
 
 
39
  = 5.5.3 =
40
 
41
  - Use template_redirect hook and put ourselves after default hooks that most 404/redirect plugins want to use and Yoast's at priority 99999
sem-external-links.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: External Links
4
  Plugin URI: http://www.semiologic.com/software/external-links/
5
  Description: Marks outbound links as such, with various effects that are configurable under <a href="options-general.php?page=external-links">Settings / External Links</a>.
6
- Version: 5.5.4
7
  Author: Denis de Bernardy & Mike Koepke
8
  Author URI: http://www.getsemiologic.com
9
  Text Domain: external-links
3
  Plugin Name: External Links
4
  Plugin URI: http://www.semiologic.com/software/external-links/
5
  Description: Marks outbound links as such, with various effects that are configurable under <a href="options-general.php?page=external-links">Settings / External Links</a>.
6
+ Version: 5.5.3
7
  Author: Denis de Bernardy & Mike Koepke
8
  Author URI: http://www.getsemiologic.com
9
  Text Domain: external-links