Version Description
- Fix broken Add New link page - theme conflicts
Download this release
Release Info
Developer | cartpauj |
Plugin | Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin |
Version | 3.0.7 |
Comparing to | |
See all releases |
Code changes from version 3.0.6 to 3.0.7
- i18n/pretty-link.pot +2 -2
- js/admin_link_form.js +29 -21
- js/admin_link_list.js +38 -30
- pretty-link.php +1 -1
- readme.txt +4 -1
i18n/pretty-link.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Pretty Links plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Pretty Links 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/pretty-link\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2019-07-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.2.0\n"
|
15 |
"X-Domain: pretty-link\n"
|
2 |
# This file is distributed under the same license as the Pretty Links plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Pretty Links 3.0.7\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/pretty-link\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2019-07-27T12:33:01-06:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.2.0\n"
|
15 |
"X-Domain: pretty-link\n"
|
js/admin_link_form.js
CHANGED
@@ -77,7 +77,7 @@
|
|
77 |
}
|
78 |
});
|
79 |
|
80 |
-
if (
|
81 |
var $el = $('.prli-edit-link-clipboard'),
|
82 |
copy_text = PrliLinkValidation.copy_text,
|
83 |
copied_text = PrliLinkValidation.copied_text,
|
@@ -86,9 +86,11 @@
|
|
86 |
text: function () {
|
87 |
return PrliLinkValidation.blogurl + PrliLinkValidation.permalink_pre_slug_uri + $('#prli_slug').val();
|
88 |
}
|
89 |
-
})
|
90 |
-
|
91 |
-
|
|
|
|
|
92 |
theme: 'tooltipster-borderless',
|
93 |
content: copy_text,
|
94 |
trigger: 'custom',
|
@@ -100,24 +102,30 @@
|
|
100 |
mouseenter: true,
|
101 |
touchstart: true
|
102 |
}
|
103 |
-
})
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
})
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
});
|
120 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
}
|
122 |
});
|
123 |
})(jQuery);
|
77 |
}
|
78 |
});
|
79 |
|
80 |
+
if (window.ClipboardJS) {
|
81 |
var $el = $('.prli-edit-link-clipboard'),
|
82 |
copy_text = PrliLinkValidation.copy_text,
|
83 |
copied_text = PrliLinkValidation.copied_text,
|
86 |
text: function () {
|
87 |
return PrliLinkValidation.blogurl + PrliLinkValidation.permalink_pre_slug_uri + $('#prli_slug').val();
|
88 |
}
|
89 |
+
});
|
90 |
+
|
91 |
+
if ($.fn.tooltipster) {
|
92 |
+
try {
|
93 |
+
var instance = $el.tooltipster({
|
94 |
theme: 'tooltipster-borderless',
|
95 |
content: copy_text,
|
96 |
trigger: 'custom',
|
102 |
mouseenter: true,
|
103 |
touchstart: true
|
104 |
}
|
105 |
+
}).tooltipster('instance');
|
106 |
+
|
107 |
+
clipboard
|
108 |
+
.on('success', function(e) {
|
109 |
+
instance
|
110 |
+
.content(copied_text)
|
111 |
+
.one('after', function(){
|
112 |
+
instance.content(copy_text);
|
113 |
+
});
|
114 |
+
})
|
115 |
+
.on('error', function(e) {
|
116 |
+
instance
|
117 |
+
.content(copy_error_text)
|
118 |
+
.one('after', function(){
|
119 |
+
instance.content(copy_text);
|
120 |
+
});
|
121 |
});
|
122 |
+
} catch (e) {
|
123 |
+
// With tooltipster <=3.3.0 an error will be caught here, just display a static tooltip
|
124 |
+
$el.tooltipster('destroy').tooltipster({
|
125 |
+
content: copy_text
|
126 |
+
});
|
127 |
+
}
|
128 |
+
}
|
129 |
}
|
130 |
});
|
131 |
})(jQuery);
|
js/admin_link_list.js
CHANGED
@@ -5,38 +5,46 @@ jQuery(document).ready(function($) {
|
|
5 |
copy_text = 'Copy to Clipboard',
|
6 |
copied_text = 'Copied!',
|
7 |
copy_error_text = 'Oops, Copy Failed!',
|
8 |
-
clipboard = new ClipboardJS(el)
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
39 |
});
|
|
|
|
|
40 |
});
|
41 |
|
42 |
//var clipboardURL = new ClipboardJS('.icon-clipboardjs');
|
5 |
copy_text = 'Copy to Clipboard',
|
6 |
copied_text = 'Copied!',
|
7 |
copy_error_text = 'Oops, Copy Failed!',
|
8 |
+
clipboard = new ClipboardJS(el);
|
9 |
+
|
10 |
+
if ($.fn.tooltipster) {
|
11 |
+
try {
|
12 |
+
var instance = $el.tooltipster({
|
13 |
+
theme: 'tooltipster-borderless',
|
14 |
+
content: copy_text,
|
15 |
+
trigger: 'custom',
|
16 |
+
triggerClose: {
|
17 |
+
mouseleave: true,
|
18 |
+
touchleave: true
|
19 |
+
},
|
20 |
+
triggerOpen: {
|
21 |
+
mouseenter: true,
|
22 |
+
touchstart: true
|
23 |
+
}
|
24 |
+
}).tooltipster('instance');
|
25 |
|
26 |
+
clipboard
|
27 |
+
.on('success', function(e) {
|
28 |
+
instance
|
29 |
+
.content(copied_text)
|
30 |
+
.one('after', function(){
|
31 |
+
instance.content(copy_text);
|
32 |
+
});
|
33 |
+
})
|
34 |
+
.on('error', function(e) {
|
35 |
+
instance
|
36 |
+
.content(copy_error_text)
|
37 |
+
.one('after', function(){
|
38 |
+
instance.content(copy_text);
|
39 |
+
});
|
40 |
+
});
|
41 |
+
} catch (e) {
|
42 |
+
// With tooltipster <=3.3.0 an error will be caught here, just display a static tooltip
|
43 |
+
$el.tooltipster('destroy').tooltipster({
|
44 |
+
content: copy_text
|
45 |
});
|
46 |
+
}
|
47 |
+
}
|
48 |
});
|
49 |
|
50 |
//var clipboardURL = new ClipboardJS('.icon-clipboardjs');
|
pretty-link.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Pretty Links
|
4 |
Plugin URI: https://prettylinks.com/pl/plugin-uri
|
5 |
Description: Shrink, track and share any URL on the Internet from your WordPress website!
|
6 |
-
Version: 3.0.
|
7 |
Author: Blair Williams
|
8 |
Author URI: http://blairwilliams.com
|
9 |
Text Domain: pretty-link
|
3 |
Plugin Name: Pretty Links
|
4 |
Plugin URI: https://prettylinks.com/pl/plugin-uri
|
5 |
Description: Shrink, track and share any URL on the Internet from your WordPress website!
|
6 |
+
Version: 3.0.7
|
7 |
Author: Blair Williams
|
8 |
Author URI: http://blairwilliams.com
|
9 |
Text Domain: pretty-link
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://prettylinks.com
|
|
4 |
Tags: links, link, url, urls, affiliate, affiliates, pretty, marketing, redirect, redirection, forward, plugin, twitter, tweet, rewrite, shorturl, hoplink, hop, shortlink, short, shorten, shortening, click, clicks, track, tracking, tiny, tinyurl, budurl, shrinking, domain, shrink, mask, masking, cloak, cloaking, slug, slugs, admin, administration, stats, statistics, stat, statistic, email, ajax, javascript, ui, csv, download, page, post, pages, posts, shortcode, seo, automation, widget, widgets, dashboard
|
5 |
Requires at least: 5.1
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 3.0.
|
8 |
|
9 |
Shrink, beautify, track, manage and share any URL on or off of your WordPress website. Create links that look how you want using your own domain name!
|
10 |
|
@@ -64,6 +64,9 @@ http://blairwilliams.com/w7a
|
|
64 |
3. Make sure you have changed your permalink Common Settings in Settings -> Permalinks away from "Default" to something else. I prefer using custom and then "/%year%/%month%/%postname%/" for the simplest possible URL slugs with the best performance.
|
65 |
|
66 |
== Changelog ==
|
|
|
|
|
|
|
67 |
= 3.0.6 =
|
68 |
* Disable "enter" key on the Target URL field
|
69 |
* Add copy to clipboard to the add/edit link page
|
4 |
Tags: links, link, url, urls, affiliate, affiliates, pretty, marketing, redirect, redirection, forward, plugin, twitter, tweet, rewrite, shorturl, hoplink, hop, shortlink, short, shorten, shortening, click, clicks, track, tracking, tiny, tinyurl, budurl, shrinking, domain, shrink, mask, masking, cloak, cloaking, slug, slugs, admin, administration, stats, statistics, stat, statistic, email, ajax, javascript, ui, csv, download, page, post, pages, posts, shortcode, seo, automation, widget, widgets, dashboard
|
5 |
Requires at least: 5.1
|
6 |
Tested up to: 5.2.2
|
7 |
+
Stable tag: 3.0.7
|
8 |
|
9 |
Shrink, beautify, track, manage and share any URL on or off of your WordPress website. Create links that look how you want using your own domain name!
|
10 |
|
64 |
3. Make sure you have changed your permalink Common Settings in Settings -> Permalinks away from "Default" to something else. I prefer using custom and then "/%year%/%month%/%postname%/" for the simplest possible URL slugs with the best performance.
|
65 |
|
66 |
== Changelog ==
|
67 |
+
= 3.0.7 =
|
68 |
+
* Fix broken Add New link page - theme conflicts
|
69 |
+
|
70 |
= 3.0.6 =
|
71 |
* Disable "enter" key on the Target URL field
|
72 |
* Add copy to clipboard to the add/edit link page
|