Custom Post Type UI - Version 1.13.0

Version Description

  • 2022-09-07 =
  • Added: Notes regarding featured image and post format support also needing add_theme_support to work.
  • Fixed: Issues around double quotes and JSON export with the post type description field
  • Fixed: Issues around HTML markup being removed from post type description field stemming from 1.10.x release
  • Fixed: Pluralization issue with our UI for some field labels
  • Updated: Code separation and quality cleanup.
  • Updated: Plugin branding.
Download this release

Release Info

Developer tw2113
Plugin Icon 128x128 Custom Post Type UI
Version 1.13.0
Comparing to
See all releases

Code changes from version 1.12.1 to 1.13.0

build/cptui-scripts.js ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ postboxes.add_postbox_toggles(pagenow);
2
+
3
+ (function($) {
4
+ $("#cptui_select_post_type_submit").hide();
5
+ $("#cptui_select_taxonomy_submit").hide();
6
+ if ("edit" === getParameterByName("action")) {
7
+ var original_slug = $("#name").val();
8
+ }
9
+ $("#hierarchical").on("change", function() {
10
+ var hierarchical = $(this).val();
11
+ if ("1" === hierarchical) {
12
+ $("#page-attributes").prop("checked", true);
13
+ } else {
14
+ $("#page-attributes").prop("checked", false);
15
+ }
16
+ });
17
+ $("#post_type").on("change", function() {
18
+ $("#cptui_select_post_type").submit();
19
+ });
20
+ $("#taxonomy").on("change", function() {
21
+ $("#cptui_select_taxonomy").submit();
22
+ });
23
+ $(".cptui-delete-top, .cptui-delete-bottom").on("click", function(e) {
24
+ e.preventDefault();
25
+ var msg = "";
26
+ if (typeof cptui_type_data !== "undefined") {
27
+ msg = cptui_type_data.confirm;
28
+ } else if (typeof cptui_tax_data !== "undefined") {
29
+ msg = cptui_tax_data.confirm;
30
+ }
31
+ var submit_delete_warning = $('<div class="cptui-submit-delete-dialog">' + msg + "</div>").appendTo("#poststuff").dialog({
32
+ dialogClass: "wp-dialog",
33
+ modal: true,
34
+ autoOpen: true,
35
+ buttons: {
36
+ OK: function() {
37
+ var form = $(e.target).closest("form");
38
+ $(e.target).off("click").click();
39
+ },
40
+ Cancel: function() {
41
+ $(this).dialog("close");
42
+ }
43
+ }
44
+ });
45
+ });
46
+ $("#support .question").each(function() {
47
+ var tis = $(this), state = false, answer = tis.next("div").slideUp();
48
+ tis.on("click keydown", function(e) {
49
+ if (e.type === "keydown" && e.keyCode !== 32 && e.keyCode !== 13) {
50
+ return;
51
+ }
52
+ e.preventDefault();
53
+ state = !state;
54
+ answer.slideToggle(state);
55
+ tis.toggleClass("active", state);
56
+ tis.attr("aria-expanded", state.toString());
57
+ tis.focus();
58
+ });
59
+ });
60
+ $("#name").on("keyup", function(e) {
61
+ var value, original_value;
62
+ value = original_value = $(this).val();
63
+ if (e.keyCode !== 9 && e.keyCode !== 37 && e.keyCode !== 38 && e.keyCode !== 39 && e.keyCode !== 40) {
64
+ value = value.replace(/ /g, "_");
65
+ value = value.toLowerCase();
66
+ value = replaceDiacritics(value);
67
+ value = transliterate(value);
68
+ value = replaceSpecialCharacters(value);
69
+ if (value !== original_value) {
70
+ $(this).prop("value", value);
71
+ }
72
+ }
73
+ if (typeof original_slug !== "undefined") {
74
+ var $slugchanged = $("#slugchanged");
75
+ if (value != original_slug) {
76
+ $slugchanged.removeClass("hidemessage");
77
+ } else {
78
+ $slugchanged.addClass("hidemessage");
79
+ }
80
+ }
81
+ var $slugexists = $("#slugexists");
82
+ if (typeof cptui_type_data != "undefined") {
83
+ if (cptui_type_data.existing_post_types.hasOwnProperty(value) && value !== original_slug) {
84
+ $slugexists.removeClass("hidemessage");
85
+ } else {
86
+ $slugexists.addClass("hidemessage");
87
+ }
88
+ }
89
+ if (typeof cptui_tax_data != "undefined") {
90
+ if (cptui_tax_data.existing_taxonomies.hasOwnProperty(value) && value !== original_slug) {
91
+ $slugexists.removeClass("hidemessage");
92
+ } else {
93
+ $slugexists.addClass("hidemessage");
94
+ }
95
+ }
96
+ });
97
+ function replaceDiacritics(s) {
98
+ var diacritics = [ /[\300-\306]/g, /[\340-\346]/g, /[\310-\313]/g, /[\350-\353]/g, /[\314-\317]/g, /[\354-\357]/g, /[\322-\330]/g, /[\362-\370]/g, /[\331-\334]/g, /[\371-\374]/g, /[\321]/g, /[\361]/g, /[\307]/g, /[\347]/g ];
99
+ var chars = [ "A", "a", "E", "e", "I", "i", "O", "o", "U", "u", "N", "n", "C", "c" ];
100
+ for (var i = 0; i < diacritics.length; i++) {
101
+ s = s.replace(diacritics[i], chars[i]);
102
+ }
103
+ return s;
104
+ }
105
+ function replaceSpecialCharacters(s) {
106
+ if ("cpt-ui_page_cptui_manage_post_types" === window.pagenow) {
107
+ s = s.replace(/[^a-z0-9\s-]/gi, "_");
108
+ } else {
109
+ s = s.replace(/[^a-z0-9\s]/gi, "_");
110
+ }
111
+ return s;
112
+ }
113
+ function composePreviewContent(value) {
114
+ var re = /(http|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?/;
115
+ var is_url = re.test(value);
116
+ if (!value) {
117
+ return "";
118
+ } else if (0 === value.indexOf("dashicons-")) {
119
+ return $('<div class="dashicons-before"><br></div>').addClass(htmlEncode(value));
120
+ } else if (is_url) {
121
+ var imgsrc = encodeURI(value);
122
+ var theimg = document.createElement("IMG");
123
+ theimg.src = imgsrc;
124
+ return theimg;
125
+ }
126
+ }
127
+ function htmlEncode(str) {
128
+ return String(str).replace(/[^-\w. ]/gi, function(c) {
129
+ return "&#" + c.charCodeAt(0) + ";";
130
+ });
131
+ }
132
+ var cyrillic = {
133
+ "Ё": "YO",
134
+ "Й": "I",
135
+ "Ц": "TS",
136
+ "У": "U",
137
+ "К": "K",
138
+ "Е": "E",
139
+ "Н": "N",
140
+ "Г": "G",
141
+ "Ш": "SH",
142
+ "Щ": "SCH",
143
+ "З": "Z",
144
+ "Х": "H",
145
+ "Ъ": "'",
146
+ "ё": "yo",
147
+ "й": "i",
148
+ "ц": "ts",
149
+ "у": "u",
150
+ "к": "k",
151
+ "е": "e",
152
+ "н": "n",
153
+ "г": "g",
154
+ "ш": "sh",
155
+ "щ": "sch",
156
+ "з": "z",
157
+ "х": "h",
158
+ "ъ": "'",
159
+ "Ф": "F",
160
+ "Ы": "I",
161
+ "В": "V",
162
+ "А": "a",
163
+ "П": "P",
164
+ "Р": "R",
165
+ "О": "O",
166
+ "Л": "L",
167
+ "Д": "D",
168
+ "Ж": "ZH",
169
+ "Э": "E",
170
+ "ф": "f",
171
+ "ы": "i",
172
+ "в": "v",
173
+ "а": "a",
174
+ "п": "p",
175
+ "р": "r",
176
+ "о": "o",
177
+ "л": "l",
178
+ "д": "d",
179
+ "ж": "zh",
180
+ "э": "e",
181
+ "Я": "Ya",
182
+ "Ч": "CH",
183
+ "С": "S",
184
+ "М": "M",
185
+ "И": "I",
186
+ "Т": "T",
187
+ "Ь": "'",
188
+ "Б": "B",
189
+ "Ю": "YU",
190
+ "я": "ya",
191
+ "ч": "ch",
192
+ "с": "s",
193
+ "м": "m",
194
+ "и": "i",
195
+ "т": "t",
196
+ "ь": "'",
197
+ "б": "b",
198
+ "ю": "yu"
199
+ };
200
+ function transliterate(word) {
201
+ return word.split("").map(function(char) {
202
+ return cyrillic[char] || char;
203
+ }).join("");
204
+ }
205
+ if (undefined != wp.media) {
206
+ var _custom_media = true, _orig_send_attachment = wp.media.editor.send.attachment;
207
+ }
208
+ function getParameterByName(name, url) {
209
+ if (!url) url = window.location.href;
210
+ name = name.replace(/[\[\]]/g, "\\$&");
211
+ var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), results = regex.exec(url);
212
+ if (!results) return null;
213
+ if (!results[2]) return "";
214
+ return decodeURIComponent(results[2].replace(/\+/g, " "));
215
+ }
216
+ $("#cptui_choose_icon").on("click", function(e) {
217
+ e.preventDefault();
218
+ var button = $(this);
219
+ var id = jQuery("#menu_icon").attr("id");
220
+ _custom_media = true;
221
+ wp.media.editor.send.attachment = function(props, attachment) {
222
+ if (_custom_media) {
223
+ $("#" + id).val(attachment.url).change();
224
+ } else {
225
+ return _orig_send_attachment.apply(this, [ props, attachment ]);
226
+ }
227
+ };
228
+ wp.media.editor.open(button);
229
+ return false;
230
+ });
231
+ $("#menu_icon").on("change", function() {
232
+ var value = $(this).val();
233
+ value = value.trim();
234
+ $("#menu_icon_preview").html(composePreviewContent(value));
235
+ });
236
+ $(".cptui-help").on("click", function(e) {
237
+ e.preventDefault();
238
+ });
239
+ $(".cptui-taxonomy-submit").on("click", function(e) {
240
+ if ($(".cptui-table :checkbox:checked").length == 0) {
241
+ e.preventDefault();
242
+ var no_associated_type_warning = $('<div class="cptui-taxonomy-empty-types-dialog">' + cptui_tax_data.no_associated_type + "</div>").appendTo("#poststuff").dialog({
243
+ dialogClass: "wp-dialog",
244
+ modal: true,
245
+ autoOpen: true,
246
+ buttons: {
247
+ OK: function() {
248
+ $(this).dialog("close");
249
+ }
250
+ }
251
+ });
252
+ }
253
+ });
254
+ $("#auto-populate").on("click tap", function(e) {
255
+ e.preventDefault();
256
+ var slug = $("#name").val();
257
+ var plural = $("#label").val();
258
+ var singular = $("#singular_label").val();
259
+ var fields = $('.cptui-labels input[type="text"]');
260
+ if ("" === slug) {
261
+ return;
262
+ }
263
+ if ("" === plural) {
264
+ plural = slug;
265
+ }
266
+ if ("" === singular) {
267
+ singular = slug;
268
+ }
269
+ $(fields).each(function(i, el) {
270
+ var newval = $(el).data("label");
271
+ var plurality = $(el).data("plurality");
272
+ if ("undefined" !== newval) {
273
+ if ("plural" === plurality) {
274
+ newval = newval.replace(/item/gi, plural);
275
+ } else {
276
+ newval = newval.replace(/item/gi, singular);
277
+ }
278
+ if ($(el).val() === "") {
279
+ $(el).val(newval);
280
+ }
281
+ }
282
+ });
283
+ });
284
+ $("#auto-clear").on("click tap", function(e) {
285
+ e.preventDefault();
286
+ var fields = $('.cptui-labels input[type="text"]');
287
+ $(fields).each(function(i, el) {
288
+ $(el).val("");
289
+ });
290
+ });
291
+ })(jQuery);
build/cptui-scripts.min.js ADDED
@@ -0,0 +1 @@
 
1
+ postboxes.add_postbox_toggles(pagenow),function(c){var i;function t(e){var t=/(http|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?/.test(e);return e?0===e.indexOf("dashicons-")?c('<div class="dashicons-before"><br></div>').addClass(String(e).replace(/[^-\w. ]/gi,function(e){return"&#"+e.charCodeAt(0)+";"})):t?(t=encodeURI(e),(e=document.createElement("IMG")).src=t,e):void 0:""}c("#cptui_select_post_type_submit").hide(),c("#cptui_select_taxonomy_submit").hide(),"edit"===function(e,t){t=t||window.location.href;e=e.replace(/[\[\]]/g,"\\$&");e=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null}("action")&&(i=c("#name").val()),c("#hierarchical").on("change",function(){"1"===c(this).val()?c("#page-attributes").prop("checked",!0):c("#page-attributes").prop("checked",!1)}),c("#post_type").on("change",function(){c("#cptui_select_post_type").submit()}),c("#taxonomy").on("change",function(){c("#cptui_select_taxonomy").submit()}),c(".cptui-delete-top, .cptui-delete-bottom").on("click",function(e){e.preventDefault();var t="";"undefined"!=typeof cptui_type_data?t=cptui_type_data.confirm:"undefined"!=typeof cptui_tax_data&&(t=cptui_tax_data.confirm),c('<div class="cptui-submit-delete-dialog">'+t+"</div>").appendTo("#poststuff").dialog({dialogClass:"wp-dialog",modal:!0,autoOpen:!0,buttons:{OK:function(){c(e.target).closest("form");c(e.target).off("click").click()},Cancel:function(){c(this).dialog("close")}}})}),c("#support .question").each(function(){var t=c(this),a=!1,i=t.next("div").slideUp();t.on("click keydown",function(e){"keydown"===e.type&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),a=!a,i.slideToggle(a),t.toggleClass("active",a),t.attr("aria-expanded",a.toString()),t.focus())})}),c("#name").on("keyup",function(e){var t=a=c(this).val(),a=(9!==e.keyCode&&37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode&&(t=function(e){e="cpt-ui_page_cptui_manage_post_types"===window.pagenow?e.replace(/[^a-z0-9\s-]/gi,"_"):e.replace(/[^a-z0-9\s]/gi,"_");return e}(t=(t=function(e){for(var t=[/[\300-\306]/g,/[\340-\346]/g,/[\310-\313]/g,/[\350-\353]/g,/[\314-\317]/g,/[\354-\357]/g,/[\322-\330]/g,/[\362-\370]/g,/[\331-\334]/g,/[\371-\374]/g,/[\321]/g,/[\361]/g,/[\307]/g,/[\347]/g],a=["A","a","E","e","I","i","O","o","U","u","N","n","C","c"],i=0;i<t.length;i++)e=e.replace(t[i],a[i]);return e}(t=(t=t.replace(/ /g,"_")).toLowerCase())).split("").map(function(e){return p[e]||e}).join("")))!==a&&c(this).prop("value",t),void 0!==i&&(e=c("#slugchanged"),t!=i?e.removeClass("hidemessage"):e.addClass("hidemessage")),c("#slugexists"));"undefined"!=typeof cptui_type_data&&(cptui_type_data.existing_post_types.hasOwnProperty(t)&&t!==i?a.removeClass("hidemessage"):a.addClass("hidemessage")),"undefined"!=typeof cptui_tax_data&&(cptui_tax_data.existing_taxonomies.hasOwnProperty(t)&&t!==i?a.removeClass("hidemessage"):a.addClass("hidemessage"))});var n,o,p={"Ё":"YO","Й":"I","Ц":"TS","У":"U","К":"K","Е":"E","Н":"N","Г":"G","Ш":"SH","Щ":"SCH","З":"Z","Х":"H","Ъ":"'","ё":"yo","й":"i","ц":"ts","у":"u","к":"k","е":"e","н":"n","г":"g","ш":"sh","щ":"sch","з":"z","х":"h","ъ":"'","Ф":"F","Ы":"I","В":"V","А":"a","П":"P","Р":"R","О":"O","Л":"L","Д":"D","Ж":"ZH","Э":"E","ф":"f","ы":"i","в":"v","а":"a","п":"p","р":"r","о":"o","л":"l","д":"d","ж":"zh","э":"e","Я":"Ya","Ч":"CH","С":"S","М":"M","И":"I","Т":"T","Ь":"'","Б":"B","Ю":"YU","я":"ya","ч":"ch","с":"s","м":"m","и":"i","т":"t","ь":"'","б":"b","ю":"yu"};null!=wp.media&&(n=!0,o=wp.media.editor.send.attachment),c("#cptui_choose_icon").on("click",function(e){e.preventDefault();var e=c(this),a=jQuery("#menu_icon").attr("id");return n=!0,wp.media.editor.send.attachment=function(e,t){if(!n)return o.apply(this,[e,t]);c("#"+a).val(t.url).change()},wp.media.editor.open(e),!1}),c("#menu_icon").on("change",function(){var e=(e=c(this).val()).trim();c("#menu_icon_preview").html(t(e))}),c(".cptui-help").on("click",function(e){e.preventDefault()}),c(".cptui-taxonomy-submit").on("click",function(e){0==c(".cptui-table :checkbox:checked").length&&(e.preventDefault(),c('<div class="cptui-taxonomy-empty-types-dialog">'+cptui_tax_data.no_associated_type+"</div>").appendTo("#poststuff").dialog({dialogClass:"wp-dialog",modal:!0,autoOpen:!0,buttons:{OK:function(){c(this).dialog("close")}}}))}),c("#auto-populate").on("click tap",function(e){e.preventDefault();var e=c("#name").val(),n=c("#label").val(),o=c("#singular_label").val(),t=c('.cptui-labels input[type="text"]');""!==e&&(""===n&&(n=e),""===o&&(o=e),c(t).each(function(e,t){var a=c(t).data("label"),i=c(t).data("plurality");"undefined"!==a&&(a="plural"===i?a.replace(/item/gi,n):a.replace(/item/gi,o),""===c(t).val()&&c(t).val(a))}))}),c("#auto-clear").on("click tap",function(e){e.preventDefault();e=c('.cptui-labels input[type="text"]');c(e).each(function(e,t){c(t).val("")})})}(jQuery);
build/cptui-scripts.min.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["src/js/cptui-scripts.js"],"names":["postboxes","add_postbox_toggles","pagenow","$","original_slug","composePreviewContent","value","is_url","test","indexOf","addClass","String","replace","c","charCodeAt","imgsrc","encodeURI","theimg","document","createElement","src","hide","name","url","window","location","href","results","RegExp","exec","decodeURIComponent","getParameterByName","val","on","this","prop","submit","e","preventDefault","msg","cptui_type_data","confirm","cptui_tax_data","appendTo","dialog","dialogClass","modal","autoOpen","buttons","OK","target","closest","off","click","Cancel","each","tis","state","answer","next","slideUp","type","keyCode","slideToggle","toggleClass","attr","toString","focus","original_value","$slugexists","s","replaceSpecialCharacters","diacritics","chars","i","length","replaceDiacritics","toLowerCase","split","map","char","cyrillic","join","$slugchanged","removeClass","existing_post_types","hasOwnProperty","existing_taxonomies","_custom_media","_orig_send_attachment","Ё","Й","Ц","У","К","Е","Н","Г","Ш","Щ","З","Х","Ъ","ё","й","ц","у","к","е","н","г","ш","щ","з","х","ъ","Ф","Ы","В","А","П","Р","О","Л","Д","Ж","Э","ф","ы","в","а","п","р","о","л","д","ж","э","Я","Ч","С","М","И","Т","Ь","Б","Ю","я","ч","с","м","и","т","ь","б","ю","undefined","wp","media","editor","send","attachment","button","id","jQuery","props","apply","change","open","trim","html","no_associated_type","slug","plural","singular","fields","el","newval","data","plurality"],"mappings":"AAGAA,UAAUC,oBAAoBC,SAK9B,SAAUC,GAKT,IAEKC,EA0IL,SAASC,EAAsBC,GAE9B,IACIC,EADK,4EACOC,KAAKF,GAErB,OAAKA,EAEM,IAAMA,EAAMG,QAAQ,cACvBN,EAAE,4CAA4CO,SAU/CC,OA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
 
 
1
+ .posttypesui, .taxonomiesui {
2
+ width: calc(100% - 300px); }
3
+ .posttypesui .cptui-section:first-child, .taxonomiesui .cptui-section:first-child {
4
+ margin-top: 30px; }
5
+ .posttypesui .postbox-container, .taxonomiesui .postbox-container {
6
+ width: 100%; }
7
+ .posttypesui .postbox .toggle-indicator:before, .taxonomiesui .postbox .toggle-indicator:before {
8
+ content: "\f142";
9
+ display: inline-block;
10
+ font: normal 20px/1 dashicons;
11
+ speak: none;
12
+ -webkit-font-smoothing: antialiased;
13
+ -moz-osx-font-smoothing: grayscale;
14
+ text-decoration: none !important; }
15
+ .posttypesui .postbox.closed .handlediv .toggle-indicator::before, .taxonomiesui .postbox.closed .handlediv .toggle-indicator::before {
16
+ content: "\f140"; }
17
+ .posttypesui .postbox .hndle, .taxonomiesui .postbox .hndle {
18
+ cursor: pointer; }
19
+ .posttypesui .required, .taxonomiesui .required {
20
+ color: red; }
21
+
22
+ .cptui-table td.outer {
23
+ vertical-align: top;
24
+ width: 50%; }
25
+
26
+ .cptui-table input[type="text"] {
27
+ width: 75%; }
28
+
29
+ .cptui-table .question:hover {
30
+ cursor: pointer; }
31
+
32
+ .cptui-table th p {
33
+ font-weight: 400;
34
+ font-size: 12px; }
35
+
36
+ .cptui-table .cptui-slug-details {
37
+ margin-top: 15px; }
38
+
39
+ .cptui-table #slugchanged, .cptui-table #slugexists {
40
+ color: red;
41
+ font-weight: bold; }
42
+ .cptui-table #slugchanged.hidemessage, .cptui-table #slugexists.hidemessage {
43
+ display: none; }
44
+
45
+ .cptui-support #support .question {
46
+ font-size: 18px;
47
+ font-weight: bold; }
48
+ .cptui-support #support .question:before {
49
+ content: "\f139";
50
+ display: inline-block;
51
+ font: normal 25px/1 'dashicons';
52
+ margin-left: -25px;
53
+ position: absolute;
54
+ -webkit-font-smoothing: antialiased; }
55
+ .cptui-support #support .question.active:before {
56
+ content: "\f140"; }
57
+
58
+ .cptui-support #support .answer {
59
+ margin: 10px 0 0 20px; }
60
+
61
+ .cptui-support #support ol li {
62
+ list-style: none; }
63
+
64
+ .cptui-support #support li {
65
+ position: relative; }
66
+
67
+ .cptui-field-description {
68
+ font-style: italic; }
69
+
70
+ #cptui_select_post_type,
71
+ #cptui_select_taxonomy {
72
+ margin-top: 15px; }
73
+
74
+ .cptui_post_import,
75
+ .cptui_tax_import {
76
+ height: 200px;
77
+ margin-bottom: 10px;
78
+ resize: vertical;
79
+ width: 100%; }
80
+
81
+ .cptui_post_type_get_code,
82
+ .cptui_tax_get_code {
83
+ height: 300px;
84
+ resize: vertical; }
85
+
86
+ .about-wrap .cptui-feature {
87
+ overflow: visible !important;
88
+ *zoom: 1; }
89
+ .about-wrap .cptui-feature:before, .about-wrap .cptui-feature:after {
90
+ content: " ";
91
+ display: table; }
92
+ .about-wrap .cptui-feature:after {
93
+ clear: both; }
94
+
95
+ .about-wrap h3 + .cptui-feature {
96
+ margin-top: 0; }
97
+
98
+ .about-wrap .changelog h2 {
99
+ text-align: center; }
100
+
101
+ .about-wrap .feature-rest div {
102
+ width: 50% !important;
103
+ padding-right: 100px;
104
+ -moz-box-sizing: border-box;
105
+ box-sizing: border-box;
106
+ margin: 0 !important; }
107
+ .about-wrap .feature-rest div.last-feature {
108
+ padding-left: 100px;
109
+ padding-right: 0; }
110
+ .about-wrap .feature-rest div.icon {
111
+ width: 0 !important;
112
+ padding: 0;
113
+ margin: 0; }
114
+ .about-wrap .feature-rest div.icon:before {
115
+ font-weight: normal;
116
+ width: 100%;
117
+ font-size: 170px;
118
+ line-height: 125px;
119
+ color: #9c5d90;
120
+ display: inline-block;
121
+ position: relative;
122
+ text-align: center;
123
+ speak: none;
124
+ margin: 0 0 0 -100px;
125
+ content: "\e01d";
126
+ -webkit-font-smoothing: antialiased;
127
+ -moz-osx-font-smoothing: grayscale; }
128
+
129
+ .about-wrap .about-integrations {
130
+ background: #fff;
131
+ margin: 20px 0;
132
+ padding: 1px 20px 10px; }
133
+
134
+ .about-wrap .changelog h4 {
135
+ line-height: 1.4; }
136
+
137
+ .about-wrap .cptui-about-text {
138
+ margin-bottom: 1em !important;
139
+ margin-right: 0;
140
+ max-width: calc(100% - 173px); }
141
+
142
+ .email-octopus-form-row input::placeholder {
143
+ color: #cccccc; }
144
+
145
+ .email-octopus-form-row-hp {
146
+ visibility: hidden; }
147
+
148
+ .cptui-intro-devblock {
149
+ display: flex;
150
+ flex-direction: row; }
151
+
152
+ .cptui-help {
153
+ color: #424242;
154
+ margin-left: 4px;
155
+ opacity: 0.5;
156
+ text-decoration: none;
157
+ width: 16px; }
158
+ fieldset .cptui-help {
159
+ position: relative;
160
+ top: 4px; }
161
+ .cptui-help:hover {
162
+ color: #0074a2;
163
+ opacity: 1; }
164
+ .cptui-help:focus {
165
+ box-shadow: none; }
166
+
167
+ #menu_icon_preview {
168
+ float: right;
169
+ padding-left: 8px; }
170
+ #menu_icon_preview img {
171
+ display: block;
172
+ height: 20px;
173
+ width: 20px; }
174
+
175
+ .visuallyhidden {
176
+ position: absolute;
177
+ left: -10000px;
178
+ top: auto;
179
+ width: 1px;
180
+ height: 1px;
181
+ overflow: hidden; }
182
+
183
+ .cptui-spacer {
184
+ display: block;
185
+ margin-top: 25px; }
186
+
187
+ .email-octopus-form-wrapper {
188
+ background: #fff;
189
+ margin-bottom: 10px;
190
+ padding: 20px; }
191
+ .email-octopus-form-wrapper label {
192
+ margin-bottom: 10px; }
193
+
194
+ .wdsoctosignup h2 {
195
+ text-align: left; }
196
+
197
+ .wdspromos {
198
+ float: right;
199
+ margin-left: 20px;
200
+ margin-top: 10px;
201
+ width: 275px; }
202
+
203
+ .wdspromos-about {
204
+ display: -ms-flexbox;
205
+ display: -webkit-flex;
206
+ display: flex;
207
+ -webkit-flex-direction: row;
208
+ -ms-flex-direction: row;
209
+ flex-direction: row;
210
+ -webkit-flex-wrap: nowrap;
211
+ -ms-flex-wrap: nowrap;
212
+ flex-wrap: nowrap;
213
+ -webkit-justify-content: space-between;
214
+ -ms-flex-pack: justify;
215
+ justify-content: space-between;
216
+ -webkit-align-content: stretch;
217
+ align-content: stretch;
218
+ -webkit-align-items: flex-start;
219
+ -ms-flex-align: start;
220
+ align-items: flex-start;
221
+ margin: 20px 0; }
222
+ .wdspromos-about a:nth-child(1) {
223
+ -ms-flex-order: 0;
224
+ order: 0;
225
+ -webkit-flex: 0 1 auto;
226
+ -ms-flex: 0 1 auto;
227
+ flex: 0 1 auto;
228
+ -webkit-align-self: auto;
229
+ align-self: auto; }
230
+ .wdspromos-about a:nth-child(2) {
231
+ -ms-flex-order: 0;
232
+ order: 0;
233
+ -webkit-flex: 0 1 auto;
234
+ -ms-flex: 0 1 auto;
235
+ flex: 0 1 auto;
236
+ -webkit-align-self: auto;
237
+ align-self: auto; }
238
+ .wdspromos-about a:nth-child(3) {
239
+ -ms-flex-order: 0;
240
+ order: 0;
241
+ -webkit-flex: 0 1 auto;
242
+ -ms-flex: 0 1 auto;
243
+ flex: 0 1 auto;
244
+ -webkit-align-self: auto;
245
+ align-self: auto; }
246
+ .wdspromos-about p {
247
+ padding: 0 5px; }
248
+ .wdspromos-about p:nth-child(1) {
249
+ padding-left: 0; }
250
+ .wdspromos-about p:nth-child(4) {
251
+ padding-right: 0; }
252
+
253
+ .no-js #cptui_choose_icon {
254
+ display: none; }
255
+
256
+ .cptui-listings th {
257
+ font-weight: bold; }
258
+
259
+ .cptui-listings .post-type-listing th {
260
+ width: 16.66667%; }
261
+
262
+ .cptui-listings .taxonomy-listing th {
263
+ width: 20%; }
264
+
265
+ #poststuff {
266
+ min-width: 463px; }
267
+
268
+ .dashicon-picker-container {
269
+ position: absolute;
270
+ width: 220px;
271
+ height: 252px;
272
+ font-size: 14px;
273
+ background-color: #fff;
274
+ box-shadow: -1px 2px 5px 3px rgba(0, 0, 0, 0.41);
275
+ overflow: hidden;
276
+ padding: 5px;
277
+ box-sizing: border-box; }
278
+ .dashicon-picker-container ul {
279
+ margin: 0 0 10px;
280
+ padding: 0; }
281
+ .dashicon-picker-container ul .dashicons {
282
+ width: 20px;
283
+ height: 20px;
284
+ font-size: 20px; }
285
+ .dashicon-picker-container ul li {
286
+ display: inline-block;
287
+ margin: 5px;
288
+ float: left; }
289
+ .dashicon-picker-container ul li a {
290
+ display: block;
291
+ text-decoration: none;
292
+ color: #373737;
293
+ padding: 5px 5px;
294
+ border: 1px solid #dfdfdf; }
295
+ .dashicon-picker-container ul li a:hover {
296
+ border-color: #999;
297
+ background: #efefef; }
298
+
299
+ .dashicon-picker-control {
300
+ height: 32px; }
301
+ .dashicon-picker-control a {
302
+ padding: 5px;
303
+ text-decoration: none;
304
+ line-height: 32px;
305
+ width: 25px; }
306
+ .dashicon-picker-control a span {
307
+ display: inline;
308
+ vertical-align: middle; }
309
+ .dashicon-picker-control input {
310
+ font-size: 12px;
311
+ width: 140px; }
312
+
313
+ @media screen and (min-width: 769px) {
314
+ .cptui-badge {
315
+ margin-top: -42px;
316
+ height: 173px;
317
+ width: 173px;
318
+ color: #fafafa;
319
+ font-weight: bold;
320
+ font-size: 14px;
321
+ text-align: center;
322
+ margin-bottom: 10px;
323
+ background: url(../images/cptui-icon-173x173.png) no-repeat;
324
+ background-size: contain; } }
325
+
326
+ @media screen and (max-width: 768px) {
327
+ .cptui-table #description {
328
+ width: 100%; }
329
+ .wdspromos-about {
330
+ flex-wrap: wrap; }
331
+ .wdspromos-about p {
332
+ margin: 5px auto; }
333
+ .wdspromos-about p:nth-child(1) {
334
+ padding-left: 5px; }
335
+ .wdspromos-about p:nth-child(4) {
336
+ padding-right: 5px; }
337
+ .cptui-table td.outer {
338
+ width: 100%; }
339
+ #cptui_debug_info_email {
340
+ width: 100%; } }
341
+
342
+ /*# sourceMappingURL=cptui-styles.css.map */
build/cptui-styles.css.map ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 3,
3
+ "file": "cptui-styles.css",
4
+ "sources": [
5
+ "../src/scss/cptui-styles.scss"
6
+ ],
7
+ "names": [],
8
+ "mappings": "AAGA,AAAA,YAAY,EAAE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
@@ -0,0 +1 @@
 
1
+ .posttypesui,.taxonomiesui{width:calc(100% - 300px)}.posttypesui .cptui-section:first-child,.taxonomiesui .cptui-section:first-child{margin-top:30px}.posttypesui .postbox-container,.taxonomiesui .postbox-container{width:100%}.posttypesui .postbox .toggle-indicator:before,.taxonomiesui .postbox .toggle-indicator:before{content:"\f142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important}.posttypesui .postbox.closed .handlediv .toggle-indicator::before,.taxonomiesui .postbox.closed .handlediv .toggle-indicator::before{content:"\f140"}.posttypesui .postbox .hndle,.taxonomiesui .postbox .hndle{cursor:pointer}.posttypesui .required,.taxonomiesui .required{color:red}.cptui-table td.outer{vertical-align:top;width:50%}.cptui-table input[type="text"]{width:75%}.cptui-table .question:hover{cursor:pointer}.cptui-table th p{font-weight:400;font-size:12px}.cptui-table .cptui-slug-details{margin-top:15px}.cptui-table #slugchanged,.cptui-table #slugexists{color:red;font-weight:bold}.cptui-table #slugchanged.hidemessage,.cptui-table #slugexists.hidemessage{display:none}.cptui-support #support .question{font-size:18px;font-weight:bold}.cptui-support #support .question:before{content:"\f139";display:inline-block;font:normal 25px/1 'dashicons';margin-left:-25px;position:absolute;-webkit-font-smoothing:antialiased}.cptui-support #support .question.active:before{content:"\f140"}.cptui-support #support .answer{margin:10px 0 0 20px}.cptui-support #support ol li{list-style:none}.cptui-support #support li{position:relative}.cptui-field-description{font-style:italic}#cptui_select_post_type,#cptui_select_taxonomy{margin-top:15px}.cptui_post_import,.cptui_tax_import{height:200px;margin-bottom:10px;resize:vertical;width:100%}.cptui_post_type_get_code,.cptui_tax_get_code{height:300px;resize:vertical}.about-wrap .cptui-feature{overflow:visible !important;*zoom:1}.about-wrap .cptui-feature:before,.about-wrap .cptui-feature:after{content:" ";display:table}.about-wrap .cptui-feature:after{clear:both}.about-wrap h3+.cptui-feature{margin-top:0}.about-wrap .changelog h2{text-align:center}.about-wrap .feature-rest div{width:50% !important;padding-right:100px;-moz-box-sizing:border-box;box-sizing:border-box;margin:0 !important}.about-wrap .feature-rest div.last-feature{padding-left:100px;padding-right:0}.about-wrap .feature-rest div.icon{width:0 !important;padding:0;margin:0}.about-wrap .feature-rest div.icon:before{font-weight:normal;width:100%;font-size:170px;line-height:125px;color:#9c5d90;display:inline-block;position:relative;text-align:center;speak:none;margin:0 0 0 -100px;content:"\e01d";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.about-wrap .about-integrations{background:#fff;margin:20px 0;padding:1px 20px 10px}.about-wrap .changelog h4{line-height:1.4}.about-wrap .cptui-about-text{margin-bottom:1em !important;margin-right:0;max-width:calc(100% - 173px)}.email-octopus-form-row input::placeholder{color:#cccccc}.email-octopus-form-row-hp{visibility:hidden}.cptui-intro-devblock{display:flex;flex-direction:row}.cptui-help{color:#424242;margin-left:4px;opacity:0.5;text-decoration:none;width:16px}fieldset .cptui-help{position:relative;top:4px}.cptui-help:hover{color:#0074a2;opacity:1}.cptui-help:focus{box-shadow:none}#menu_icon_preview{float:right;padding-left:8px}#menu_icon_preview img{display:block;height:20px;width:20px}.visuallyhidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.cptui-spacer{display:block;margin-top:25px}.email-octopus-form-wrapper{background:#fff;margin-bottom:10px;padding:20px}.email-octopus-form-wrapper label{margin-bottom:10px}.wdsoctosignup h2{text-align:left}.wdspromos{float:right;margin-left:20px;margin-top:10px;width:275px}.wdspromos-about{display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-content:stretch;align-content:stretch;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;margin:20px 0}.wdspromos-about a:nth-child(1){-ms-flex-order:0;order:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-align-self:auto;align-self:auto}.wdspromos-about a:nth-child(2){-ms-flex-order:0;order:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-align-self:auto;align-self:auto}.wdspromos-about a:nth-child(3){-ms-flex-order:0;order:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-align-self:auto;align-self:auto}.wdspromos-about p{padding:0 5px}.wdspromos-about p:nth-child(1){padding-left:0}.wdspromos-about p:nth-child(4){padding-right:0}.no-js #cptui_choose_icon{display:none}.cptui-listings th{font-weight:bold}.cptui-listings .post-type-listing th{width:16.66667%}.cptui-listings .taxonomy-listing th{width:20%}#poststuff{min-width:463px}.dashicon-picker-container{position:absolute;width:220px;height:252px;font-size:14px;background-color:#fff;box-shadow:-1px 2px 5px 3px rgba(0,0,0,0.41);overflow:hidden;padding:5px;box-sizing:border-box}.dashicon-picker-container ul{margin:0 0 10px;padding:0}.dashicon-picker-container ul .dashicons{width:20px;height:20px;font-size:20px}.dashicon-picker-container ul li{display:inline-block;margin:5px;float:left}.dashicon-picker-container ul li a{display:block;text-decoration:none;color:#373737;padding:5px 5px;border:1px solid #dfdfdf}.dashicon-picker-container ul li a:hover{border-color:#999;background:#efefef}.dashicon-picker-control{height:32px}.dashicon-picker-control a{padding:5px;text-decoration:none;line-height:32px;width:25px}.dashicon-picker-control a span{display:inline;vertical-align:middle}.dashicon-picker-control input{font-size:12px;width:140px}@media screen and (min-width: 769px){.cptui-badge{margin-top:-42px;height:173px;width:173px;color:#fafafa;font-weight:bold;font-size:14px;text-align:center;margin-bottom:10px;background:url(../images/cptui-icon-173x173.png) no-repeat;background-size:contain}}@media screen and (max-width: 768px){.cptui-table #description{width:100%}.wdspromos-about{flex-wrap:wrap}.wdspromos-about p{margin:5px auto}.wdspromos-about p:nth-child(1){padding-left:5px}.wdspromos-about p:nth-child(4){padding-right:5px}.cptui-table td.outer{width:100%}#cptui_debug_info_email{width:100%}}
build/dashicons-picker.js ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($) {
2
+ "use strict";
3
+ $.fn.dashiconsPicker = function() {
4
+ var icons = [ "menu", "admin-site", "dashboard", "admin-media", "admin-page", "admin-comments", "admin-appearance", "admin-plugins", "admin-users", "admin-tools", "admin-settings", "admin-network", "admin-generic", "admin-home", "admin-collapse", "filter", "admin-customizer", "admin-multisite", "admin-links", "format-links", "admin-post", "format-standard", "format-image", "format-gallery", "format-audio", "format-video", "format-chat", "format-status", "format-aside", "format-quote", "welcome-write-blog", "welcome-edit-page", "welcome-add-page", "welcome-view-site", "welcome-widgets-menus", "welcome-comments", "welcome-learn-more", "image-crop", "image-rotate", "image-rotate-left", "image-rotate-right", "image-flip-vertical", "image-flip-horizontal", "image-filter", "undo", "redo", "editor-bold", "editor-italic", "editor-ul", "editor-ol", "editor-quote", "editor-alignleft", "editor-aligncenter", "editor-alignright", "editor-insertmore", "editor-spellcheck", "editor-distractionfree", "editor-expand", "editor-contract", "editor-kitchensink", "editor-underline", "editor-justify", "editor-textcolor", "editor-paste-word", "editor-paste-text", "editor-removeformatting", "editor-video", "editor-customchar", "editor-outdent", "editor-indent", "editor-help", "editor-strikethrough", "editor-unlink", "editor-rtl", "editor-break", "editor-code", "editor-paragraph", "editor-table", "align-left", "align-right", "align-center", "align-none", "lock", "unlock", "calendar", "calendar-alt", "visibility", "hidden", "post-status", "edit", "post-trash", "trash", "sticky", "external", "arrow-up", "arrow-down", "arrow-left", "arrow-right", "arrow-up-alt", "arrow-down-alt", "arrow-left-alt", "arrow-right-alt", "arrow-up-alt2", "arrow-down-alt2", "arrow-left-alt2", "arrow-right-alt2", "leftright", "sort", "randomize", "list-view", "excerpt-view", "grid-view", "hammer", "art", "migrate", "performance", "universal-access", "universal-access-alt", "tickets", "nametag", "clipboard", "heart", "megaphone", "schedule", "wordpress", "wordpress-alt", "pressthis", "update", "screenoptions", "cart", "feedback", "cloud", "translation", "tag", "category", "archive", "tagcloud", "text", "media-archive", "media-audio", "media-code", "media-default", "media-document", "media-interactive", "media-spreadsheet", "media-text", "media-video", "playlist-audio", "playlist-video", "controls-play", "controls-pause", "controls-forward", "controls-skipforward", "controls-back", "controls-skipback", "controls-repeat", "controls-volumeon", "controls-volumeoff", "yes", "no", "no-alt", "plus", "plus-alt", "plus-alt2", "minus", "dismiss", "marker", "star-filled", "star-half", "star-empty", "flag", "info", "warning", "share", "share1", "share-alt", "share-alt2", "twitter", "rss", "email", "email-alt", "facebook", "facebook-alt", "networking", "googleplus", "location", "location-alt", "camera", "images-alt", "images-alt2", "video-alt", "video-alt2", "video-alt3", "vault", "shield", "shield-alt", "sos", "search", "slides", "analytics", "chart-pie", "chart-bar", "chart-line", "chart-area", "groups", "businessman", "id", "id-alt", "products", "awards", "forms", "testimonial", "portfolio", "book", "book-alt", "download", "upload", "backup", "clock", "lightbulb", "microphone", "desktop", "tablet", "smartphone", "phone", "smiley", "index-card", "carrot", "building", "store", "album", "palmtree", "tickets-alt", "money", "thumbs-up", "thumbs-down", "layout", "align-pull-left", "align-pull-right", "block-default", "cloud-saved", "cloud-upload", "columns", "cover-image", "embed-audio", "embed-generic", "embed-photo", "embed-post", "embed-video", "exit", "html", "info-outline", "insert-after", "insert-before", "insert", "remove", "shortcode", "table-col-after", "table-col-before", "table-col-delete", "table-row-after", "table-row-before", "table-row-delete", "saved", "amazon", "google", "linkedin", "pinterest", "podio", "reddit", "spotify", "twitch", "whatsapp", "xing", "youtube", "database-add", "database-export", "database-import", "database-remove", "database-view", "database", "bell", "airplane", "car", "calculator", "ames", "printer", "beer", "coffee", "drumstick", "food", "bank", "hourglass", "money-alt", "open-folder", "pdf", "pets", "privacy", "superhero", "superhero-alt", "edit-page", "fullscreen-alt", "fullscreen-exit-alt" ];
5
+ return this.each(function() {
6
+ var button = $(this), offsetTop, offsetLeft;
7
+ button.on("click.dashiconsPicker", function(e) {
8
+ offsetTop = $(e.currentTarget).offset().top;
9
+ offsetLeft = $(e.currentTarget).offset().left;
10
+ createPopup(button);
11
+ });
12
+ function createPopup(button) {
13
+ var target = $("#menu_icon"), preview = $(button.data("preview")), popup = $('<div class="dashicon-picker-container">' + '<div class="dashicon-picker-control"></div>' + '<ul class="dashicon-picker-list"></ul>' + "</div>").css({
14
+ top: offsetTop,
15
+ left: offsetLeft
16
+ }), list = popup.find(".dashicon-picker-list");
17
+ for (var i in icons) {
18
+ if (icons.hasOwnProperty(i)) {
19
+ list.append('<li data-icon="' + icons[i] + '"><a href="#" title="' + icons[i] + '"><span class="dashicons dashicons-' + icons[i] + '"></span></a></li>');
20
+ }
21
+ }
22
+ $("a", list).on("click", function(e) {
23
+ e.preventDefault();
24
+ var title = $(this).attr("title");
25
+ target.val("dashicons-" + title).change();
26
+ preview.prop("class", "dashicons").addClass("dashicons-" + title);
27
+ removePopup();
28
+ });
29
+ var control = popup.find(".dashicon-picker-control");
30
+ control.html('<a data-direction="back" href="#">' + '<span class="dashicons dashicons-arrow-left-alt2"></span></a>' + '<input type="text" class="" placeholder="Search" />' + '<a data-direction="forward" href="#"><span class="dashicons dashicons-arrow-right-alt2"></span></a>');
31
+ $("a", control).on("click", function(e) {
32
+ e.preventDefault();
33
+ if ($(this).data("direction") === "back") {
34
+ $("li:gt(" + (icons.length - 26) + ")", list).prependTo(list);
35
+ } else {
36
+ $("li:lt(25)", list).appendTo(list);
37
+ }
38
+ });
39
+ popup.appendTo("body").show();
40
+ $("input", control).on("keyup", function(e) {
41
+ var search = $(this).val();
42
+ if (search === "") {
43
+ $("li:lt(25)", list).show();
44
+ } else {
45
+ $("li", list).each(function() {
46
+ if ($(this).data("icon").toLowerCase().indexOf(search.toLowerCase()) !== -1) {
47
+ $(this).show();
48
+ } else {
49
+ $(this).hide();
50
+ }
51
+ });
52
+ }
53
+ });
54
+ $(document).on("mouseup.dashicons-picker", function(e) {
55
+ if (!popup.is(e.target) && popup.has(e.target).length === 0) {
56
+ removePopup();
57
+ }
58
+ });
59
+ }
60
+ function removePopup() {
61
+ $(".dashicon-picker-container").remove();
62
+ $(document).off(".dashicons-picker");
63
+ }
64
+ });
65
+ };
66
+ $(function() {
67
+ $(".dashicons-picker").dashiconsPicker();
68
+ });
69
+ })(jQuery);
build/dashicons-picker.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(m){"use strict";m.fn.dashiconsPicker=function(){var c=["menu","admin-site","dashboard","admin-media","admin-page","admin-comments","admin-appearance","admin-plugins","admin-users","admin-tools","admin-settings","admin-network","admin-generic","admin-home","admin-collapse","filter","admin-customizer","admin-multisite","admin-links","format-links","admin-post","format-standard","format-image","format-gallery","format-audio","format-video","format-chat","format-status","format-aside","format-quote","welcome-write-blog","welcome-edit-page","welcome-add-page","welcome-view-site","welcome-widgets-menus","welcome-comments","welcome-learn-more","image-crop","image-rotate","image-rotate-left","image-rotate-right","image-flip-vertical","image-flip-horizontal","image-filter","undo","redo","editor-bold","editor-italic","editor-ul","editor-ol","editor-quote","editor-alignleft","editor-aligncenter","editor-alignright","editor-insertmore","editor-spellcheck","editor-distractionfree","editor-expand","editor-contract","editor-kitchensink","editor-underline","editor-justify","editor-textcolor","editor-paste-word","editor-paste-text","editor-removeformatting","editor-video","editor-customchar","editor-outdent","editor-indent","editor-help","editor-strikethrough","editor-unlink","editor-rtl","editor-break","editor-code","editor-paragraph","editor-table","align-left","align-right","align-center","align-none","lock","unlock","calendar","calendar-alt","visibility","hidden","post-status","edit","post-trash","trash","sticky","external","arrow-up","arrow-down","arrow-left","arrow-right","arrow-up-alt","arrow-down-alt","arrow-left-alt","arrow-right-alt","arrow-up-alt2","arrow-down-alt2","arrow-left-alt2","arrow-right-alt2","leftright","sort","randomize","list-view","excerpt-view","grid-view","hammer","art","migrate","performance","universal-access","universal-access-alt","tickets","nametag","clipboard","heart","megaphone","schedule","wordpress","wordpress-alt","pressthis","update","screenoptions","cart","feedback","cloud","translation","tag","category","archive","tagcloud","text","media-archive","media-audio","media-code","media-default","media-document","media-interactive","media-spreadsheet","media-text","media-video","playlist-audio","playlist-video","controls-play","controls-pause","controls-forward","controls-skipforward","controls-back","controls-skipback","controls-repeat","controls-volumeon","controls-volumeoff","yes","no","no-alt","plus","plus-alt","plus-alt2","minus","dismiss","marker","star-filled","star-half","star-empty","flag","info","warning","share","share1","share-alt","share-alt2","twitter","rss","email","email-alt","facebook","facebook-alt","networking","googleplus","location","location-alt","camera","images-alt","images-alt2","video-alt","video-alt2","video-alt3","vault","shield","shield-alt","sos","search","slides","analytics","chart-pie","chart-bar","chart-line","chart-area","groups","businessman","id","id-alt","products","awards","forms","testimonial","portfolio","book","book-alt","download","upload","backup","clock","lightbulb","microphone","desktop","tablet","smartphone","phone","smiley","index-card","carrot","building","store","album","palmtree","tickets-alt","money","thumbs-up","thumbs-down","layout","align-pull-left","align-pull-right","block-default","cloud-saved","cloud-upload","columns","cover-image","embed-audio","embed-generic","embed-photo","embed-post","embed-video","exit","html","info-outline","insert-after","insert-before","insert","remove","shortcode","table-col-after","table-col-before","table-col-delete","table-row-after","table-row-before","table-row-delete","saved","amazon","google","linkedin","pinterest","podio","reddit","spotify","twitch","whatsapp","xing","youtube","database-add","database-export","database-import","database-remove","database-view","database","bell","airplane","car","calculator","ames","printer","beer","coffee","drumstick","food","bank","hourglass","money-alt","open-folder","pdf","pets","privacy","superhero","superhero-alt","edit-page","fullscreen-alt","fullscreen-exit-alt"];return this.each(function(){var s,l,n=m(this);function d(){m(".dashicon-picker-container").remove(),m(document).off(".dashicons-picker")}n.on("click.dashiconsPicker",function(e){s=m(e.currentTarget).offset().top,l=m(e.currentTarget).offset().left;var a,e=n,t=m("#menu_icon"),o=m(e.data("preview")),i=m('<div class="dashicon-picker-container"><div class="dashicon-picker-control"></div><ul class="dashicon-picker-list"></ul></div>').css({top:s,left:l}),r=i.find(".dashicon-picker-list");for(a in c)c.hasOwnProperty(a)&&r.append('<li data-icon="'+c[a]+'"><a href="#" title="'+c[a]+'"><span class="dashicons dashicons-'+c[a]+'"></span></a></li>');m("a",r).on("click",function(e){e.preventDefault();e=m(this).attr("title");t.val("dashicons-"+e).change(),o.prop("class","dashicons").addClass("dashicons-"+e),d()}),(e=i.find(".dashicon-picker-control")).html('<a data-direction="back" href="#"><span class="dashicons dashicons-arrow-left-alt2"></span></a><input type="text" class="" placeholder="Search" /><a data-direction="forward" href="#"><span class="dashicons dashicons-arrow-right-alt2"></span></a>'),m("a",e).on("click",function(e){e.preventDefault(),"back"===m(this).data("direction")?m("li:gt("+(c.length-26)+")",r).prependTo(r):m("li:lt(25)",r).appendTo(r)}),i.appendTo("body").show(),m("input",e).on("keyup",function(e){var a=m(this).val();""===a?m("li:lt(25)",r).show():m("li",r).each(function(){-1!==m(this).data("icon").toLowerCase().indexOf(a.toLowerCase())?m(this).show():m(this).hide()})}),m(document).on("mouseup.dashicons-picker",function(e){i.is(e.target)||0!==i.has(e.target).length||d()})})})},m(function(){m(".dashicons-picker").dashiconsPicker()})}(jQuery);
build/dashicons-picker.min.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["src/js/dashicons-picker.js"],"names":["$","fn","dashiconsPicker","icons","this","each","offsetTop","offsetLeft","button","removePopup","remove","document","off","on","e","currentTarget","offset","top","left","createPopup","i","target","preview","data","popup","css","list","find","hasOwnProperty","append","preventDefault","title","attr","val","change","prop","addClass","control","html","length","prependTo","appendTo","show","search","toLowerCase","indexOf","hide","is","has","jQuery"],"mappings":"CAMG,SAAWA,gBAMbA,EAAEC,GAAGC,gBAAkB,WAOtB,IAAIC,EAAQ,CACX,OACA,aACA,YACA,cACA,aACA,iBACA,mBACA,gBACA,cACA,cACA,iBACA,gBACA,gBACA,aACA,iBACA,SACA,mBACA,kBACA,cACA,eACA,aACA,kBACA,eACA,iBACA,eACA,eACA,cACA,gBACA,eACA,eACA,qBACA,oBACA,mBACA,oBACA,wBACA,mBACA,qBACA,aACA,eACA,oBACA,qBACA,sBACA,wBACA,eACA,OACA,OACA,cACA,gBACA,YACA,YACA,eACA,mBACA,qBACA,oBACA,oBACA,oBACA,yBACA,gBACA,kBACA,qBACA,mBACA,iBACA,mBACA,oBACA,oBACA,0BACA,eACA,oBACA,iBACA,gBACA,cACA,uBACA,gBACA,aACA,eACA,cACA,mBACA,eACA,aACA,cACA,eACA,aACA,OACA,SACA,WACA,eACA,aACA,SACA,cACA,OACA,aACA,QACA,SACA,WACA,WACA,aACA,aACA,cACA,eACA,iBACA,iBACA,kBACA,gBACA,kBACA,kBACA,mBACA,YACA,OACA,YACA,YACA,eACA,YACA,SACA,MACA,UACA,cACA,mBACA,uBACA,UACA,UACA,YACA,QACA,YACA,WACA,YACA,gBACA,YACA,SACA,gBACA,OACA,WACA,QACA,cACA,MACA,WACA,UACA,WACA,OACA,gBACA,cACA,aACA,gBACA,iBACA,oBACA,oBACA,aACA,cACA,iBACA,iBACA,gBACA,iBACA,mBACA,uBACA,gBACA,oBACA,kBACA,oBACA,qBACA,MACA,KACA,SACA,OACA,WACA,YACA,QACA,UACA,SACA,cACA,YACA,aACA,OACA,OACA,UACA,QACA,SACA,YACA,aACA,UACA,MACA,QACA,YACA,WACA,eACA,aACA,aACA,WACA,eACA,SACA,aACA,cACA,YACA,aACA,aACA,QACA,SACA,aACA,MACA,SACA,SACA,YACA,YACA,YACA,aACA,aACA,SACA,cACA,KACA,SACA,WACA,SACA,QACA,cACA,YACA,OACA,WACA,WACA,SACA,SACA,QACA,YACA,aACA,UACA,SACA,aACA,QACA,SACA,aACA,SACA,WACA,QACA,QACA,WACA,cACA,QACA,YACA,cACA,SACA,kBACA,mBACA,gBACA,cACA,eACA,UACA,cACA,cACA,gBACA,cACA,aACA,cACA,OACA,OACA,eACA,eACA,gBACA,SACA,SACA,YACA,kBACA,mBACA,mBACA,kBACA,mBACA,mBACA,QACA,SAC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MiB,SAAU,QAASC,OAEzB1C,EAAG,QAASqC,GAAUxB,GAAI,QAAS,SAAWC,GAC7C,IAAI6B,EAAS3C,EAAGI,MAAO6B,MACP,KAAXU,EACJ3C,EAAG,YAAa0B,GAAOgB,OAEvB1C,EAAG,KAAM0B,GAAOrB,KAAM,YAC4D,IAA5EL,EAAGI,MAAOmB,KAAM,QAASqB,cAAcC,QAASF,EAAOC,eAC3D5C,EAAGI,MAAOsC,OAEV1C,EAAGI,MAAO0C,WAMd9C,EAAGW,UAAWE,GAAI,2BAA4B,SAAWC,GACjDU,EAAMuB,GAAIjC,EAAEO,SAA6C,IAAjCG,EAAMwB,IAAKlC,EAAEO,QAASkB,QACpD9B,WAYLT,EAAG,WACFA,EAAG,qBAAsBE,oBAzZ1B,CA4ZE+C"}
classes/class.cptui_admin_ui.php CHANGED
@@ -22,11 +22,18 @@ class cptui_admin_ui {
22
  * Return an opening `<tr>` tag.
23
  *
24
  * @since 1.0.0
 
25
  *
 
26
  * @return string $value Opening `<tr>` tag with attributes.
27
  */
28
- public function get_tr_start() {
29
- return '<tr valign="top">';
 
 
 
 
 
30
  }
31
 
32
  /**
@@ -44,11 +51,17 @@ class cptui_admin_ui {
44
  * Return an opening `<th>` tag.
45
  *
46
  * @since 1.0.0
 
47
  *
 
48
  * @return string $value Opening `<th>` tag with attributes.
49
  */
50
- public function get_th_start() {
51
- return '<th scope="row">';
 
 
 
 
52
  }
53
 
54
  /**
@@ -66,11 +79,17 @@ class cptui_admin_ui {
66
  * Return an opening `<td>` tag.
67
  *
68
  * @since 1.0.0
 
69
  *
 
70
  * @return string $value Opening `<td>` tag.
71
  */
72
- public function get_td_start() {
73
- return '<td>';
 
 
 
 
74
  }
75
 
76
  /**
@@ -89,11 +108,13 @@ class cptui_admin_ui {
89
  *
90
  * @since 1.2.0
91
  * @since 1.3.0 Added $args parameter.
 
92
  *
93
  * @param array $args Array of arguments.
 
94
  * @return string $value Opening `<fieldset>` tag.
95
  */
96
- public function get_fieldset_start( $args = [] ) {
97
  $fieldset = '<fieldset';
98
 
99
  if ( ! empty( $args['id'] ) ) {
@@ -109,6 +130,10 @@ class cptui_admin_ui {
109
  $fieldset .= ' aria-expanded="' . $args['aria-expanded'] . '"';
110
  }
111
 
 
 
 
 
112
  $fieldset .= ' tabindex="0">';
113
 
114
  return $fieldset;
@@ -132,8 +157,12 @@ class cptui_admin_ui {
132
  *
133
  * @return string
134
  */
135
- public function get_legend_start() {
136
- return '<legend class="screen-reader-text">';
 
 
 
 
137
  }
138
 
139
  /**
@@ -294,7 +323,9 @@ class cptui_admin_ui {
294
  */
295
  public function get_select_input( $args = [] ) {
296
  $defaults = $this->get_default_input_parameters(
297
- [ 'selections' => [] ]
 
 
298
  );
299
 
300
  $args = wp_parse_args( $args, $defaults );
@@ -536,7 +567,7 @@ class cptui_admin_ui {
536
  public function get_button( $args = [] ) {
537
  $value = '';
538
  $classes = isset( $args['classes'] ) ? $args['classes'] : '';
539
- $value .= '<input id="' . $args['id'] . '" class="button ' . $classes . '" type="button" value="' . $args['textvalue'] . '" />';
540
 
541
  return $value;
542
  }
@@ -586,4 +617,23 @@ class cptui_admin_ui {
586
  (array) $additions
587
  );
588
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
589
  }
22
  * Return an opening `<tr>` tag.
23
  *
24
  * @since 1.0.0
25
+ * @since 1.13.0 Added attributes parameter
26
  *
27
+ * @param array $atts Array of custom attributes to add to the tag.
28
  * @return string $value Opening `<tr>` tag with attributes.
29
  */
30
+ public function get_tr_start( $atts = [] ) {
31
+
32
+ $atts_str = '';
33
+ if ( ! empty( $atts ) ) {
34
+ $atts_str = ' ' . $this->get_custom_attributes( $atts );
35
+ }
36
+ return '<tr' . $atts_str . '>';
37
  }
38
 
39
  /**
51
  * Return an opening `<th>` tag.
52
  *
53
  * @since 1.0.0
54
+ * @since 1.13.0 Added attributes parameter.
55
  *
56
+ * @param array $atts Array of attributes to add to the tag.
57
  * @return string $value Opening `<th>` tag with attributes.
58
  */
59
+ public function get_th_start( $atts = [] ) {
60
+ $atts_str = '';
61
+ if ( ! empty( $atts ) ) {
62
+ $atts_str = ' ' . $this->get_custom_attributes( $atts );
63
+ }
64
+ return "<th scope=\"row\"{$atts_str}>";
65
  }
66
 
67
  /**
79
  * Return an opening `<td>` tag.
80
  *
81
  * @since 1.0.0
82
+ * @since 1.13.0 Added attributes parameter.
83
  *
84
+ * @param array $atts Array of attributes to add to the tag.
85
  * @return string $value Opening `<td>` tag.
86
  */
87
+ public function get_td_start( $atts = [] ) {
88
+ $atts_str = '';
89
+ if ( ! empty( $atts ) ) {
90
+ $atts_str = ' ' . $this->get_custom_attributes( $atts );
91
+ }
92
+ return "<td{$atts_str}>";
93
  }
94
 
95
  /**
108
  *
109
  * @since 1.2.0
110
  * @since 1.3.0 Added $args parameter.
111
+ * @since 1.13.0 Added $atts parameter
112
  *
113
  * @param array $args Array of arguments.
114
+ * @param array $atts Array of custom attributes for the tag.
115
  * @return string $value Opening `<fieldset>` tag.
116
  */
117
+ public function get_fieldset_start( $args = [], $atts = [] ) {
118
  $fieldset = '<fieldset';
119
 
120
  if ( ! empty( $args['id'] ) ) {
130
  $fieldset .= ' aria-expanded="' . $args['aria-expanded'] . '"';
131
  }
132
 
133
+ if ( ! empty( $atts ) ) {
134
+ $fieldset .= ' ' . $this->get_custom_attributes( $atts );
135
+ }
136
+
137
  $fieldset .= ' tabindex="0">';
138
 
139
  return $fieldset;
157
  *
158
  * @return string
159
  */
160
+ public function get_legend_start( $atts = [] ) {
161
+ $atts_str = '';
162
+ if ( ! empty( $atts ) ) {
163
+ $atts_str = ' ' . $this->get_custom_attributes( $atts );
164
+ }
165
+ return "<legend class=\"screen-reader-text\"{$atts_str}>";
166
  }
167
 
168
  /**
323
  */
324
  public function get_select_input( $args = [] ) {
325
  $defaults = $this->get_default_input_parameters(
326
+ [
327
+ 'selections' => [],
328
+ ]
329
  );
330
 
331
  $args = wp_parse_args( $args, $defaults );
567
  public function get_button( $args = [] ) {
568
  $value = '';
569
  $classes = isset( $args['classes'] ) ? $args['classes'] : '';
570
+ $value .= '<input id="' . $args['id'] . '" class="button ' . $classes . '" type="button" value="' . $args['textvalue'] . '" />';
571
 
572
  return $value;
573
  }
617
  (array) $additions
618
  );
619
  }
620
+
621
+ /**
622
+ * Return combined attributes string.
623
+ *
624
+ * @param array $attributes Array of attributes to combine.
625
+ *
626
+ * @return string
627
+ * @since 1.13.0
628
+ */
629
+ public function get_custom_attributes( $attributes = [] ) {
630
+ $formatted = [];
631
+ if ( ! empty( $attributes ) ) {
632
+ foreach ( $attributes as $key => $attribute ) {
633
+ $formatted[] = "$key=\"$attribute\"";
634
+ }
635
+ }
636
+
637
+ return implode( ' ', $formatted );
638
+ }
639
  }
classes/class.cptui_debug_info.php CHANGED
@@ -21,10 +21,10 @@ class CPTUI_Debug_Info {
21
  */
22
  public function tab_site_info() {
23
  ?>
24
- <p><?php _e( 'If you have sought support for Custom Post Type UI on the forums, you may be requested to send the information below to the plugin developer. Simply insert the email they provided in the input field at the bottom and click the "Send debug info" button. Only the data below will be sent to them.', 'custom-post-type-ui' ); ?></p>
25
  <label for="cptui_audit_textarea">
26
  <textarea readonly="readonly" aria-readonly="true" id="cptui-audit-textarea" name="cptui_audit_textarea" rows="20" cols="100" class="large-text code">
27
- <?php echo $this->system_status(); ?>
28
  </textarea></label>
29
  <?php
30
  }
@@ -44,40 +44,40 @@ class CPTUI_Debug_Info {
44
  global $wpdb;
45
 
46
  $theme_data = wp_get_theme();
47
- $theme = $theme_data->Name . ' ' . $theme_data->Version;
48
 
49
  ob_start();
50
  ?>
51
 
52
  ### Begin Custom Post Type UI Debug Info ###
53
 
54
- Multisite: <?php echo is_multisite() ? 'Yes' . "\n" : 'No' . "\n" ?>
55
 
56
- SITE_URL: <?php echo site_url() . "\n"; ?>
57
- HOME_URL: <?php echo home_url() . "\n"; ?>
58
 
59
- WordPress Version: <?php echo get_bloginfo( 'version' ) . "\n"; ?>
60
- Permalink Structure: <?php echo get_option( 'permalink_structure' ) . "\n"; ?>
61
- Active Theme: <?php echo $theme . "\n"; ?>
62
 
63
- Registered Post Types: <?php echo implode( ', ', get_post_types( '', 'names' ) ) . "\n"; ?>
64
 
65
  PHP Version: <?php echo PHP_VERSION . "\n"; ?>
66
- MySQL Version: <?php echo $wpdb->db_version() . "\n"; ?>
67
- Web Server Info: <?php echo $_SERVER['SERVER_SOFTWARE'] . "\n"; ?>
68
 
69
- Show On Front: <?php echo get_option( 'show_on_front' ) . "\n" ?>
70
- Page On Front: <?php $id = get_option( 'page_on_front' );
71
- echo get_the_title( $id ) . ' (#' . $id . ')' . "\n" ?>
72
- Page For Posts: <?php $id = get_option( 'page_for_posts' );
73
- echo get_the_title( $id ) . ' (#' . $id . ')' . "\n" ?>
74
 
75
- WordPress Memory Limit: <?php echo ( $this->num_convt( WP_MEMORY_LIMIT ) / ( 1024 ) ) . 'MB'; ?><?php echo "\n"; ?>
76
 
77
  <?php
78
  $plugins = get_plugins();
79
  $pg_count = count( $plugins );
80
- echo 'TOTAL PLUGINS: ' . $pg_count . "\n\n";
81
  // MU plugins.
82
  $mu_plugins = get_mu_plugins();
83
 
@@ -86,7 +86,7 @@ class CPTUI_Debug_Info {
86
 
87
  foreach ( $mu_plugins as $mu_path => $mu_plugin ) {
88
 
89
- echo "\t\t" . $mu_plugin['Name'] . ': ' . $mu_plugin['Version'] . "\n";
90
  }
91
  endif;
92
  // Standard plugins - active.
@@ -96,27 +96,27 @@ class CPTUI_Debug_Info {
96
  $ac_count = count( $active );
97
  $ic_count = $pg_count - $ac_count;
98
 
99
- echo "\t\t" . 'ACTIVE PLUGINS: (' . $ac_count . ')' . "\n\n";
100
 
101
  foreach ( $plugins as $plugin_path => $plugin ) {
102
  // If the plugin isn't active, don't show it.
103
- if ( ! in_array( $plugin_path, $active ) ) {
104
  continue;
105
  }
106
 
107
- echo "\t\t" . $plugin['Name'] . ': ' . $plugin['Version'] . "\n";
108
  }
109
  // Standard plugins - inactive.
110
  echo "\n";
111
- echo "\t\t" , 'INACTIVE PLUGINS: (' . $ic_count . ')' . "\n\n";
112
 
113
  foreach ( $plugins as $plugin_path => $plugin ) {
114
  // If the plugin isn't active, show it here.
115
- if ( in_array( $plugin_path, $active ) ) {
116
  continue;
117
  }
118
 
119
- echo "\t\t" . $plugin['Name'] . ': ' . $plugin['Version'] . "\n";
120
  }
121
 
122
  // If multisite, grab network as well.
@@ -138,7 +138,7 @@ class CPTUI_Debug_Info {
138
 
139
  $plugin = get_plugin_data( $plugin_path );
140
 
141
- echo $plugin['Name'] . ' :' . $plugin['Version'] . "\n";
142
  }
143
 
144
  endif;
@@ -146,13 +146,13 @@ class CPTUI_Debug_Info {
146
  echo "\n";
147
  $cptui_post_types = cptui_get_post_type_data();
148
  echo "\t\t" . 'Post Types: ' . "\n";
149
- echo "\t\t" . json_encode( $cptui_post_types ) . "\n";
150
 
151
  echo "\n\n";
152
 
153
  $cptui_taxonomies = cptui_get_taxonomy_data();
154
  echo "\t\t" . 'Taxonomies: ' . "\n";
155
- echo "\t\t" . json_encode( $cptui_taxonomies ) . "\n";
156
  echo "\n";
157
 
158
  if ( has_action( 'cptui_custom_debug_info' ) ) {
@@ -229,11 +229,14 @@ class CPTUI_Debug_Info {
229
  *
230
  * @param string $value Intended email subject.
231
  */
232
- $subject = apply_filters( 'cptui_debug_email_subject', sprintf(
233
- // translators: Placeholder will hold site home_url.
234
- __( 'Custom Post Type UI debug information for %s', 'custom-post-type-ui' ),
235
- home_url( '/' )
236
- ) );
 
 
 
237
 
238
  $result = wp_mail( $args['email'], $subject, $message );
239
 
21
  */
22
  public function tab_site_info() {
23
  ?>
24
+ <p><?php esc_html_e( 'If you have sought support for Custom Post Type UI on the forums, you may be requested to send the information below to the plugin developer. Simply insert the email they provided in the input field at the bottom and click the "Send debug info" button. Only the data below will be sent to them.', 'custom-post-type-ui' ); ?></p>
25
  <label for="cptui_audit_textarea">
26
  <textarea readonly="readonly" aria-readonly="true" id="cptui-audit-textarea" name="cptui_audit_textarea" rows="20" cols="100" class="large-text code">
27
+ <?php echo esc_html( $this->system_status() ); ?>
28
  </textarea></label>
29
  <?php
30
  }
44
  global $wpdb;
45
 
46
  $theme_data = wp_get_theme();
47
+ $theme = $theme_data->Name . ' ' . $theme_data->Version; // phpcs:ignore.
48
 
49
  ob_start();
50
  ?>
51
 
52
  ### Begin Custom Post Type UI Debug Info ###
53
 
54
+ Multisite: <?php echo is_multisite() ? 'Yes' . "\n" : 'No' . "\n"; ?>
55
 
56
+ SITE_URL: <?php echo esc_url( site_url() ) . "\n"; ?>
57
+ HOME_URL: <?php echo esc_url( home_url() ) . "\n"; ?>
58
 
59
+ WordPress Version: <?php echo get_bloginfo( 'version' ) . "\n"; // phpcs:ignore. ?>
60
+ Permalink Structure: <?php echo get_option( 'permalink_structure' ) . "\n"; // phpcs:ignore. ?>
61
+ Active Theme: <?php echo $theme . "\n"; // phpcs:ignore. ?>
62
 
63
+ Registered Post Types: <?php echo implode( ', ', get_post_types( '', 'names' ) ) . "\n"; // phpcs:ignore. ?>
64
 
65
  PHP Version: <?php echo PHP_VERSION . "\n"; ?>
66
+ MySQL Version: <?php echo $wpdb->db_version() . "\n"; // phpcs:ignore. ?>
67
+ Web Server Info: <?php echo $_SERVER['SERVER_SOFTWARE'] . "\n"; // phpcs:ignore. ?>
68
 
69
+ Show On Front: <?php echo get_option( 'show_on_front' ) . "\n"; // phpcs:ignore. ?>
70
+ Page On Front: <?php $id = get_option( 'page_on_front' ); // phpcs:ignore.
71
+ echo get_the_title( $id ) . ' (#' . $id . ')' . "\n"; // phpcs:ignore. ?>
72
+ Page For Posts: <?php $id = get_option( 'page_for_posts' ); // phpcs:ignore.
73
+ echo get_the_title( $id ) . ' (#' . $id . ')' . "\n"; // phpcs:ignore. ?>
74
 
75
+ WordPress Memory Limit: <?php echo ( $this->num_convt( WP_MEMORY_LIMIT ) / ( 1024 ) ) . 'MB'; ?><?php echo "\n"; // phpcs:ignore. ?>
76
 
77
  <?php
78
  $plugins = get_plugins();
79
  $pg_count = count( $plugins );
80
+ echo 'TOTAL PLUGINS: ' . $pg_count . "\n\n"; // phpcs:ignore.
81
  // MU plugins.
82
  $mu_plugins = get_mu_plugins();
83
 
86
 
87
  foreach ( $mu_plugins as $mu_path => $mu_plugin ) {
88
 
89
+ echo "\t\t" . esc_html( $mu_plugin['Name'] ) . ': ' . esc_html( $mu_plugin['Version'] ) . "\n";
90
  }
91
  endif;
92
  // Standard plugins - active.
96
  $ac_count = count( $active );
97
  $ic_count = $pg_count - $ac_count;
98
 
99
+ echo "\t\t" . 'ACTIVE PLUGINS: (' . $ac_count . ')' . "\n\n"; // phpcs:ignore.
100
 
101
  foreach ( $plugins as $plugin_path => $plugin ) {
102
  // If the plugin isn't active, don't show it.
103
+ if ( ! in_array( $plugin_path, $active, true ) ) {
104
  continue;
105
  }
106
 
107
+ echo "\t\t" . esc_html( $plugin['Name'] ) . ': ' . esc_html( $plugin['Version'] ) . "\n";
108
  }
109
  // Standard plugins - inactive.
110
  echo "\n";
111
+ echo "\t\t" , 'INACTIVE PLUGINS: (' . $ic_count . ')' . "\n\n"; // phpcs:ignore.
112
 
113
  foreach ( $plugins as $plugin_path => $plugin ) {
114
  // If the plugin isn't active, show it here.
115
+ if ( in_array( $plugin_path, $active, true ) ) {
116
  continue;
117
  }
118
 
119
+ echo "\t\t" . esc_html( $plugin['Name'] ) . ': ' . esc_html( $plugin['Version'] ) . "\n";
120
  }
121
 
122
  // If multisite, grab network as well.
138
 
139
  $plugin = get_plugin_data( $plugin_path );
140
 
141
+ echo esc_html( $plugin['Name'] ) . ' :' . esc_html( $plugin['Version'] ) . "\n";
142
  }
143
 
144
  endif;
146
  echo "\n";
147
  $cptui_post_types = cptui_get_post_type_data();
148
  echo "\t\t" . 'Post Types: ' . "\n";
149
+ echo "\t\t" . wp_json_encode( $cptui_post_types ) . "\n";
150
 
151
  echo "\n\n";
152
 
153
  $cptui_taxonomies = cptui_get_taxonomy_data();
154
  echo "\t\t" . 'Taxonomies: ' . "\n";
155
+ echo "\t\t" . wp_json_encode( $cptui_taxonomies ) . "\n";
156
  echo "\n";
157
 
158
  if ( has_action( 'cptui_custom_debug_info' ) ) {
229
  *
230
  * @param string $value Intended email subject.
231
  */
232
+ $subject = apply_filters(
233
+ 'cptui_debug_email_subject',
234
+ sprintf(
235
+ // translators: Placeholder will hold site home_url.
236
+ esc_html__( 'Custom Post Type UI debug information for %s', 'custom-post-type-ui' ),
237
+ esc_url( home_url( '/' ) )
238
+ )
239
+ );
240
 
241
  $result = wp_mail( $args['email'], $subject, $message );
242
 
css/cptui.css DELETED
@@ -1,456 +0,0 @@
1
- .posttypesui, .taxonomiesui {
2
- width: calc(100% - 300px);
3
- }
4
-
5
- .posttypesui .cptui-section:first-child, .taxonomiesui .cptui-section:first-child {
6
- margin-top: 30px;
7
- }
8
-
9
- .posttypesui .postbox-container, .taxonomiesui .postbox-container {
10
- width: 100%;
11
- }
12
-
13
- .posttypesui .postbox .toggle-indicator:before, .taxonomiesui .postbox .toggle-indicator:before {
14
- content: "\f142";
15
- display: inline-block;
16
- font: normal 20px/1 dashicons;
17
- speak: none;
18
- -webkit-font-smoothing: antialiased;
19
- -moz-osx-font-smoothing: grayscale;
20
- text-decoration: none !important;
21
- }
22
-
23
- .posttypesui .postbox.closed .handlediv .toggle-indicator::before, .taxonomiesui .postbox.closed .handlediv .toggle-indicator::before {
24
- content: "\f140";
25
- }
26
-
27
- .posttypesui .postbox .hndle, .taxonomiesui .postbox .hndle {
28
- cursor: pointer;
29
- }
30
-
31
- .posttypesui .required, .taxonomiesui .required {
32
- color: red;
33
- }
34
-
35
- .cptui-table td.outer {
36
- vertical-align: top;
37
- width: 50%;
38
- }
39
-
40
- .cptui-table input[type="text"] {
41
- width: 75%;
42
- }
43
-
44
- .cptui-table .question:hover {
45
- cursor: pointer;
46
- }
47
-
48
- .cptui-table th p {
49
- font-weight: 400;
50
- font-size: 12px;
51
- }
52
-
53
- .cptui-table .cptui-slug-details {
54
- margin-top: 15px;
55
- }
56
-
57
- .cptui-table #slugchanged, .cptui-table #slugexists {
58
- color: red;
59
- font-weight: bold;
60
- }
61
-
62
- .cptui-table #slugchanged.hidemessage, .cptui-table #slugexists.hidemessage {
63
- display: none;
64
- }
65
-
66
- .cptui-support #support .question {
67
- font-size: 18px;
68
- font-weight: bold;
69
- }
70
-
71
- .cptui-support #support .question:before {
72
- content: "\f139";
73
- display: inline-block;
74
- font: normal 25px/1 'dashicons';
75
- margin-left: -25px;
76
- position: absolute;
77
- -webkit-font-smoothing: antialiased;
78
- }
79
-
80
- .cptui-support #support .question.active:before {
81
- content: "\f140";
82
- }
83
-
84
- .cptui-support #support .answer {
85
- margin: 10px 0 0 20px;
86
- }
87
-
88
- .cptui-support #support ol li {
89
- list-style: none;
90
- }
91
-
92
- .cptui-support #support li {
93
- position: relative;
94
- }
95
-
96
- .cptui-field-description {
97
- font-style: italic;
98
- }
99
-
100
- #cptui_select_post_type,
101
- #cptui_select_taxonomy {
102
- margin-top: 15px;
103
- }
104
-
105
- .cptui_post_import,
106
- .cptui_tax_import {
107
- height: 200px;
108
- margin-bottom: 10px;
109
- resize: vertical;
110
- width: 100%;
111
- }
112
-
113
- .cptui_post_type_get_code,
114
- .cptui_tax_get_code {
115
- height: 300px;
116
- resize: vertical;
117
- }
118
-
119
- .about-wrap .cptui-feature {
120
- overflow: visible !important;
121
- *zoom: 1;
122
- }
123
-
124
- .about-wrap .cptui-feature:before, .about-wrap .cptui-feature:after {
125
- content: " ";
126
- display: table;
127
- }
128
-
129
- .about-wrap .cptui-feature:after {
130
- clear: both;
131
- }
132
-
133
- .about-wrap h3 + .cptui-feature {
134
- margin-top: 0;
135
- }
136
-
137
- .about-wrap .changelog h2 {
138
- text-align: center;
139
- }
140
-
141
- .about-wrap .feature-rest div {
142
- width: 50% !important;
143
- padding-right: 100px;
144
- box-sizing: border-box;
145
- margin: 0 !important;
146
- }
147
-
148
- .about-wrap .feature-rest div.last-feature {
149
- padding-left: 100px;
150
- padding-right: 0;
151
- }
152
-
153
- .about-wrap .feature-rest div.icon {
154
- width: 0 !important;
155
- padding: 0;
156
- margin: 0;
157
- }
158
-
159
- .about-wrap .feature-rest div.icon:before {
160
- font-weight: normal;
161
- width: 100%;
162
- font-size: 170px;
163
- line-height: 125px;
164
- color: #9c5d90;
165
- display: inline-block;
166
- position: relative;
167
- text-align: center;
168
- speak: none;
169
- margin: 0 0 0 -100px;
170
- content: "\e01d";
171
- -webkit-font-smoothing: antialiased;
172
- -moz-osx-font-smoothing: grayscale;
173
- }
174
-
175
- .about-wrap .about-integrations {
176
- background: #fff;
177
- margin: 20px 0;
178
- padding: 1px 20px 10px;
179
- }
180
-
181
- .about-wrap .changelog h4 {
182
- line-height: 1.4;
183
- }
184
-
185
- .about-wrap .cptui-about-text {
186
- margin-bottom: 1em !important;
187
- margin-right: 0;
188
- max-width: calc(100% - 173px);
189
- }
190
-
191
- .email-octopus-form-row input:-ms-input-placeholder {
192
- color: #cccccc;
193
- }
194
-
195
- .email-octopus-form-row input::placeholder {
196
- color: #cccccc;
197
- }
198
-
199
- .email-octopus-form-row-hp {
200
- visibility: hidden;
201
- }
202
-
203
- .cptui-intro-devblock {
204
- display: -ms-flexbox;
205
- display: flex;
206
- -ms-flex-direction: row;
207
- flex-direction: row;
208
- }
209
-
210
- .cptui-help {
211
- color: #424242;
212
- margin-left: 4px;
213
- opacity: 0.5;
214
- text-decoration: none;
215
- width: 16px;
216
- }
217
-
218
- fieldset .cptui-help {
219
- position: relative;
220
- top: 4px;
221
- }
222
-
223
- .cptui-help:hover {
224
- color: #0074a2;
225
- opacity: 1;
226
- }
227
-
228
- .cptui-help:focus {
229
- box-shadow: none;
230
- }
231
-
232
- #menu_icon_preview {
233
- float: right;
234
- padding-left: 8px;
235
- }
236
-
237
- #menu_icon_preview img {
238
- display: block;
239
- height: 20px;
240
- width: 20px;
241
- }
242
-
243
- .visuallyhidden {
244
- position: absolute;
245
- left: -10000px;
246
- top: auto;
247
- width: 1px;
248
- height: 1px;
249
- overflow: hidden;
250
- }
251
-
252
- .cptui-spacer {
253
- display: block;
254
- margin-top: 25px;
255
- }
256
-
257
- .email-octopus-form-wrapper {
258
- background: #fff;
259
- margin-bottom: 10px;
260
- padding: 20px;
261
- }
262
-
263
- .email-octopus-form-wrapper label {
264
- margin-bottom: 10px;
265
- }
266
-
267
- .wdsoctosignup h2 {
268
- text-align: left;
269
- }
270
-
271
- .wdspromos {
272
- float: right;
273
- margin-left: 20px;
274
- margin-top: 10px;
275
- width: 275px;
276
- }
277
-
278
- .wdspromos-about {
279
- display: -ms-flexbox;
280
- display: flex;
281
- -ms-flex-direction: row;
282
- flex-direction: row;
283
- -ms-flex-wrap: nowrap;
284
- flex-wrap: nowrap;
285
- -ms-flex-pack: justify;
286
- justify-content: space-between;
287
- -ms-flex-line-pack: stretch;
288
- align-content: stretch;
289
- -ms-flex-align: start;
290
- align-items: flex-start;
291
- margin: 20px 0;
292
- }
293
-
294
- .wdspromos-about a:nth-child(1) {
295
- -ms-flex-order: 0;
296
- order: 0;
297
- -ms-flex: 0 1 auto;
298
- flex: 0 1 auto;
299
- -ms-flex-item-align: auto;
300
- -ms-grid-row-align: auto;
301
- align-self: auto;
302
- }
303
-
304
- .wdspromos-about a:nth-child(2) {
305
- -ms-flex-order: 0;
306
- order: 0;
307
- -ms-flex: 0 1 auto;
308
- flex: 0 1 auto;
309
- -ms-flex-item-align: auto;
310
- -ms-grid-row-align: auto;
311
- align-self: auto;
312
- }
313
-
314
- .wdspromos-about a:nth-child(3) {
315
- -ms-flex-order: 0;
316
- order: 0;
317
- -ms-flex: 0 1 auto;
318
- flex: 0 1 auto;
319
- -ms-flex-item-align: auto;
320
- -ms-grid-row-align: auto;
321
- align-self: auto;
322
- }
323
-
324
- .wdspromos-about p {
325
- padding: 0 5px;
326
- }
327
-
328
- .wdspromos-about p:nth-child(1) {
329
- padding-left: 0;
330
- }
331
-
332
- .wdspromos-about p:nth-child(4) {
333
- padding-right: 0;
334
- }
335
-
336
- .no-js #cptui_choose_icon {
337
- display: none;
338
- }
339
-
340
- .cptui-listings th {
341
- font-weight: bold;
342
- }
343
-
344
- .cptui-listings .post-type-listing th {
345
- width: 16.66667%;
346
- }
347
-
348
- .cptui-listings .taxonomy-listing th {
349
- width: 20%;
350
- }
351
-
352
- #poststuff {
353
- min-width: 463px;
354
- }
355
-
356
- .dashicon-picker-container {
357
- position: absolute;
358
- width: 220px;
359
- height: 252px;
360
- font-size: 14px;
361
- background-color: #fff;
362
- box-shadow: -1px 2px 5px 3px rgba(0, 0, 0, 0.41);
363
- overflow: hidden;
364
- padding: 5px;
365
- box-sizing: border-box;
366
- }
367
-
368
- .dashicon-picker-container ul {
369
- margin: 0 0 10px;
370
- padding: 0;
371
- }
372
-
373
- .dashicon-picker-container ul .dashicons {
374
- width: 20px;
375
- height: 20px;
376
- font-size: 20px;
377
- }
378
-
379
- .dashicon-picker-container ul li {
380
- display: inline-block;
381
- margin: 5px;
382
- float: left;
383
- }
384
-
385
- .dashicon-picker-container ul li a {
386
- display: block;
387
- text-decoration: none;
388
- color: #373737;
389
- padding: 5px 5px;
390
- border: 1px solid #dfdfdf;
391
- }
392
-
393
- .dashicon-picker-container ul li a:hover {
394
- border-color: #999;
395
- background: #efefef;
396
- }
397
-
398
- .dashicon-picker-control {
399
- height: 32px;
400
- }
401
-
402
- .dashicon-picker-control a {
403
- padding: 5px;
404
- text-decoration: none;
405
- line-height: 32px;
406
- width: 25px;
407
- }
408
-
409
- .dashicon-picker-control a span {
410
- display: inline;
411
- vertical-align: middle;
412
- }
413
-
414
- .dashicon-picker-control input {
415
- font-size: 12px;
416
- width: 140px;
417
- }
418
-
419
- @media screen and (min-width: 769px) {
420
- .cptui-badge {
421
- margin-top: -42px;
422
- height: 173px;
423
- width: 173px;
424
- color: #fafafa;
425
- font-weight: bold;
426
- font-size: 14px;
427
- text-align: center;
428
- margin-bottom: 10px;
429
- background: url(../images/cptui-icon-173x173.png) no-repeat;
430
- }
431
- }
432
-
433
- @media screen and (max-width: 768px) {
434
- .cptui-table #description {
435
- width: 100%;
436
- }
437
- .wdspromos-about {
438
- -ms-flex-wrap: wrap;
439
- flex-wrap: wrap;
440
- }
441
- .wdspromos-about p {
442
- margin: 5px auto;
443
- }
444
- .wdspromos-about p:nth-child(1) {
445
- padding-left: 5px;
446
- }
447
- .wdspromos-about p:nth-child(4) {
448
- padding-right: 5px;
449
- }
450
- .cptui-table td.outer {
451
- width: 100%;
452
- }
453
- #cptui_debug_info_email {
454
- width: 100%;
455
- }
456
- }