Version Description
- Customizer bug fix
Download this release
Release Info
Developer | markjaquith |
Plugin | Page Links To |
Version | 3.1.2 |
Comparing to | |
See all releases |
Code changes from version 3.1.1 to 3.1.2
- classes/plugin.php +11 -4
- js/quick-add.jsx +5 -2
- js/quick-add.min.js +9 -3
- 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.1.
|
35 |
|
36 |
/**
|
37 |
* Whether to replace WP links with their specified URLs.
|
@@ -171,6 +171,7 @@ class CWS_PageLinksTo {
|
|
171 |
$this->hook( 'display_post_states' );
|
172 |
$this->hook( 'admin_footer' );
|
173 |
$this->hook( 'admin_enqueue_scripts' );
|
|
|
174 |
$this->hook( 'admin_menu' );
|
175 |
|
176 |
// Gutenberg.
|
@@ -304,13 +305,19 @@ class CWS_PageLinksTo {
|
|
304 |
* @return void
|
305 |
*/
|
306 |
public function admin_enqueue_scripts() {
|
307 |
-
|
308 |
-
|
309 |
-
if ( current_user_can( 'edit_posts' ) ) {
|
310 |
wp_enqueue_script( 'plt-quick-add', $this->get_url() . 'js/quick-add.min.js', array( 'plt-clipboard', 'jquery-ui-dialog' ), self::CSS_JS_VERSION, true );
|
311 |
wp_enqueue_style( 'plt-quick-add', $this->get_url() . 'css/quick-add.css', array( 'wp-jquery-ui-dialog' ), self::CSS_JS_VERSION );
|
312 |
}
|
|
|
313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
// Gutenberg.
|
315 |
if ( self::is_block_editor() && self::is_supported_post_type() ) {
|
316 |
wp_enqueue_script( 'plt-gutenberg', $this->get_url() . 'js/gutenberg.min.js', array( 'wp-edit-post', 'wp-element', 'wp-plugins' ), self::CSS_JS_VERSION, true );
|
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.1.2';
|
35 |
|
36 |
/**
|
37 |
* Whether to replace WP links with their specified URLs.
|
171 |
$this->hook( 'display_post_states' );
|
172 |
$this->hook( 'admin_footer' );
|
173 |
$this->hook( 'admin_enqueue_scripts' );
|
174 |
+
$this->hook( 'enqueue_block_editor_assets' );
|
175 |
$this->hook( 'admin_menu' );
|
176 |
|
177 |
// Gutenberg.
|
305 |
* @return void
|
306 |
*/
|
307 |
public function admin_enqueue_scripts() {
|
308 |
+
if ( !is_customize_preview() && current_user_can( 'edit_posts' ) ) {
|
309 |
+
wp_register_script( 'plt-clipboard', $this->get_url() . 'js/clipboard.min.js', array(), self::CSS_JS_VERSION, true );
|
|
|
310 |
wp_enqueue_script( 'plt-quick-add', $this->get_url() . 'js/quick-add.min.js', array( 'plt-clipboard', 'jquery-ui-dialog' ), self::CSS_JS_VERSION, true );
|
311 |
wp_enqueue_style( 'plt-quick-add', $this->get_url() . 'css/quick-add.css', array( 'wp-jquery-ui-dialog' ), self::CSS_JS_VERSION );
|
312 |
}
|
313 |
+
}
|
314 |
|
315 |
+
/**
|
316 |
+
* Enqueues block editor scripts.
|
317 |
+
*
|
318 |
+
* @return void
|
319 |
+
*/
|
320 |
+
public function enqueue_block_editor_assets() {
|
321 |
// Gutenberg.
|
322 |
if ( self::is_block_editor() && self::is_supported_post_type() ) {
|
323 |
wp_enqueue_script( 'plt-gutenberg', $this->get_url() . 'js/gutenberg.min.js', array( 'wp-edit-post', 'wp-element', 'wp-plugins' ), self::CSS_JS_VERSION, true );
|
js/quick-add.jsx
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
// Copy to clipboard.
|
2 |
jQuery($ => {
|
|
|
|
|
|
|
|
|
3 |
const $clipboardLinks = $('.plt-copy-short-url');
|
4 |
if (ClipboardJS.isSupported()) {
|
5 |
$clipboardLinks.click(e => e.preventDefault());
|
@@ -12,8 +16,7 @@ jQuery($ => {
|
|
12 |
});
|
13 |
|
14 |
const clipboard = new ClipboardJS('.plt-copy-short-url');
|
15 |
-
const copied = pltVars
|
16 |
-
const browserNoSupportCopying = pltVars.browserNoSupportCopying;
|
17 |
|
18 |
clipboard.on('success', e => {
|
19 |
const $trigger = $(e.trigger);
|
1 |
// Copy to clipboard.
|
2 |
jQuery($ => {
|
3 |
+
if (undefined === window.pltVars) {
|
4 |
+
return;
|
5 |
+
}
|
6 |
+
|
7 |
const $clipboardLinks = $('.plt-copy-short-url');
|
8 |
if (ClipboardJS.isSupported()) {
|
9 |
$clipboardLinks.click(e => e.preventDefault());
|
16 |
});
|
17 |
|
18 |
const clipboard = new ClipboardJS('.plt-copy-short-url');
|
19 |
+
const { copied, browserNoSupportCopying } = window.pltVars;
|
|
|
20 |
|
21 |
clipboard.on('success', e => {
|
22 |
const $trigger = $(e.trigger);
|
js/quick-add.min.js
CHANGED
@@ -3,6 +3,10 @@
|
|
3 |
|
4 |
// Copy to clipboard.
|
5 |
jQuery(function ($) {
|
|
|
|
|
|
|
|
|
6 |
var $clipboardLinks = $('.plt-copy-short-url');
|
7 |
if (ClipboardJS.isSupported()) {
|
8 |
$clipboardLinks.click(function (e) {
|
@@ -17,8 +21,10 @@ jQuery(function ($) {
|
|
17 |
});
|
18 |
|
19 |
var clipboard = new ClipboardJS('.plt-copy-short-url');
|
20 |
-
var
|
21 |
-
|
|
|
|
|
22 |
|
23 |
clipboard.on('success', function (e) {
|
24 |
var $trigger = $(e.trigger);
|
@@ -234,4 +240,4 @@ jQuery(function ($) {
|
|
234 |
});
|
235 |
|
236 |
},{}]},{},[1])
|
237 |
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJqc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mYW5jeVVybHMpIHtcblx0XHQkdGl0bGUua2V5dXAodXBkYXRlU2x1Zyk7XG5cdFx0JHRpdGxlLmtleXVwKGhhbmRsZVNob3dTbHVnTWVzc2FnZSk7XG5cdFx0JHNsdWcua2V5dXAodXBkYXRlU2x1Zyk7XG5cdFx0JHNsdWcua2V5dXAoaGFuZGxlU2hvd1NsdWdNZXNzYWdlKTtcblx0XHQkZm9ybS5jaGFuZ2UoaGFyZFVwZGF0ZVNsdWcpO1xuXHR9XG5cblx0JG1lbnVJdGVtLmNsaWNrKGNsaWNrTWVudUl0ZW0pO1xuXHQkc2F2ZURyYWZ0LmNsaWNrKHNhdmVEcmFmdCk7XG5cdCRwdWJsaXNoLmNsaWNrKHB1Ymxpc2gpO1xuXHQkZm9ybS5zdWJtaXQocHVibGlzaCk7XG5cdCR0aXRsZS5rZXl1cChtYXliZVVwZGF0ZUJ1dHRvbnMpO1xuXHQkdXJsLmtleXVwKG1heWJlVXBkYXRlQnV0dG9ucyk7XG5cdCRmb3JtLmNoYW5nZShtYXliZVVwZGF0ZUJ1dHRvbnMpO1xuXG5cdC8vIEluaXQuXG5cdHJlc2V0KCk7XG59KTtcbiJdfQ==
|
3 |
|
4 |
// Copy to clipboard.
|
5 |
jQuery(function ($) {
|
6 |
+
if (undefined === window.pltVars) {
|
7 |
+
return;
|
8 |
+
}
|
9 |
+
|
10 |
var $clipboardLinks = $('.plt-copy-short-url');
|
11 |
if (ClipboardJS.isSupported()) {
|
12 |
$clipboardLinks.click(function (e) {
|
21 |
});
|
22 |
|
23 |
var clipboard = new ClipboardJS('.plt-copy-short-url');
|
24 |
+
var _window$pltVars = window.pltVars,
|
25 |
+
copied = _window$pltVars.copied,
|
26 |
+
browserNoSupportCopying = _window$pltVars.browserNoSupportCopying;
|
27 |
+
|
28 |
|
29 |
clipboard.on('success', function (e) {
|
30 |
var $trigger = $(e.trigger);
|
240 |
});
|
241 |
|
242 |
},{}]},{},[1])
|
243 |
+
//# sourceMappingURL=data:application/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5cdFx0XHRvZjogd2luZG93LFxuXHRcdH0pO1xuXHR9O1xuXG5cdCQod2luZG93KVxuXHRcdC5zY3JvbGwocmVwb3NpdGlvbk1vZGFsKVxuXHRcdC5yZXNpemUocmVwb3NpdGlvbk1vZGFsKTtcblxuXHQvLyBFdmVudHMuXG5cdGlmIChmYW5jeVVybHMpIHtcblx0XHQkdGl0bGUua2V5dXAodXBkYXRlU2x1Zyk7XG5cdFx0JHRpdGxlLmtleXVwKGhhbmRsZVNob3dTbHVnTWVzc2FnZSk7XG5cdFx0JHNsdWcua2V5dXAodXBkYXRlU2x1Zyk7XG5cdFx0JHNsdWcua2V5dXAoaGFuZGxlU2hvd1NsdWdNZXNzYWdlKTtcblx0XHQkZm9ybS5jaGFuZ2UoaGFyZFVwZGF0ZVNsdWcpO1xuXHR9XG5cblx0JG1lbnVJdGVtLmNsaWNrKGNsaWNrTWVudUl0ZW0pO1xuXHQkc2F2ZURyYWZ0LmNsaWNrKHNhdmVEcmFmdCk7XG5cdCRwdWJsaXNoLmNsaWNrKHB1Ymxpc2gpO1xuXHQkZm9ybS5zdWJtaXQocHVibGlzaCk7XG5cdCR0aXRsZS5rZXl1cChtYXliZVVwZGF0ZUJ1dHRvbnMpO1xuXHQkdXJsLmtleXVwKG1heWJlVXBkYXRlQnV0dG9ucyk7XG5cdCRmb3JtLmNoYW5nZShtYXliZVVwZGF0ZUJ1dHRvbnMpO1xuXG5cdC8vIEluaXQuXG5cdHJlc2V0KCk7XG59KTtcbiJdfQ==
|
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.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.1.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: http://txfx.net/wordpress-plugins/donate
|
|
5 |
Tags: page, redirect, link, external link, repoint
|
6 |
Requires at least: 4.8
|
7 |
Tested up to: 5.2
|
8 |
-
Stable tag: 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.1.1 =
|
81 |
* Block Editor bugfixes
|
82 |
|
5 |
Tags: page, redirect, link, external link, repoint
|
6 |
Requires at least: 4.8
|
7 |
Tested up to: 5.2
|
8 |
+
Stable tag: 3.1.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.1.2 =
|
81 |
+
* Customizer bug fix
|
82 |
+
|
83 |
= 3.1.1 =
|
84 |
* Block Editor bugfixes
|
85 |
|