Page Links To - Version 3.3.2

Version Description

  • Fix a small new tab JS error.
Download this release

Release Info

Developer markjaquith
Plugin Icon wp plugin Page Links To
Version 3.3.2
Comparing to
See all releases

Code changes from version 3.3.1 to 3.3.2

classes/plugin.php CHANGED
@@ -31,7 +31,7 @@ class CWS_PageLinksTo {
31
const DISMISSED_NOTICES = 'page_links_dismissed_options';
32
const MESSAGE_ID = 4;
33
const NEWSLETTER_URL = 'https://pages.convertkit.com/8eb23c1339/1ce4614706';
34
- const CSS_JS_VERSION = '3.3.1';
35
36
/**
37
* Whether to replace WP links with their specified URLs.
31
const DISMISSED_NOTICES = 'page_links_dismissed_options';
32
const MESSAGE_ID = 4;
33
const NEWSLETTER_URL = 'https://pages.convertkit.com/8eb23c1339/1ce4614706';
34
+ const CSS_JS_VERSION = '3.3.2';
35
36
/**
37
* Whether to replace WP links with their specified URLs.
dist/new-tab.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '89057ca013a84ce593960fe46230a1da');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '4c3194bcd72ec605da8ef60cb3161173');
dist/new-tab.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=11)}({11:function(e,t,r){"use strict";r.r(t);var n=function(e){var t=/#new_tab#x2F;;"A"===e.tagName&&t.test(e.getAttribute("href"))&&(e.setAttribute("target","_blank"),e.setAttribute("href",e.getAttribute("href").replace(t,"")))},o=function(e){return n(e.target.closest("a"))},u=function(){for(var e=document.getElementsByTagName("A"),t=0;t<e.length;t++)n(e[t])};document.addEventListener("click",o),document.addEventListener("DOMContentLoaded",u)}});
1
+ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=11)}({11:function(e,t,r){"use strict";r.r(t);var n=function(e){var t=/#new_tab#x2F;;e&&void 0!==e.tagName&&"A"===e.tagName.toUpperCase()&&t.test(e.getAttribute("href"))&&(e.setAttribute("target","_blank"),e.setAttribute("href",e.getAttribute("href").replace(t,"")))},o=function(e){return n(e.target.closest("a"))},u=function(){for(var e=document.getElementsByTagName("A"),t=0;t<e.length;t++)n(e[t])};document.addEventListener("click",o),document.addEventListener("DOMContentLoaded",u)}});
page-links-to.php CHANGED
@@ -7,7 +7,7 @@
7
* Plugin Name: Page Links To
8
* Plugin URI: http://txfx.net/wordpress-plugins/page-links-to/
9
* Description: Allows you to point WordPress pages or posts to a URL of your choosing. Good for setting up navigational links to non-WP sections of your site or to off-site resources.
10
- * Version: 3.3.1
11
* Author: Mark Jaquith
12
* Author URI: https://coveredweb.com/
13
* Text Domain: page-links-to
7
* Plugin Name: Page Links To
8
* Plugin URI: http://txfx.net/wordpress-plugins/page-links-to/
9
* Description: Allows you to point WordPress pages or posts to a URL of your choosing. Good for setting up navigational links to non-WP sections of your site or to off-site resources.
10
+ * Version: 3.3.2
11
* Author: Mark Jaquith
12
* Author URI: https://coveredweb.com/
13
* Text Domain: page-links-to
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://txfx.net/wordpress-plugins/donate
5
Tags: page, redirect, link, external link, repoint
6
Requires at least: 4.8
7
Tested up to: 5.4
8
- Stable tag: 3.3.1
9
10
Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site), instead of its normal WordPress URL.
11
@@ -77,6 +77,9 @@ You can contribute (or report bugs) on [Github](https://github.com/markjaquith/p
77
78
== Changelog ==
79
80
= 3.3.1 =
81
* Fix WordPress 5.2 Block Editor (plugin will NOT be in its own panel if you're using WordPress 5.2).
82
5
Tags: page, redirect, link, external link, repoint
6
Requires at least: 4.8
7
Tested up to: 5.4
8
+ Stable tag: 3.3.2
9
10
Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site), instead of its normal WordPress URL.
11
77
78
== Changelog ==
79
80
+ = 3.3.2 =
81
+ * Fix a small new tab JS error.
82
+
83
= 3.3.1 =
84
* Fix WordPress 5.2 Block Editor (plugin will NOT be in its own panel if you're using WordPress 5.2).
85