Toolset Types – Custom Post Types, Custom Fields and Taxonomies - Version 1.7.1

Version Description

  • Release date: 2015-06-22

  • Fixed a problem with constant ICL_SITEPRESS_VERSION https://wordpress.org/support/topic/types-17-notice-undefined-constant-icl_sitepress_version

  • Field a problem with "file type" field on user profile screen. https://wordpress.org/support/topic/image-field-not-working-1

Download this release

Release Info

Developer iworks
Plugin Icon 128x128 Toolset Types – Custom Post Types, Custom Fields and Taxonomies
Version 1.7.1
Comparing to
See all releases

Code changes from version 1.7 to 1.7.1

embedded/bootstrap.php CHANGED
@@ -133,7 +133,7 @@ function wpcf_embedded_init() {
133
  // Define necessary constants if plugin is not present
134
  // This ones are skipped if used as embedded code!
135
  if ( !defined( 'WPCF_VERSION' ) ) {
136
- define( 'WPCF_VERSION', '1.7' );
137
  define( 'WPCF_META_PREFIX', 'wpcf-' );
138
  }
139
 
133
  // Define necessary constants if plugin is not present
134
  // This ones are skipped if used as embedded code!
135
  if ( !defined( 'WPCF_VERSION' ) ) {
136
+ define( 'WPCF_VERSION', '1.7.1' );
137
  define( 'WPCF_META_PREFIX', 'wpcf-' );
138
  }
139
 
embedded/common/toolset-forms/classes/class.date.php CHANGED
@@ -318,7 +318,7 @@ class WPToolset_Field_Date extends FieldFactory
318
  }
319
 
320
  public static function filterConditionalArgsPhp($args, $type)
321
- {
322
  if ($type == 'date') {
323
  foreach ($args as &$arg) {
324
  $arg = self::filterConditionalValuePhp($arg, $type);
318
  }
319
 
320
  public static function filterConditionalArgsPhp($args, $type)
321
+ {
322
  if ($type == 'date') {
323
  foreach ($args as &$arg) {
324
  $arg = self::filterConditionalValuePhp($arg, $type);
embedded/common/toolset-forms/classes/class.date.scripts.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- if (!function_exists('adodb_mktime')) {
3
  require_once WPTOOLSET_FORMS_ABSPATH . '/lib/adodb-time.inc.php';
4
  }
5
 
1
  <?php
2
+ if (!function_exists('adodb_mktime')) {
3
  require_once WPTOOLSET_FORMS_ABSPATH . '/lib/adodb-time.inc.php';
4
  }
5
 
embedded/common/toolset-forms/js/date.js CHANGED
@@ -3,10 +3,12 @@ var wptDate = (function ($) {
3
  function init(parent) {
4
  if ($.isFunction($.fn.datepicker)) {
5
  $('input.js-wpt-date', $(parent)).each(function (index) {
6
- if (!$(this).is(':disabled') && !$(this).hasClass('hasDatepicker')) {
 
 
7
  a = wptDate.add($(this));
8
  //a.next().after('<span style="margin-left:10px"><i>' + wptDateData.dateFormatNote + '</i></span>').data( 'dateFormatNote', true );
9
- }
10
  });
11
  }
12
 
3
  function init(parent) {
4
  if ($.isFunction($.fn.datepicker)) {
5
  $('input.js-wpt-date', $(parent)).each(function (index) {
6
+ //removed !$(this).is(':disabled') &&
7
+ //https://onthegosystems.myjetbrains.com/youtrack/issue/cred-64
8
+ if (/*!$(this).is(':disabled') &&*/ !$(this).hasClass('hasDatepicker')) {
9
  a = wptDate.add($(this));
10
  //a.next().after('<span style="margin-left:10px"><i>' + wptDateData.dateFormatNote + '</i></span>').data( 'dateFormatNote', true );
11
+ }
12
  });
13
  }
14
 
embedded/common/toolset-forms/js/skype-uri.js DELETED
@@ -1,863 +0,0 @@
1
- /*jshint -W003:true */
2
- /*jshint -W107:true */
3
- /*jshint -W057:true */
4
-
5
- var Skype = new function () {
6
- this.name = null;
7
- this.element = null;
8
- this.participants = ["echo123"];
9
- this.listParticipants = "false";
10
- this.video = "false";
11
- this.topic = null;
12
- this.listTopic = "false";
13
- this.imageSize = null;
14
- this.imageColor = null;
15
- this.useDetection = "true";
16
- this.protocol = "skype:";
17
- this.version = "1.1.7";
18
- this.httpProtocol = window.location.protocol !== "https:" ? "http:" : "https:";
19
- this.ui = l;
20
- this.setImageAttributes = j;
21
- this.trimString = o;
22
- this.escapeString = b;
23
- this.createDetectionFrame = h;
24
- this.trySkypeUri_IE9_IE8 = n;
25
- this.trySkypeUri_IOS_Safari = e;
26
- this.trySkypeUri_Android_Chrome = a_androidchrome;
27
- this.trySkypeUri_Android_Firefox = q;
28
- this.trySkypeUri_Generic = a;
29
- this.SkypeClientDownloadUrl = this.httpProtocol + "//www.skype.com/download";
30
- this.installSkypeMsg = "Please install Skype application in order to make this call or send a message.";
31
- this.displayNotSupportedMsg = f;
32
- this.SkypeUriAssetMap = c;
33
- this.SkypeUriAssetColorMap = g;
34
- this.SkypeUriNameLinks = m;
35
- this.assetPrefix = this.httpProtocol + "//www.skypeassets.com/i/scom/images/skype-buttons/";
36
- this.assetSizeArray = [10, 12, 14, 16, 24, 32];
37
- this.assetSizeDefault = 16;
38
- this.assetMarginMinimum = 16;
39
- this.assetSize = this.assetSizeDefault;
40
- this.assetMargin = (this.assetSize >= this.assetMarginMinimum) ? this.assetSize : this.assetMarginMinimum;
41
- this.assetColorPathWhite = "_trans_";
42
- this.assetColorFontWhite = "white";
43
- this.assetColorPathSkype = "_";
44
- this.assetColorFontSkype = "#444444";
45
- this.assetColorPathDefault = this.assetColorPathSkype;
46
- this.assetColorFontDefault = this.assetColorFontSkype;
47
- this.assetColor = new this.SkypeUriAssetColorMap(this.assetColorPathDefault, this.assetColorFontDefault);
48
- this.assetSizeMap = {};
49
- this.assetSizeMap.size10 = new this.SkypeUriAssetMap(10, -18);
50
- this.assetSizeMap.size12 = new this.SkypeUriAssetMap(12, -19);
51
- this.assetSizeMap.size14 = new this.SkypeUriAssetMap(14, -19);
52
- this.assetSizeMap.size16 = new this.SkypeUriAssetMap(16, -20);
53
- this.assetSizeMap.size24 = new this.SkypeUriAssetMap(24, -30);
54
- this.assetSizeMap.size32 = new this.SkypeUriAssetMap(32, -41);
55
- this.focusLinks = new this.SkypeUriNameLinks("", "");
56
- this.callLinks = new this.SkypeUriNameLinks("call", "");
57
- this.videoLinks = new this.SkypeUriNameLinks("call", "");
58
- this.chatLinks = new this.SkypeUriNameLinks("chat", "");
59
- this.multiChatLinks = new this.SkypeUriNameLinks("chat", "");
60
- this.dropdownLinks = new this.SkypeUriNameLinks("dropdown", "");
61
- this.setImageAttributes(this.assetSizeDefault, "");
62
- this.analyzeSkypeUriInit = null;
63
- this.analyzeSkypeUriAction = null;
64
- this.analyzeSkypeUriRedirect = null;
65
- this.analyzeSkypeUr = null;
66
- this.analyzePreCrumbs = [];
67
- this.analyzeCrumbs = [];
68
- this.analyzeCrumbIndex = -1;
69
- this.tryAnalyzeSkypeUri = k;
70
- this.detectSkypeClientFrameId = null;
71
- this.detectedPlatform = "unknown";
72
- this.detectedBrowser = "unknown";
73
- this.isWinXP = false;
74
- this.isWinVista = false;
75
- this.isWin7 = false;
76
- this.isWin8 = false;
77
- this.isOSX_SnowLeopard = false;
78
- this.isOSX_MountainLion = false;
79
- this.isLinux = false;
80
- this.isWinPhone8 = false;
81
- this.isAndroid = false;
82
- this.isAndroid_Gingerbread = false;
83
- this.isAndroid_IceCream = false;
84
- this.isAndroid_JellyBean = false;
85
- this.isIOS7 = false;
86
- this.isIOS6 = false;
87
- this.isIOS5 = false;
88
- this.isIOS4 = false;
89
- this.isIPhone = false;
90
- this.isIPad = false;
91
- this.isIPod = false;
92
- this.isIE10 = false;
93
- this.isIE9 = false;
94
- this.isIE8 = false;
95
- this.isIE7 = false;
96
- this.isIE6 = false;
97
- this.isFF = false;
98
- this.isAndroidBrowser = false;
99
- this.isChrome = false;
100
- this.isSafari = false;
101
- this.showDropdown = i;
102
- this.hideDropdown = d;
103
- this.analyzeScript = this.httpProtocol + "//www.skypeassets.com/i/scom/js/" + "skype-analytics.js";
104
- this.includeJavascript = p;
105
- this.includeJavascript(this.analyzeScript);
106
- if (navigator.userAgent.indexOf("Windows NT 5.1") !== -1) {
107
- this.isWinXP = true;
108
- this.detectedPlatform = "Windows XP"
109
- } else {
110
- if (navigator.userAgent.indexOf("Windows NT 6.0") !== -1) {
111
- this.isWinVista = true;
112
- this.detectedPlatform = "Windows Vista"
113
- } else {
114
- if (navigator.userAgent.indexOf("Windows NT 6.1") !== -1) {
115
- this.isWin7 = true;
116
- this.detectedPlatform = "Windows 7"
117
- } else {
118
- if (navigator.userAgent.indexOf("Windows NT 6.2") !== -1) {
119
- this.isWin8 = true;
120
- this.detectedPlatform = "Windows 8"
121
- } else {
122
- if (navigator.userAgent.indexOf("Mac OS X 10_7") !== -1) {
123
- this.isOSX_SnowLeopard = true;
124
- this.detectedPlatform = "OSX 10.7"
125
- } else {
126
- if (navigator.userAgent.indexOf("Mac OS X 10.8") !== -1) {
127
- this.isOSX_MountainLion = true;
128
- this.detectedPlatform = "OSX 10.8"
129
- } else {
130
- if (navigator.userAgent.indexOf("Mac OS X 10_8") !== -1) {
131
- this.isOSX_MountainLion = true;
132
- this.detectedPlatform = "OSX 10.8"
133
- } else {
134
- if(navigator.userAgent.indexOf("Android") !== -1) {
135
- this.isAndroid = true;
136
- this.detectedPlatform = "Android"
137
-
138
- if (navigator.userAgent.indexOf("Android 2.3") !== -1) {
139
- this.isAndroid_Gingerbread = true;
140
- this.detectedPlatform = "Android 2.3"
141
- }
142
- else if(navigator.userAgent.indexOf("Android 4.0") !== -1) {
143
- this.isAndroid_IceCream = true;
144
- this.detectedPlatform = "Android 4.0"
145
- }
146
- else if(navigator.userAgent.indexOf("Android 4.1") !== -1) {
147
- this.isAndroid_JellyBean = true;
148
- this.detectedPlatform = "Android 4.1"
149
- }
150
- }
151
- else if (navigator.userAgent.indexOf("Linux") !== -1) {
152
- this.isLinux = true;
153
- this.detectedPlatform = "Linux"
154
- } else {
155
- if (navigator.userAgent.indexOf("Windows Phone 8") !== -1) {
156
- this.isWinPhone8 = true;
157
- this.detectedPlatform = "Windows Phone 8"
158
- } else {
159
- if (navigator.userAgent.match(/OS 7_[0-9_]+ like Mac OS X/i)) {
160
- this.isIOS7 = true;
161
- this.detectedPlatform = "iOS7"
162
- } else {
163
- if (navigator.userAgent.match(/OS 6_[0-9_]+ like Mac OS X/i)) {
164
- this.isIOS6 = true;
165
- this.detectedPlatform = "iOS6"
166
- } else {
167
- if (navigator.userAgent.match(/OS 5_[0-9_]+ like Mac OS X/i)) {
168
- this.isIOS5 = true;
169
- this.detectedPlatform = "iOS5"
170
- } else {
171
- if (navigator.userAgent.match(/OS 4_[0-9_]+ like Mac OS X/i)) {
172
- this.isIOS4 = true;
173
- this.detectedPlatform = "iOS4"
174
- }
175
- }
176
- }
177
- }
178
- }
179
- }
180
- }
181
- }
182
- }
183
- }
184
- }
185
- }
186
- } if (navigator.userAgent.indexOf("iPhone") !== -1) {
187
- this.isIPhone = true;
188
- this.detectedPlatform = "iPhone " + this.detectedPlatform
189
- } else {
190
- if (navigator.userAgent.indexOf("iPad") !== -1) {
191
- this.IsPad = true;
192
- this.detectedPlatform = "iPad " + this.detectedPlatform
193
- } else {
194
- if (navigator.userAgent.indexOf("iPod") !== -1) {
195
- this.IsPod = true;
196
- this.detectedPlatform = "iPod " + this.detectedPlatform
197
- }
198
- }
199
- } if (navigator.userAgent.indexOf("MSIE 10") !== -1) {
200
- this.isIE10 = true;
201
- this.detectedBrowser = "Internet Explorer 10"
202
- } else {
203
- if (navigator.userAgent.indexOf("MSIE 9") !== -1) {
204
- this.isIE9 = true;
205
- this.detectedBrowser = "Internet Explorer 9"
206
- } else {
207
- if (navigator.userAgent.indexOf("MSIE 8") !== -1) {
208
- this.isIE8 = true;
209
- this.detectedBrowser = "Internet Explorer 8"
210
- } else {
211
- if (navigator.userAgent.indexOf("MSIE 7") !== -1) {
212
- this.isIE7 = true;
213
- this.detectedBrowser = "Internet Explorer 7"
214
- } else {
215
- if (navigator.userAgent.indexOf("MSIE 6") !== -1) {
216
- this.isIE6 = true;
217
- this.detectedBrowser = "Internet Explorer 6"
218
- } else {
219
- if (navigator.userAgent.indexOf("Firefox") !== -1) {
220
- this.isFF = true;
221
- this.detectedBrowser = "Firefox"
222
- } else {
223
- if (navigator.userAgent.indexOf("Chrome") !== -1) {
224
- this.isChrome = true;
225
- this.detectedBrowser = "Chrome"
226
- } else {
227
- if (navigator.userAgent.indexOf("Mobile Safari") !== -1 && this.isAndroid) {
228
- this.isAndroidBrowser = true;
229
- this.detectedBrowser = "Mobile Safari"
230
- } else {
231
- if (navigator.userAgent.indexOf("Safari") !== -1) {
232
- this.isSafari = true;
233
- this.detectedBrowser = "Safari"
234
- }
235
- }
236
- }
237
- }
238
- }
239
- }
240
- }
241
- }
242
- } if (this.isLinux) {
243
- this.useDetection = "false"
244
- }
245
- if (this.isAndroid) {
246
- this.SkypeClientDownloadUrl = "market://details?id=com.skype.raider"
247
- } else {
248
- if (this.isIPhone || this.IsPad || this.IsPod) {
249
- this.SkypeClientDownloadUrl = "itms-apps://itunes.com/apps/skype"
250
- }
251
- }
252
-
253
- function f() {
254
- alert("Sorry this device doesn't support Skype Buttons yet. Please add " + this.participants[0] + " as a contact in your Skype Client to MAKE this call.")
255
- }
256
-
257
- function i(r) {
258
- document.getElementById(r).style.display = "block";
259
- if (typeof (window["timer_" + r]) !== "undefined") {
260
- window.clearTimeout(window["timer_" + r])
261
- }
262
- window["timer_" + r] = null;
263
- delete window["timer_" + r]
264
- }
265
-
266
- function d(r) {
267
- window["timer_" + r] = window.setTimeout(function () {
268
- document.getElementById(r).style.display = "none"
269
- }, 1000)
270
- }
271
-
272
- function k(r, s) {
273
- if (!this.analyzeSkypeUri && typeof analyzeSkypeUri === "function") {
274
- this.analyzeSkypeUri = analyzeSkypeUri
275
- }
276
- if (typeof this.analyzeSkypeUri === "function") {
277
- this.analyzeSkypeUri(r, s)
278
- } else {
279
- var t = {};
280
- t.prop3 = "image size / color: " + this.imageSize + " / " + this.imageColor;
281
- t.prop4 = "video / list participants / list topic: " + this.video + " / " + this.listParticipants + " / " + this.listTopic;
282
- t.prop5 = "target(s): " + this.participants;
283
- t.prop6 = "user agent: " + navigator.userAgent;
284
- t.prop7 = "detected protocol: " + window.location.protocol;
285
- t.prop8 = "detected platform: " + this.detectedPlatform;
286
- t.prop9 = "detected browser: " + this.detectedBrowser;
287
- t.prop10 = this.version + " (pre script load)";
288
- if (r === "init") {
289
- if (this.name === this.chatLinks.name) {
290
- t.prop11 = "Chat Init"
291
- } else {
292
- if (this.name === this.callLinks.name) {
293
- t.prop11 = "Call Init"
294
- } else {
295
- if (this.name === this.dropdownLinks.name) {
296
- t.prop11 = "Dropdown Init"
297
- }
298
- }
299
- }
300
- t.prop12 = document.domain + " - Init"
301
- } else {
302
- if (r === "chat") {
303
- t.prop11 = "Chat Action";
304
- t.prop13 = document.domain + " - Chat"
305
- } else {
306
- if (r === "call") {
307
- t.prop11 = "Call Action";
308
- t.prop14 = document.domain + " - Call"
309
- } else {
310
- if (r === "dropdownChat") {
311
- t.prop11 = "Dropdown Chat Action";
312
- t.prop13 = document.domain + " - Chat"
313
- } else {
314
- if (r === "dropdownCall") {
315
- t.prop11 = "Dropdown Call Action";
316
- t.prop14 = document.domain + " - Call"
317
- } else {
318
- if (r === "redirect") {
319
- t.prop11 = "Redirect"
320
- }
321
- }
322
- }
323
- }
324
- }
325
- }
326
- this.analyzePreCrumbs.push(t)
327
- }
328
- }
329
-
330
- function p(s) {
331
- var r = document.getElementsByTagName("head")[0];
332
- var t = document.createElement("script");
333
- t.setAttribute("type", "text/javascript");
334
- t.setAttribute("src", s);
335
- r.appendChild(t)
336
- }
337
-
338
- function c(s, r) {
339
- this.size = s;
340
- this.verticalOffset = r
341
- }
342
-
343
- function g(s, r) {
344
- this.path = s;
345
- this.font = r
346
- }
347
-
348
- function m(r, s) {
349
- this.name = r;
350
- this.linkImage = s
351
- }
352
-
353
- function l(L) {
354
- this.name = null;
355
- if ((L.name !== undefined) && (L.name !== null)) {
356
- this.name = L.name
357
- }
358
- if ((L.element !== undefined) && (L.element !== null)) {
359
- this.element = L.element
360
- }
361
- if ((L.participants !== undefined) && (L.participants !== null)) {
362
- this.participants = L.participants
363
- }
364
- if ((L.listParticipants !== undefined) && (L.listParticipants !== null)) {
365
- this.listParticipants = L.listParticipants
366
- }
367
- if ((L.video !== undefined) && (L.video !== null)) {
368
- this.video = L.video
369
- }
370
- if ((L.topic !== undefined) && (L.topic !== null)) {
371
- this.topic = L.topic
372
- }
373
- if ((L.listTopic !== undefined) && (L.listTopic !== null)) {
374
- this.listTopic = L.listTopic
375
- }
376
- if ((L.imageSize !== undefined) && (L.imageSize !== null)) {
377
- this.imageSize = L.imageSize
378
- }
379
- if ((L.imageColor !== undefined) && (L.imageColor !== null)) {
380
- this.imageColor = L.imageColor
381
- }
382
- if ((L.useDetection !== undefined) && (L.useDetection !== null)) {
383
- this.useDetection = L.useDetection
384
- }
385
- if (this.useDetection === "false") {
386
- this.useDetection = false
387
- } else {
388
- if (this.useDetection === "true") {
389
- this.useDetection = true
390
- }
391
- } if ((L.protocol !== undefined) && (L.protocol !== null)) {
392
- this.protocol = L.protocol
393
- } else {
394
- this.protocol = "skype:"
395
- }
396
- var G = {};
397
- G.prop0 = this.name;
398
- G.prop3 = "image size / color: " + this.imageSize + " / " + this.imageColor;
399
- G.prop4 = "video / list participants / list topic: " + this.video + " / " + this.listParticipants + " / " + this.listTopic;
400
- G.prop5 = "target(s): " + this.participants;
401
- G.prop6 = "user agent: " + navigator.userAgent;
402
- G.prop7 = "detected protocol: " + window.location.protocol;
403
- G.prop8 = "detected platform: " + this.detectedPlatform;
404
- G.prop9 = "detected browser: " + this.detectedBrowser;
405
- G.prop10 = this.version;
406
- this.analyzeCrumbs.push(G);
407
- this.analyzeCrumbIndex += 1;
408
- var y;
409
- var P;
410
- y = this.trimString(L.element);
411
- if (y.length !== 0) {
412
- P = document.getElementById(y);
413
- if (P === null) {
414
- alert("Sorry! Could not find Skype URI parent element: " + y + " ('" + L.element + "')");
415
- return (false)
416
- } else {
417
- if (((L.name !== undefined) && (L.name !== null)) && ((L.participants === undefined) || (L.participants === null))) {
418
- alert("Error! Required member 'participants' omitted or specified as null");
419
- return (false)
420
- }
421
- }
422
- } else {
423
- alert("Error! Required member 'element' (Skype URI parent element) omitted or specified as null");
424
- return (false)
425
- }
426
- this.setImageAttributes(L.imageSize, this.trimString(L.imageColor));
427
- if ((L.protocol !== undefined) && (L.protocol !== null)) {
428
- this.protocol = L.protocol
429
- }
430
- var B = this.protocol;
431
- var C = "";
432
- var x = 0;
433
- var u = false;
434
- if ((L.participants !== undefined) && (L.participants !== null)) {
435
- while (x < L.participants.length) {
436
- if (L.participants[x] !== null) {
437
- y = this.trimString(L.participants[x]);
438
- if (y.length !== 0) {
439
- if (x !== 0) {
440
- B += ";";
441
- C += ", ";
442
- u = true
443
- }
444
- B += y;
445
- C += y
446
- }
447
- }
448
- x++
449
- }
450
- }
451
- var H = this.focusLinks.name;
452
- var w = this.focusLinks.linkImage;
453
- var M = this.focusLinks.linkImageAltTag;
454
- var F = this.focusLinks.role;
455
- var D = false;
456
- y = this.trimString(L.name);
457
- if (y.length !== 0) {
458
- H = y;
459
- if (H === this.callLinks.name) {
460
- D = true;
461
- w = this.callLinks.linkImage;
462
- M = this.callLinks.linkImageAltTag;
463
- F = this.callLinks.role
464
- } else {
465
- if (H === this.chatLinks.name) {
466
- if (u) {
467
- w = this.multiChatLinks.linkImage;
468
- M = this.multiChatLinks.linkImageAltTag;
469
- F = this.multiChatLinks.role
470
- } else {
471
- w = this.chatLinks.linkImage;
472
- M = this.chatLinks.linkImageAltTag;
473
- F = this.chatLinks.role
474
- }
475
- } else {
476
- if (H === this.dropdownLinks.name) {
477
- w = this.dropdownLinks.linkImage;
478
- M = this.dropdownLinks.linkImageAltTag;
479
- F = this.dropdownLinks.role
480
- } else {
481
- alert("Unrecognized Skype URI name: " + H + " ('" + L.name + "') -- " + this.callLinks.name + "/" + this.chatLinks.name);
482
- return (false)
483
- }
484
- }
485
- }
486
- B += "?" + H
487
- } else {
488
- if (C.length > 0) {
489
- w = this.callLinks.linkImage;
490
- M = this.callLinks.linkImageAltTag;
491
- F = this.callLinks.role
492
- }
493
- } if (D) {
494
- y = this.trimString(L.video);
495
- if (y === "true") {
496
- w = this.videoLinks.linkImage;
497
- M = this.videoLinks.linkImageAltTag;
498
- F = this.videoLinks.role;
499
- B += "&video=" + y
500
- }
501
- }
502
- var s = null;
503
- if ((u) && ((D) || (H === this.chatLinks.name))) {
504
- y = this.trimString(L.topic);
505
- if (y.length > 0) {
506
- s = y;
507
- B += "&topic=" + b(s)
508
- }
509
- }
510
- var N = document.createElement("a");
511
- var v = "";
512
- var A = "";
513
- if (!this.useDetection || (this.isWin8 && this.isIE10) || this.isIE7 || this.isIE6) {
514
- A = B
515
- } else {
516
- if ((this.isWinPhone8 && this.isIE10) || (this.isAndroid && this.isAndroidBrowser)) {
517
- A = "javascript://";
518
- v += " Skype.displayNotSupportedMsg();"
519
- }
520
- else if(this.isAndroid && this.isChrome)
521
- {
522
- v = "Skype.trySkypeUri_Android_Chrome('" + this.analyzeCrumbIndex + "');";
523
- A = B
524
- }
525
- else {
526
- y = "Skype.trySkypeUri_Generic";
527
- if (this.isIE10 || this.isIE9 || this.isIE8) {
528
- y = "Skype.trySkypeUri_IE9_IE8"
529
- } else {
530
- // Note: iOS8 handles Skype.trySkypeUri_Generic so no need to switch to Skype.trySkypeUri_IOS_Safari
531
- if ((this.isIOS7 || this.isIOS6 || this.isIOS5 || this.isIOS4) && this.isSafari) {
532
- y = "Skype.trySkypeUri_IOS_Safari"
533
- } else {
534
- if (this.isAndroid && this.isFF) {
535
- y = "Skype.trySkypeUri_Android_Firefox"
536
- }
537
- }
538
- } if (this.detectSkypeClientFrameId === null) {
539
- this.createDetectionFrame(this.P);
540
- }
541
- A = "javascript://";
542
- v += y + "('" + B + "', '" + this.detectSkypeClientFrameId + "', '" + this.analyzeCrumbIndex + "'); return false;"
543
- }
544
- }
545
- var z = document.createElement("img");
546
- z.setAttribute("src", w);
547
- z.setAttribute("alt", M);
548
- z.setAttribute("role", F);
549
- z.setAttribute("style", ("border:0; margin:" + this.assetMargin + "px; vertical-align:" + this.assetSizeMap[("size" + this.assetSize)].verticalOffset + "px;"));
550
- if (this.name === this.dropdownLinks.name) {
551
- z.setAttribute("onmouseover", "Skype.showDropdown('dropdown_" + this.element + "'); return false;");
552
- z.setAttribute("onmouseout", "Skype.hideDropdown('dropdown_" + this.element + "'); return false;");
553
- N.setAttribute("style", "cursor: text;");
554
- N.setAttribute("onfocus", "Skype.showDropdown('dropdown_" + this.element + "'); return false;");
555
- N.setAttribute("onblur", "Skype.hideDropdown('dropdown_" + this.element + "'); return false;");
556
- N.setAttribute("href", "javascript://");
557
- N.setAttribute("onclick", "return false;")
558
- } else {
559
- if (this.name === this.chatLinks.name) {
560
- v = "Skype.tryAnalyzeSkypeUri('chat', '" + this.analyzeCrumbIndex + "');" + v
561
- } else {
562
- v = "Skype.tryAnalyzeSkypeUri('call', '" + this.analyzeCrumbIndex + "');" + v
563
- }
564
- N.setAttribute("href", A);
565
- N.setAttribute("onclick", v)
566
- }
567
- N.appendChild(z);
568
- uriPara = document.createElement("p");
569
- uriPara.setAttribute("id", (L.element + "_paraElement"));
570
- uriPara.setAttribute("style", ("font-size:" + (this.assetSize - 2) + "px; color:" + this.assetColor.font));
571
- uriPara.appendChild(N);
572
- if (this.name === this.dropdownLinks.name) {
573
- var O = "-10";
574
- var J = "15";
575
- if (this.assetSize === "10") {
576
- J = "15"
577
- } else {
578
- if (this.assetSize === "12") {
579
- J = "15"
580
- } else {
581
- if (this.assetSize === "14") {
582
- J = "15"
583
- } else {
584
- if (this.assetSize === "16") {
585
- J = "15"
586
- } else {
587
- if (this.assetSize === "24") {
588
- O = "-20";
589
- J = "25"
590
- } else {
591
- if (this.assetSize === "32") {
592
- O = "-30";
593
- J = "30"
594
- }
595
- }
596
- }
597
- }
598
- }
599
- }
600
- var r = document.createElement("ul");
601
- r.id = "dropdown_" + this.element;
602
- r.setAttribute("style", "display: none; position: absolute; margin-top: " + O + "px; margin-left: " + J + "px; width: 200px; padding-left: 20px; padding-right: 20px; border: 2px solid #00AFF0; background-color: white; color: #00AFF0; line-height: 50px; list-style: none; list-style-type: none;");
603
- r.setAttribute("onmouseover", "Skype.showDropdown('dropdown_" + this.element + "'); return false;");
604
- r.setAttribute("onmouseout", "Skype.hideDropdown('dropdown_" + this.element + "'); return false;");
605
- var t = document.createElement("li");
606
- t.setAttribute("style", "list-style: none; list-style-type: none;");
607
- var Q = document.createElement("li");
608
- Q.setAttribute("style", "list-style: none; list-style-type: none;");
609
- var K = "";
610
- var I = document.createElement("a");
611
- I.href = "javascript://";
612
- I.setAttribute("style", "text-decoration: none; color: #00AFF0; font-size: 16px;");
613
- I.setAttribute("href", A);
614
- K = "Skype.tryAnalyzeSkypeUri('dropdownCall', '" + this.analyzeCrumbIndex + "');" + v;
615
- I.setAttribute("onclick", K.replace("?" + this.dropdownLinks.name, "?" + this.callLinks.name));
616
- I.setAttribute("onmouseover", "this.style.textDecoration = 'underline'");
617
- I.setAttribute("onmouseout", "this.style.textDecoration = 'none'");
618
- I.setAttribute("role", "Menu item");
619
- I.setAttribute("onfocus", "Skype.showDropdown('dropdown_" + this.element + "'); return false;");
620
- I.setAttribute("onblur", "Skype.hideDropdown('dropdown_" + this.element + "'); return false;");
621
- var E = document.createElement("a");
622
- E.href = "javascript://";
623
- E.setAttribute("style", "text-decoration: none; color: #00AFF0; font-size: 16px;");
624
- E.setAttribute("href", A);
625
- K = "Skype.tryAnalyzeSkypeUri('dropdownChat', '" + this.analyzeCrumbIndex + "');" + v;
626
- E.setAttribute("onclick", K.replace("?" + this.dropdownLinks.name, "?" + this.chatLinks.name));
627
- E.setAttribute("onmouseover", "this.style.textDecoration = 'underline'");
628
- E.setAttribute("onmouseout", "this.style.textDecoration = 'none'");
629
- I.setAttribute("role", "Menu item");
630
- E.setAttribute("onfocus", "Skype.showDropdown('dropdown_" + this.element + "'); return false;");
631
- E.setAttribute("onblur", "Skype.hideDropdown('dropdown_" + this.element + "'); return false;");
632
- I.innerHTML = "Call";
633
- t.appendChild(I);
634
- E.innerHTML = "Chat";
635
- Q.appendChild(E);
636
- r.appendChild(t);
637
- r.appendChild(Q);
638
- uriPara.appendChild(r)
639
- }
640
- y = null;
641
- if (C.length !== 0) {
642
- if (this.trimString(L.listParticipants) === "true") {
643
- y = " " + C
644
- }
645
- if ((s !== null) && (this.trimString(L.listTopic) === "true")) {
646
- if ((y === null) || (y.length === 0)) {
647
- y = " RE: " + s
648
- } else {
649
- y += ("; RE: " + s)
650
- }
651
- }
652
- if (y === null) {
653
- y = ""
654
- }
655
- uriPara.appendChild(document.createTextNode(y))
656
- }
657
- P.appendChild(uriPara);
658
- this.tryAnalyzeSkypeUri("init", this.analyzeCrumbIndex);
659
- return (true)
660
- }
661
-
662
- function j(u, r) {
663
- this.assetSize = this.assetSizeDefault;
664
- this.assetMargin = (this.assetSize >= this.assetMarginMinimum) ? this.assetSize : this.assetMarginMinimum;
665
- var t;
666
- var s = this.assetSizeArray.length;
667
- for (t = 0; t < s; t++) {
668
- if (u === this.assetSizeArray[t]) {
669
- this.assetSize = u;
670
- break
671
- }
672
- }
673
- this.assetMargin = (this.assetSize >= this.assetMarginMinimum) ? this.assetSize : this.assetMarginMinimum;
674
- this.assetColor.path = this.assetColorPathDefault;
675
- this.assetColor.font = this.assetColorFontDefault;
676
- if (r.length > 0) {
677
- if (r === "skype") {
678
- this.assetColor.path = this.assetColorPathSkype;
679
- this.assetColor.font = this.assetColorFontSkype
680
- } else {
681
- if (r === "white") {
682
- this.assetColor.path = this.assetColorPathWhite;
683
- this.assetColor.font = this.assetColorFontWhite
684
- }
685
- }
686
- }
687
- this.focusLinks.linkImage = this.assetPrefix + "Skypeicon" + this.assetColor.path + this.assetSize + "px.png";
688
- this.callLinks.linkImage = this.assetPrefix + "callbutton" + this.assetColor.path + this.assetSize + "px.png";
689
- this.videoLinks.linkImage = this.assetPrefix + "callbutton" + this.assetColor.path + this.assetSize + "px.png";
690
- this.chatLinks.linkImage = this.assetPrefix + "chatbutton" + this.assetColor.path + this.assetSize + "px.png";
691
- this.multiChatLinks.linkImage = this.assetPrefix + "chatbutton" + this.assetColor.path + this.assetSize + "px.png";
692
- this.dropdownLinks.linkImage = this.assetPrefix + "dropdowncallbutton" + this.assetColor.path + this.assetSize + "px.png";
693
- this.focusLinks.linkImageAltTag = "Open Skype";
694
- this.callLinks.linkImageAltTag = "Skype call";
695
- this.videoLinks.linkImageAltTag = "Skype call";
696
- this.chatLinks.linkImageAltTag = "Skype chat, instant message";
697
- this.multiChatLinks.linkImageAltTag = "Skype chat, instant message";
698
- this.dropdownLinks.linkImageAltTag = "Call options";
699
- this.focusLinks.role = "Button";
700
- this.callLinks.role = "Button";
701
- this.videoLinks.role = "Button";
702
- this.chatLinks.role = "Button";
703
- this.multiChatLinks.role = "Button";
704
- this.dropdownLinks.role = "Pop up menu"
705
- }
706
-
707
- function o(t) {
708
- if ((t === undefined) || (t === null)) {
709
- return ("")
710
- }
711
- var u = t.length;
712
- var s = u - 1;
713
- var r = false;
714
- while ((!r) && (u > 0)) {
715
- switch (t[s]) {
716
- case " ":
717
- case "\t":
718
- case "\n":
719
- case "\r":
720
- u--;
721
- break;
722
- default:
723
- r = true;
724
- break
725
- }
726
- s--
727
- }
728
- if (u > 0) {
729
- return (t.substr(0, u))
730
- }
731
- return ("")
732
- }
733
-
734
- function b(s) {
735
- if ((s === undefined) || (s === null)) {
736
- return ("")
737
- }
738
- var r = s.replace(/\s/g, "%20");
739
- r = r.replace(/:/g, "%3A");
740
- r = r.replace(/\x2F/g, "%2F");
741
- return (r.replace(/\x5C/g, "%5C"))
742
- }
743
-
744
- function h(r) {
745
- if(!r) {
746
- var divs = document.getElementsByTagName("div");
747
- for(var i = 0; i < divs.length; i++) {
748
- if(divs[i].id && divs[i].id.match("SkypeButton")) {
749
- r = divs[i];
750
- }
751
- }
752
- }
753
- var t = new Date();
754
- this.detectSkypeClientFrameId = "_detectSkypeClient_" + t.getTime().toString();
755
- var s = document.createElement("iframe");
756
- s.setAttribute("style", "display:none;");
757
- s.setAttribute("id", this.detectSkypeClientFrameId);
758
- r.appendChild(s);
759
- }
760
-
761
- function n(s, w, u) {
762
- var v = false;
763
- var r = window.open("", "_blank", "width=100, height=100");
764
- var t = r.document.createElement("iframe");
765
- t.setAttribute("src", s);
766
- r.document.body.appendChild(t);
767
- setTimeout(function () {
768
- try {
769
- r.location.href;
770
- v = true
771
- } catch (x) {}
772
- if (v) {
773
- r.setTimeout("window.close()", 10)
774
- } else {
775
- r.close();
776
- alert(Skype.installSkypeMsg);
777
- Skype.tryAnalyzeSkypeUri("redirect", u);
778
- window.location = Skype.SkypeClientDownloadUrl
779
- }
780
- }, 100)
781
- }
782
-
783
- function e(s, v, t) {
784
- var r = document.getElementById(v);
785
- var u = true;
786
- window.addEventListener("pagehide", function () {
787
- u = false
788
- }, false);
789
- if (r !== null) {
790
- r.src = s
791
- }
792
- setTimeout(function () {
793
- if (u) {
794
- alert(Skype.installSkypeMsg);
795
- Skype.tryAnalyzeSkypeUri("redirect", t);
796
- window.location = Skype.SkypeClientDownloadUrl
797
- }
798
- }, 2000)
799
- }
800
-
801
- function q(s, v, u) {
802
- var t = false;
803
- var r = document.getElementById(v);
804
- if (r !== null) {
805
- try {
806
- r.contentWindow.location.href = s;
807
- t = true
808
- } catch (w) {
809
- t = false
810
- }
811
- }
812
- setTimeout(function () {
813
- if (!t) {
814
- alert(Skype.installSkypeMsg);
815
- Skype.tryAnalyzeSkypeUri("redirect", u);
816
- window.location = Skype.SkypeClientDownloadUrl
817
- }
818
- }, 2000)
819
- }
820
-
821
- function a(s, v, t) {
822
- var u = true;
823
- window.onblur = function () {
824
- u = false;
825
- };
826
- var r = document.getElementById(v);
827
- if (r !== null) {
828
- r.src = s
829
- }
830
- setTimeout(function () {
831
- if (u) {
832
- alert(Skype.installSkypeMsg);
833
- Skype.tryAnalyzeSkypeUri("redirect", t);
834
- window.location = Skype.SkypeClientDownloadUrl
835
- }
836
- }, 2000)
837
- }
838
-
839
- function a_androidchrome(analyzeCrumbIndex) {
840
- var documentVisible = true;
841
- var vizchangecb;
842
-
843
- document.addEventListener("visibilitychange", vizchangecb = function () {
844
- documentVisible = !document.hidden;
845
- });
846
-
847
- setTimeout(function () {
848
-
849
- if (documentVisible) {
850
- alert(Skype.installSkypeMsg);
851
- Skype.tryAnalyzeSkypeUri("redirect", analyzeCrumbIndex);
852
- window.location = Skype.SkypeClientDownloadUrl
853
- }
854
-
855
- document.removeEventListener("visibilitychange", vizchangecb);
856
- }, 6000) // if Skype app is booting the Skype splash screen prevents the visibilitychange event firing
857
- // until it is done, so we allow for a longer timeout in case we have to wait for it
858
- }
859
- }();
860
-
861
- /*jshint +W003:true */
862
- /*jshint +W107:true */
863
- /*jshint +W057:true */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
embedded/plugin.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Define custom post types, custom taxonomies and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
- Version: 1.7
9
  */
10
  /**
11
  *
5
  Description: Define custom post types, custom taxonomies and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
+ Version: 1.7.1
9
  */
10
  /**
11
  *
includes/custom-types-form.php CHANGED
@@ -425,6 +425,7 @@ function wpcf_admin_custom_types_form()
425
  global $sitepress;
426
  if (
427
  $update && isset( $sitepress )
 
428
  && version_compare( ICL_SITEPRESS_VERSION, '2.6.2', '>=' )
429
  && function_exists( 'wpml_custom_post_translation_options' )
430
  ) {
425
  global $sitepress;
426
  if (
427
  $update && isset( $sitepress )
428
+ && defined('ICL_SITEPRESS_VERSION')
429
  && version_compare( ICL_SITEPRESS_VERSION, '2.6.2', '>=' )
430
  && function_exists( 'wpml_custom_post_translation_options' )
431
  ) {
includes/fields-form.php CHANGED
@@ -149,7 +149,10 @@ function wpcf_admin_save_fields_groups_submit( $form )
149
  }
150
  // WPML
151
  /** @var string $field_id */
152
- if ( version_compare ( ICL_SITEPRESS_VERSION, '3.2', '<' ) ) {
 
 
 
153
  if ( function_exists( 'wpml_cf_translation_preferences_store' ) ) {
154
  $real_custom_field_name = wpcf_types_get_meta_prefix( wpcf_admin_fields_get_field( $field_id ) ) . $field_id;
155
  wpml_cf_translation_preferences_store( $key, $real_custom_field_name );
149
  }
150
  // WPML
151
  /** @var string $field_id */
152
+ if (
153
+ defined('ICL_SITEPRESS_VERSION')
154
+ && version_compare ( ICL_SITEPRESS_VERSION, '3.2', '<' )
155
+ ) {
156
  if ( function_exists( 'wpml_cf_translation_preferences_store' ) ) {
157
  $real_custom_field_name = wpcf_types_get_meta_prefix( wpcf_admin_fields_get_field( $field_id ) ) . $field_id;
158
  wpml_cf_translation_preferences_store( $key, $real_custom_field_name );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: CMS, custom field, custom fields, custom post type, custom post types, fie
5
  License: GPLv2
6
  Requires at least: 3.4
7
  Tested up to: 4.2.2
8
- Stable tag: 1.7
9
 
10
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
11
 
@@ -155,8 +155,16 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
155
 
156
  == Changelog ==
157
 
 
 
 
 
 
 
 
158
  = 1.7 =
159
 
 
160
  * Added the word "mode" to the list of words reserved by WordPress. https://wp-types.com/forums/topic/when-types-is-activated-i-cant-filter-articles-by-category-in-the-wp-backend/
161
  * Added the feature that automatically creates a slug for the Custom Post Type and Custom Taxonomy.
162
  * Added bulk delete options to Custom Field Groups listing page.
@@ -176,6 +184,8 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
176
  * Fixed an issue where a wrong message was displayed when minimum number of characters has not been reached.
177
 
178
  = 1.6.6.6 =
 
 
179
  * Fixed problem with "playlist" word. https://wp-types.com/forums/topic/front-end-warning-from-wysiwyg-php/
180
 
181
  = 1.6.6.5 =
5
  License: GPLv2
6
  Requires at least: 3.4
7
  Tested up to: 4.2.2
8
+ Stable tag: 1.7.1
9
 
10
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
11
 
155
 
156
  == Changelog ==
157
 
158
+ = 1.7.1 =
159
+ * Release date: 2015-06-22
160
+
161
+ * Fixed a problem with constant ICL_SITEPRESS_VERSION https://wordpress.org/support/topic/types-17-notice-undefined-constant-icl_sitepress_version
162
+ * Field a problem with "file type" field on user profile screen. https://wordpress.org/support/topic/image-field-not-working-1
163
+
164
+
165
  = 1.7 =
166
 
167
+ * Release date: 2015-06-15
168
  * Added the word "mode" to the list of words reserved by WordPress. https://wp-types.com/forums/topic/when-types-is-activated-i-cant-filter-articles-by-category-in-the-wp-backend/
169
  * Added the feature that automatically creates a slug for the Custom Post Type and Custom Taxonomy.
170
  * Added bulk delete options to Custom Field Groups listing page.
184
  * Fixed an issue where a wrong message was displayed when minimum number of characters has not been reached.
185
 
186
  = 1.6.6.6 =
187
+
188
+ * Release date: 2015-06-10
189
  * Fixed problem with "playlist" word. https://wp-types.com/forums/topic/front-end-warning-from-wysiwyg-php/
190
 
191
  = 1.6.6.5 =
wpcf.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Define custom post types, custom taxonomies and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
- Version: 1.7
9
  */
10
  /**
11
  *
@@ -16,7 +16,7 @@ if ( !defined( 'WPCF_VERSION' ) ) {
16
  /**
17
  * make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
18
  */
19
- define( 'WPCF_VERSION', '1.7' );
20
  }
21
 
22
  define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );
5
  Description: Define custom post types, custom taxonomies and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
+ Version: 1.7.1
9
  */
10
  /**
11
  *
16
  /**
17
  * make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
18
  */
19
+ define( 'WPCF_VERSION', '1.7.1' );
20
  }
21
 
22
  define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );