Version Description
- Bug fixes
Download this release
Release Info
Developer | markjaquith |
Plugin | Page Links To |
Version | 3.2.1 |
Comparing to | |
See all releases |
Code changes from version 3.2.0 to 3.2.1
- classes/plugin.php +1 -1
- dist/quick-add.asset.php +1 -1
- dist/quick-add.js +1 -1
- page-links-to.php +1 -1
- readme.txt +4 -1
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.2.
|
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.2.1';
|
35 |
|
36 |
/**
|
37 |
* Whether to replace WP links with their specified URLs.
|
dist/quick-add.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '7bbb2de58a2e27ae879bed1de0bc199d');
|
dist/quick-add.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=6)}({6:function(e,t,n){n(7),e.exports=n(8)},7:function(e,t){jQuery((function(e){if(void 0!==window.pltVars){var t=e(".plt-copy-short-url");ClipboardJS.isSupported()?t.click((function(e){return e.preventDefault()})):t.hide(),e(".plt-links-to button").click((function(
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=6)}({6:function(e,t,n){n(7),e.exports=n(8)},7:function(e,t){jQuery((function(e){if(void 0!==window.pltVars){var t=e(".plt-copy-short-url"),n=new ClipboardJS(".plt-copy-short-url"),r=window.pltVars,o=r.copied,i=r.browserNoSupportCopying;ClipboardJS.isSupported()?t.click((function(e){return e.preventDefault()})):t.hide(),e(".plt-links-to button").click((function(){return e("#cws-links-to").focus()})),n.on("success",(function(t){var n=e(t.trigger);n.text(o),setTimeout((function(){return n.text(n.data("original-text"))}),4e3)})),n.on("error",(function(n){e(n.trigger).text(i),setTimeout((function(){return t.hide()}),4e3)}))}})),jQuery((function(e){if(void 0!==window.pltVars){var t=e("#plt-quick-add"),n=t.find("form:first"),r=e("#plt-quick-add-save"),o=e("#plt-quick-add-publish"),i=e('a[href$="post_type=page&page=plt-add-page-link"], a[href$="#new-page-link"]'),l=t.find(".messages"),u=t.find(".short-url-message"),a=t.find('[name="title"]'),c=t.find('[name="url"]'),p=t.find('[name="slug"]'),d=t.find('[name="plt_nonce"]').val(),f=p.prop("placeholder"),s=window.pltVars.fancyUrls,g=function(e){return function(){return t.dialog(e)}},v=g("isOpen"),b=g("open"),h=g("close"),y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return w(e).replace(/-$/,"")},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toLowerCase().replace(/\s+/g,"-").replace(/-{2,}/g,"-").replace(/[^a-z0-9-]/,"").replace(/^-/,"")},k=function(t,n){var r=function(t){var n=e("<p>".concat(t,"</p>"));return l.append(n),n}(t);return setTimeout((function(){return r.fadeOut()}),n),r},m=function(){var e=y(a.val()),t=w(p.val());p.prop("placeholder",e.length?e:f),p.val(t)},_=function(e){return function(t){t.preventDefault(),e()}},x=_((function(){return p.val(y(p.val()))})),O=_((function(){return e=p.prop("placeholder").length>16&&!p.val().length,u.toggle(e);var e})),j=function(){a.val(""),c.val(""),p.val(""),p.prop("placeholder",f),S()},S=function(){return function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];o.prop("disabled",!e),r.prop("disabled",!e)}(a.val().length&&c.val().length)},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.publish,r=void 0===n||n,o=a.val(),i=c.val(),l=p.val()?p.val():y(o);e.post(ajaxurl,{action:"plt_quick_add",plt_title:o,plt_url:i,plt_slug:l,plt_publish:r?1:0,plt_nonce:d},(function(e){var t=e.data.message;j(),a.focus(),k(t,5e3)}))},P=_((function(){return v()?h():b()})),q=_((function(){return C({publish:!1})})),T=_((function(){return C({publish:!0})}));t.dialog({title:"Add Page Link",dialogClass:"wp-dialog plt-ui-dialog",autoOpen:!1,draggable:!1,width:"auto",modal:!0,resizable:!1,closeOnEscape:!0,position:{my:"center",at:"center",of:window},open:function(){return e(".ui-widget-overlay").bind("click",h)},create:function(){e(".plt-ui-dialog .ui-dialog-titlebar-close").addClass("ui-button"),e(".plt-ui-dialog").css({position:"fixed"})}});var M=function(){v()&&t.dialog("option","position",{my:"center",at:"center",of:window})};e(window).scroll(M).resize(M),s&&(a.keyup(m),a.keyup(O),p.keyup(m),p.keyup(O),n.change(x)),i.click(P),r.click(q),o.click(T),n.submit(T),a.keyup(S),c.keyup(S),n.change(S),j()}}))},8:function(e,t,n){e.exports=n.p+"quick-add.css"}});
|
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.2.
|
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.2.1
|
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.3
|
8 |
-
Stable tag: 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,6 +77,9 @@ You can contribute (or report bugs) on [Github](https://github.com/markjaquith/p
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 3.2.0 =
|
81 |
* Block Editor improvements
|
82 |
* Smaller build
|
5 |
Tags: page, redirect, link, external link, repoint
|
6 |
Requires at least: 4.8
|
7 |
Tested up to: 5.3
|
8 |
+
Stable tag: 3.2.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 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 3.2.1 =
|
81 |
+
* Bug fixes
|
82 |
+
|
83 |
= 3.2.0 =
|
84 |
* Block Editor improvements
|
85 |
* Smaller build
|