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

Version Description

  • Fixed an issue where Types saves invalid values in user fields.
  • Added 'custom_css' and 'customize_changeset' to list of excluded post types.
  • Fixed fatal errors with Styling editor and PHP 7.1.
  • Fixed a glitch in Firefox a new blank tab was opened when clicking on Skip Feedback
Download this release

Release Info

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

Code changes from version 2.2.7 to 2.2.8

Files changed (24) hide show
  1. library/toolset/onthego-resources/onthegosystems-icons/.fontcustom-manifest.json +6 -10
  2. library/toolset/onthego-resources/onthegosystems-icons/css/_onthegosystems-icons.scss +6 -9
  3. library/toolset/onthego-resources/onthegosystems-icons/css/onthegosystems-icons.css +6 -8
  4. library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons-preview.html +7 -22
  5. library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot} +0 -0
  6. library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg} +10 -13
  7. library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.ttf → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf} +0 -0
  8. library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff +0 -0
  9. library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.woff +0 -0
  10. library/toolset/onthego-resources/onthegosystems-icons/vectors/toolset-export.svg +0 -45
  11. library/toolset/toolset-common/changelog.md +4 -0
  12. library/toolset/toolset-common/loader.php +1 -1
  13. library/toolset/toolset-common/toolset-common-loader.php +2 -2
  14. library/toolset/toolset-common/toolset-forms/classes/class.eforms.php +5 -1
  15. library/toolset/types/embedded/bootstrap.php +2 -0
  16. library/toolset/types/embedded/frontend.php +24 -8
  17. library/toolset/types/embedded/includes/fields/checkbox.php +5 -0
  18. library/toolset/types/embedded/includes/usermeta-post.php +4 -3
  19. library/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php +1 -1
  20. library/toolset/types/includes/classes/class.types.admin.edit.meta.fields.group.php +2 -2
  21. library/toolset/types/includes/fields-form.php +6 -6
  22. library/toolset/types/wpcf.php +3 -1
  23. readme.txt +8 -1
  24. wpcf.php +3 -3
library/toolset/onthego-resources/onthegosystems-icons/.fontcustom-manifest.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "checksum": {
3
- "previous": "c2bf5434fb5ba6db313a98fb4e1bf3479154a52d11ff65763e7707dfe4069a7b",
4
- "current": "c2bf5434fb5ba6db313a98fb4e1bf3479154a52d11ff65763e7707dfe4069a7b"
5
  },
6
  "fonts": [
7
- "fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.ttf",
8
- "fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg",
9
- "fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.woff",
10
- "fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot"
11
  ],
12
  "glyphs": {
13
  "access": {
@@ -118,10 +118,6 @@
118
  "codepoint": 61738,
119
  "source": "vectors/toolset.svg"
120
  },
121
- "toolset-export": {
122
- "codepoint": 61751,
123
- "source": "vectors/toolset-export.svg"
124
- },
125
  "toolset-genesis-logo": {
126
  "codepoint": 61736,
127
  "source": "vectors/toolset-genesis-logo.svg"
1
  {
2
  "checksum": {
3
+ "previous": "91cc76c6ec19609541b007a2169151af12744e59994efb1ea941131d51975f81",
4
+ "current": "91cc76c6ec19609541b007a2169151af12744e59994efb1ea941131d51975f81"
5
  },
6
  "fonts": [
7
+ "fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf",
8
+ "fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg",
9
+ "fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff",
10
+ "fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot"
11
  ],
12
  "glyphs": {
13
  "access": {
118
  "codepoint": 61738,
119
  "source": "vectors/toolset.svg"
120
  },
 
 
 
 
121
  "toolset-genesis-logo": {
122
  "codepoint": 61736,
123
  "source": "vectors/toolset-genesis-logo.svg"
library/toolset/onthego-resources/onthegosystems-icons/css/_onthegosystems-icons.scss CHANGED
@@ -4,11 +4,11 @@
4
 
5
  @font-face {
6
  font-family: "onthegosystems-icons";
7
- src: url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot");
8
- src: url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot?#iefix") format("embedded-opentype"),
9
- url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.woff") format("woff"),
10
- url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.ttf") format("truetype"),
11
- url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg#onthegosystems-icons") format("svg");
12
  font-weight: normal;
13
  font-style: normal;
14
  }
@@ -16,7 +16,7 @@
16
  @media screen and (-webkit-min-device-pixel-ratio:0) {
17
  @font-face {
18
  font-family: "onthegosystems-icons";
19
- src: url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg#onthegosystems-icons") format("svg");
20
  }
21
  }
22
 
@@ -50,7 +50,6 @@
50
  .icon-packager-logo:before,
51
  .icon-panels:before,
52
  .icon-toolset:before,
53
- .icon-toolset-export:before,
54
  .icon-toolset-genesis-logo:before,
55
  .icon-toolset-logo:before,
56
  .icon-toolset-map:before,
@@ -102,7 +101,6 @@
102
  .icon-packager-logo:before { content: "\f121"; }
103
  .icon-panels:before { content: "\f133"; }
104
  .icon-toolset:before { content: "\f12a"; }
105
- .icon-toolset-export:before { content: "\f137"; }
106
  .icon-toolset-genesis-logo:before { content: "\f128"; }
107
  .icon-toolset-logo:before { content: "\f11a"; }
108
  .icon-toolset-map:before { content: "\f125"; }
@@ -141,7 +139,6 @@ $font-onthegosystems-icons-packager: "\f120";
141
  $font-onthegosystems-icons-packager-logo: "\f121";
142
  $font-onthegosystems-icons-panels: "\f133";
143
  $font-onthegosystems-icons-toolset: "\f12a";
144
- $font-onthegosystems-icons-toolset-export: "\f137";
145
  $font-onthegosystems-icons-toolset-genesis-logo: "\f128";
146
  $font-onthegosystems-icons-toolset-logo: "\f11a";
147
  $font-onthegosystems-icons-toolset-map: "\f125";
4
 
5
  @font-face {
6
  font-family: "onthegosystems-icons";
7
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot");
8
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot?#iefix") format("embedded-opentype"),
9
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff") format("woff"),
10
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf") format("truetype"),
11
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
12
  font-weight: normal;
13
  font-style: normal;
14
  }
16
  @media screen and (-webkit-min-device-pixel-ratio:0) {
17
  @font-face {
18
  font-family: "onthegosystems-icons";
19
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
20
  }
21
  }
22
 
50
  .icon-packager-logo:before,
51
  .icon-panels:before,
52
  .icon-toolset:before,
 
53
  .icon-toolset-genesis-logo:before,
54
  .icon-toolset-logo:before,
55
  .icon-toolset-map:before,
101
  .icon-packager-logo:before { content: "\f121"; }
102
  .icon-panels:before { content: "\f133"; }
103
  .icon-toolset:before { content: "\f12a"; }
 
104
  .icon-toolset-genesis-logo:before { content: "\f128"; }
105
  .icon-toolset-logo:before { content: "\f11a"; }
106
  .icon-toolset-map:before { content: "\f125"; }
139
  $font-onthegosystems-icons-packager-logo: "\f121";
140
  $font-onthegosystems-icons-panels: "\f133";
141
  $font-onthegosystems-icons-toolset: "\f12a";
 
142
  $font-onthegosystems-icons-toolset-genesis-logo: "\f128";
143
  $font-onthegosystems-icons-toolset-logo: "\f11a";
144
  $font-onthegosystems-icons-toolset-map: "\f125";
library/toolset/onthego-resources/onthegosystems-icons/css/onthegosystems-icons.css CHANGED
@@ -4,11 +4,11 @@
4
 
5
  @font-face {
6
  font-family: "onthegosystems-icons";
7
- src: url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot");
8
- src: url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot?#iefix") format("embedded-opentype"),
9
- url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.woff") format("woff"),
10
- url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.ttf") format("truetype"),
11
- url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg#onthegosystems-icons") format("svg");
12
  font-weight: normal;
13
  font-style: normal;
14
  }
@@ -16,7 +16,7 @@
16
  @media screen and (-webkit-min-device-pixel-ratio:0) {
17
  @font-face {
18
  font-family: "onthegosystems-icons";
19
- src: url("../fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg#onthegosystems-icons") format("svg");
20
  }
21
  }
22
 
@@ -50,7 +50,6 @@
50
  .icon-packager-logo:before,
51
  .icon-panels:before,
52
  .icon-toolset:before,
53
- .icon-toolset-export:before,
54
  .icon-toolset-genesis-logo:before,
55
  .icon-toolset-logo:before,
56
  .icon-toolset-map:before,
@@ -102,7 +101,6 @@
102
  .icon-packager-logo:before { content: "\f121"; }
103
  .icon-panels:before { content: "\f133"; }
104
  .icon-toolset:before { content: "\f12a"; }
105
- .icon-toolset-export:before { content: "\f137"; }
106
  .icon-toolset-genesis-logo:before { content: "\f128"; }
107
  .icon-toolset-logo:before { content: "\f11a"; }
108
  .icon-toolset-map:before { content: "\f125"; }
4
 
5
  @font-face {
6
  font-family: "onthegosystems-icons";
7
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot");
8
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot?#iefix") format("embedded-opentype"),
9
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff") format("woff"),
10
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf") format("truetype"),
11
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
12
  font-weight: normal;
13
  font-style: normal;
14
  }
16
  @media screen and (-webkit-min-device-pixel-ratio:0) {
17
  @font-face {
18
  font-family: "onthegosystems-icons";
19
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
20
  }
21
  }
22
 
50
  .icon-packager-logo:before,
51
  .icon-panels:before,
52
  .icon-toolset:before,
 
53
  .icon-toolset-genesis-logo:before,
54
  .icon-toolset-logo:before,
55
  .icon-toolset-map:before,
101
  .icon-packager-logo:before { content: "\f121"; }
102
  .icon-panels:before { content: "\f133"; }
103
  .icon-toolset:before { content: "\f12a"; }
 
104
  .icon-toolset-genesis-logo:before { content: "\f128"; }
105
  .icon-toolset-logo:before { content: "\f11a"; }
106
  .icon-toolset-map:before { content: "\f125"; }
library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons-preview.html CHANGED
@@ -141,11 +141,11 @@
141
 
142
  @font-face {
143
  font-family: "onthegosystems-icons";
144
- src: url("./onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot");
145
- src: url("./onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot?#iefix") format("embedded-opentype"),
146
- url("./onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.woff") format("woff"),
147
- url("./onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.ttf") format("truetype"),
148
- url("./onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg#onthegosystems-icons") format("svg");
149
  font-weight: normal;
150
  font-style: normal;
151
  }
@@ -153,7 +153,7 @@
153
  @media screen and (-webkit-min-device-pixel-ratio:0) {
154
  @font-face {
155
  font-family: "onthegosystems-icons";
156
- src: url("./onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg#onthegosystems-icons") format("svg");
157
  }
158
  }
159
 
@@ -187,7 +187,6 @@
187
  .icon-packager-logo:before,
188
  .icon-panels:before,
189
  .icon-toolset:before,
190
- .icon-toolset-export:before,
191
  .icon-toolset-genesis-logo:before,
192
  .icon-toolset-logo:before,
193
  .icon-toolset-map:before,
@@ -239,7 +238,6 @@
239
  .icon-packager-logo:before { content: "\f121"; }
240
  .icon-panels:before { content: "\f133"; }
241
  .icon-toolset:before { content: "\f12a"; }
242
- .icon-toolset-export:before { content: "\f137"; }
243
  .icon-toolset-genesis-logo:before { content: "\f128"; }
244
  .icon-toolset-logo:before { content: "\f11a"; }
245
  .icon-toolset-map:before { content: "\f125"; }
@@ -265,7 +263,7 @@
265
  <body class="characters-off">
266
  <div id="page" class="container">
267
  <header>
268
- <h1>onthegosystems-icons contains 38 glyphs:</h1>
269
  <a onclick="toggleCharacters(); return false;" href="#">Toggle Preview Characters</a>
270
  </header>
271
 
@@ -621,19 +619,6 @@
621
  </div>
622
  </div>
623
 
624
- <div class="glyph">
625
- <div class="preview-glyphs">
626
- <span class="step size-12"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-toolset-export" class="icon-toolset-export"></i></span>
627
- </div>
628
- <div class="preview-scale">
629
- <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
630
- </div>
631
- <div class="usage">
632
- <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-toolset-export" />
633
- <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf137;" />
634
- </div>
635
- </div>
636
-
637
  <div class="glyph">
638
  <div class="preview-glyphs">
639
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span>
141
 
142
  @font-face {
143
  font-family: "onthegosystems-icons";
144
+ src: url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot");
145
+ src: url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot?#iefix") format("embedded-opentype"),
146
+ url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff") format("woff"),
147
+ url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf") format("truetype"),
148
+ url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
149
  font-weight: normal;
150
  font-style: normal;
151
  }
153
  @media screen and (-webkit-min-device-pixel-ratio:0) {
154
  @font-face {
155
  font-family: "onthegosystems-icons";
156
+ src: url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
157
  }
158
  }
159
 
187
  .icon-packager-logo:before,
188
  .icon-panels:before,
189
  .icon-toolset:before,
 
190
  .icon-toolset-genesis-logo:before,
191
  .icon-toolset-logo:before,
192
  .icon-toolset-map:before,
238
  .icon-packager-logo:before { content: "\f121"; }
239
  .icon-panels:before { content: "\f133"; }
240
  .icon-toolset:before { content: "\f12a"; }
 
241
  .icon-toolset-genesis-logo:before { content: "\f128"; }
242
  .icon-toolset-logo:before { content: "\f11a"; }
243
  .icon-toolset-map:before { content: "\f125"; }
263
  <body class="characters-off">
264
  <div id="page" class="container">
265
  <header>
266
+ <h1>onthegosystems-icons contains 37 glyphs:</h1>
267
  <a onclick="toggleCharacters(); return false;" href="#">Toggle Preview Characters</a>
268
  </header>
269
 
619
  </div>
620
  </div>
621
 
 
 
 
 
 
 
 
 
 
 
 
 
 
622
  <div class="glyph">
623
  <div class="preview-glyphs">
624
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-toolset-genesis-logo" class="icon-toolset-genesis-logo"></i></span>
library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.eot → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot} RENAMED
Binary file
library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.svg → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg} RENAMED
@@ -1,13 +1,13 @@
1
  <?xml version="1.0" standalone="no"?>
2
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
  <!--
4
- 2017-1-23: Created with FontForge (http://fontforge.org)
5
  -->
6
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
7
  <metadata>
8
- Created by FontForge 20150302 at Mon Jan 23 11:13:46 2017
9
  By Riccardo Strobbia
10
- Copyright (c) 2017, Riccardo Strobbia
11
  </metadata>
12
  <defs>
13
  <font id="onthegosystems-icons" horiz-adv-x="512" >
@@ -19,10 +19,10 @@ Copyright (c) 2017, Riccardo Strobbia
19
  panose-1="2 0 5 3 0 0 0 0 0 0"
20
  ascent="448"
21
  descent="-64"
22
- bbox="0 -64 2082.65 448"
23
  underline-thickness="25.6"
24
  underline-position="-51.2"
25
- unicode-range="U+0020-F137"
26
  />
27
  <missing-glyph />
28
  <glyph glyph-name="space" unicode=" " horiz-adv-x="200"
@@ -65,11 +65,6 @@ c2.45801 -6.91113 5.85645 -12.748 10.1953 -17.5098c4.33984 -4.76172 9.48535 -8.3
65
  <glyph glyph-name="uniF130" unicode="&#xf130;"
66
  d="M204.961 -49.2695v102.285h421.251v-102.285h-421.251zM204.961 330.962v102.331h421.251v-102.331h-421.251zM204.961 140.846v102.331h421.251v-102.331h-421.251zM18.5225 -49.2695v102.285h133.262v-102.285h-133.262zM18.5225 330.962v102.331h133.262v-102.331
67
  h-133.262zM18.5225 140.846v102.331h133.262v-102.331h-133.262z" />
68
- <glyph glyph-name="uniF125" unicode="&#xf125;"
69
- d="M270.061 278.381c47.4307 0 85.7793 -38.4131 85.7793 -85.7471c0 -62.7969 -72.333 -135.693 -75.4814 -138.938c-2.5791 -2.5791 -6.49609 -4.49316 -10.2979 -4.49316c-3.82715 0 -7.01367 1.34375 -10.2139 4.49316
70
- c-3.19434 3.23828 -75.5264 76.1406 -75.5264 138.938c0 47.3281 38.4062 85.7471 85.7402 85.7471zM420.448 16.5762c-1.90137 -3.16211 -5.05664 -4.49316 -8.9668 -4.49316h-279.642c-3.2002 0 -7.02051 1.90723 -8.97266 4.49316
71
- c-1.90723 3.23828 -2.53418 6.38672 -0.614258 9.63184l33.3057 79.2959c1.90039 3.92285 5.10742 6.49609 9.58105 6.49609h31.9863v-21.1777h-24.9658l-24.96 -58.2275h248.346l-25.0049 58.2275h-28.1406v21.1777h34.5469c4.47363 0 7.73145 -2.56641 9.63184 -6.49609
72
- l33.3125 -79.2959c3.14844 -3.24512 2.47656 -7.05273 0.556641 -9.63184zM233.6 195.2c0 -20.7656 16.835 -37.6006 37.6006 -37.6006s37.5996 16.835 37.5996 37.6006s-16.834 37.5996 -37.5996 37.5996s-37.6006 -16.834 -37.6006 -37.5996z" />
73
  <glyph glyph-name="uniF135" unicode="&#xf135;"
74
  d="M672.731 -44.9854v476.32h476.538v-476.32h-476.538zM60.1328 -44.9854v476.32h476.451v-476.32h-476.451zM1308.57 -44.9854v476.32h476.581v-476.32h-476.581zM264.289 263.99h-0.783203l-50.2998 -24.0186l-10.3555 46.4268l70.4014 32.5469h50.8652v-264.551
75
  h-59.8281v209.596zM826.414 54.3945v37.4199l33.7646 30.458c58.1758 52.2139 86.2842 81.8018 86.6758 112.738c0.0332031 0.585938 0.0595703 1.53613 0.0595703 2.12207c0 20.584 -16.7051 37.2891 -37.2891 37.2891c-1.63574 0 -4.27539 -0.208984 -5.89062 -0.467773
@@ -391,9 +386,11 @@ d="M69.9062 -52.7617l-58.0127 58.0127l315.346 315.347l58.0137 -58.0127zM440.184
391
  c-12.873 12.873 2.03027 18.8018 14.8857 31.6562c12.8545 12.8555 18.7832 27.7773 31.6562 14.9043zM512.218 379.737l18.4023 -24.6943l-30.7861 0.43457l-17.7686 -25.1113l-9.11914 29.3359l-29.3184 9.12012l25.0752 17.7861l-0.398438 30.75l24.6943 -18.4023
392
  l29.0635 9.88086zM327.826 405.41l15.3203 -20.5244l-25.6191 0.327148l-14.8125 -20.9238l-7.5791 24.4775l-24.4766 7.57812l20.9229 14.8135l-0.326172 25.6191l20.5244 -15.3213l24.2588 8.23145zM476.463 268.322l9.33789 -12.5283l-15.6289 0.235352
393
  l-8.95703 -12.6914l-4.58691 14.8311l-14.8672 4.62305l12.71 8.93848l-0.236328 15.6289l12.5293 -9.33691l14.7041 5.00391z" />
394
- <glyph glyph-name="uniF137" unicode="&#xf137;"
395
- d="M340.283 362.665h85.0703v-426.665h-425.354v426.665h85.0703v85.335h85.0713v-85.335h85.0703v85.335h85.0713v-85.335zM65.9414 104.803l65.2051 -65.4062v49.0303h114.185v32.752h-114.185v49.0293zM294.207 206.789h-114.081v-32.752h114.081v-49.0303
396
- l65.2051 65.4062l-65.2051 65.4053v-49.0293zM294.207 219.341z" />
 
 
397
  <glyph glyph-name="uniF12C" unicode="&#xf12c;"
398
  d="M20.8887 280.548v149.814h564.48v-149.814h-564.48zM20.8887 114.135v88.8184h564.48v-88.8184h-564.48zM20.8887 -46.3623v88.8184h564.48v-88.8184h-564.48z" />
399
  <glyph glyph-name="uniF12A" unicode="&#xf12a;"
1
  <?xml version="1.0" standalone="no"?>
2
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
  <!--
4
+ 2016-8-2: Created with FontForge (http://fontforge.org)
5
  -->
6
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
7
  <metadata>
8
+ Created by FontForge 20150302 at Tue Aug 2 15:43:41 2016
9
  By Riccardo Strobbia
10
+ Copyright (c) 2016, Riccardo Strobbia
11
  </metadata>
12
  <defs>
13
  <font id="onthegosystems-icons" horiz-adv-x="512" >
19
  panose-1="2 0 5 3 0 0 0 0 0 0"
20
  ascent="448"
21
  descent="-64"
22
+ bbox="11.8936 -52.7617 2082.65 436.777"
23
  underline-thickness="25.6"
24
  underline-position="-51.2"
25
+ unicode-range="U+0020-F136"
26
  />
27
  <missing-glyph />
28
  <glyph glyph-name="space" unicode=" " horiz-adv-x="200"
65
  <glyph glyph-name="uniF130" unicode="&#xf130;"
66
  d="M204.961 -49.2695v102.285h421.251v-102.285h-421.251zM204.961 330.962v102.331h421.251v-102.331h-421.251zM204.961 140.846v102.331h421.251v-102.331h-421.251zM18.5225 -49.2695v102.285h133.262v-102.285h-133.262zM18.5225 330.962v102.331h133.262v-102.331
67
  h-133.262zM18.5225 140.846v102.331h133.262v-102.331h-133.262z" />
 
 
 
 
 
68
  <glyph glyph-name="uniF135" unicode="&#xf135;"
69
  d="M672.731 -44.9854v476.32h476.538v-476.32h-476.538zM60.1328 -44.9854v476.32h476.451v-476.32h-476.451zM1308.57 -44.9854v476.32h476.581v-476.32h-476.581zM264.289 263.99h-0.783203l-50.2998 -24.0186l-10.3555 46.4268l70.4014 32.5469h50.8652v-264.551
70
  h-59.8281v209.596zM826.414 54.3945v37.4199l33.7646 30.458c58.1758 52.2139 86.2842 81.8018 86.6758 112.738c0.0332031 0.585938 0.0595703 1.53613 0.0595703 2.12207c0 20.584 -16.7051 37.2891 -37.2891 37.2891c-1.63574 0 -4.27539 -0.208984 -5.89062 -0.467773
386
  c-12.873 12.873 2.03027 18.8018 14.8857 31.6562c12.8545 12.8555 18.7832 27.7773 31.6562 14.9043zM512.218 379.737l18.4023 -24.6943l-30.7861 0.43457l-17.7686 -25.1113l-9.11914 29.3359l-29.3184 9.12012l25.0752 17.7861l-0.398438 30.75l24.6943 -18.4023
387
  l29.0635 9.88086zM327.826 405.41l15.3203 -20.5244l-25.6191 0.327148l-14.8125 -20.9238l-7.5791 24.4775l-24.4766 7.57812l20.9229 14.8135l-0.326172 25.6191l20.5244 -15.3213l24.2588 8.23145zM476.463 268.322l9.33789 -12.5283l-15.6289 0.235352
388
  l-8.95703 -12.6914l-4.58691 14.8311l-14.8672 4.62305l12.71 8.93848l-0.236328 15.6289l12.5293 -9.33691l14.7041 5.00391z" />
389
+ <glyph glyph-name="uniF125" unicode="&#xf125;"
390
+ d="M270.061 278.381c47.4307 0 85.7793 -38.4131 85.7793 -85.7471c0 -62.7969 -72.333 -135.693 -75.4814 -138.938c-2.5791 -2.5791 -6.49609 -4.49316 -10.2979 -4.49316c-3.82715 0 -7.01367 1.34375 -10.2139 4.49316
391
+ c-3.19434 3.23828 -75.5264 76.1406 -75.5264 138.938c0 47.3281 38.4062 85.7471 85.7402 85.7471zM420.448 16.5762c-1.90137 -3.16211 -5.05664 -4.49316 -8.9668 -4.49316h-279.642c-3.2002 0 -7.02051 1.90723 -8.97266 4.49316
392
+ c-1.90723 3.23828 -2.53418 6.38672 -0.614258 9.63184l33.3057 79.2959c1.90039 3.92285 5.10742 6.49609 9.58105 6.49609h31.9863v-21.1777h-24.9658l-24.96 -58.2275h248.346l-25.0049 58.2275h-28.1406v21.1777h34.5469c4.47363 0 7.73145 -2.56641 9.63184 -6.49609
393
+ l33.3125 -79.2959c3.14844 -3.24512 2.47656 -7.05273 0.556641 -9.63184zM233.6 195.2c0 -20.7656 16.835 -37.6006 37.6006 -37.6006s37.5996 16.835 37.5996 37.6006s-16.834 37.5996 -37.5996 37.5996s-37.6006 -16.834 -37.6006 -37.5996z" />
394
  <glyph glyph-name="uniF12C" unicode="&#xf12c;"
395
  d="M20.8887 280.548v149.814h564.48v-149.814h-564.48zM20.8887 114.135v88.8184h564.48v-88.8184h-564.48zM20.8887 -46.3623v88.8184h564.48v-88.8184h-564.48z" />
396
  <glyph glyph-name="uniF12A" unicode="&#xf12a;"
library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.ttf → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf} RENAMED
Binary file
library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff ADDED
Binary file
library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons_c2bf5434fb5ba6db313a98fb4e1bf347.woff DELETED
Binary file
library/toolset/onthego-resources/onthegosystems-icons/vectors/toolset-export.svg DELETED
@@ -1,45 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
4
- x="0px" y="0px" viewBox="0 0 108 130" xml:space="preserve">
5
- <g>
6
- <g>
7
- <polygon fill="#F05A29" points="86.4,21.667 86.4,0 64.8,0 64.8,21.667 43.2,21.667 43.2,0 21.6,0 21.6,21.667 0,21.667 0,130
8
- 108,130 108,21.667 "/>
9
- </g>
10
- <g>
11
- <path fill="#FFFFFF" d="M16.743,87.14l16.556,16.607V91.298h28.992v-8.316H33.299V70.533L16.743,87.14z M74.701,61.245H45.735
12
- v8.316h28.966V82.01l16.556-16.607L74.701,48.796V61.245z M74.701,58.058"/>
13
- </g>
14
- </g>
15
- <g>
16
- </g>
17
- <g>
18
- </g>
19
- <g>
20
- </g>
21
- <g>
22
- </g>
23
- <g>
24
- </g>
25
- <g>
26
- </g>
27
- <g>
28
- </g>
29
- <g>
30
- </g>
31
- <g>
32
- </g>
33
- <g>
34
- </g>
35
- <g>
36
- </g>
37
- <g>
38
- </g>
39
- <g>
40
- </g>
41
- <g>
42
- </g>
43
- <g>
44
- </g>
45
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
library/toolset/toolset-common/changelog.md CHANGED
@@ -7,6 +7,10 @@
7
  - Include the user editors in the common bootstrap class.
8
  - Include knockout.js (toolsetcommon-127)
9
 
 
 
 
 
10
  ## 2.2.9
11
 
12
  - Fix a validation issue for file, audio, video and embed fields affecting Types.
7
  - Include the user editors in the common bootstrap class.
8
  - Include knockout.js (toolsetcommon-127)
9
 
10
+ ## 2.2.10
11
+
12
+ - types-1045: Do not assume field value type in Enlimbo_Form::textfield().
13
+
14
  ## 2.2.9
15
 
16
  - Fix a validation issue for file, audio, video and embed fields affecting Types.
library/toolset/toolset-common/loader.php CHANGED
@@ -30,7 +30,7 @@
30
  * Now that we have a unique version for all plugins
31
  * we define the version here
32
  */
33
- $toolset_common_version = 229000;
34
 
35
 
36
  // ----------------------------------------------------------------------//
30
  * Now that we have a unique version for all plugins
31
  * we define the version here
32
  */
33
+ $toolset_common_version = 229100;
34
 
35
 
36
  // ----------------------------------------------------------------------//
library/toolset/toolset-common/toolset-common-loader.php CHANGED
@@ -5,11 +5,11 @@ if ( class_exists( 'Toolset_Common_Bootstrap' ) ) {
5
  };
6
 
7
  if( !defined('TOOLSET_VERSION') ){
8
- define('TOOLSET_VERSION', '2.2.9');
9
  }
10
 
11
  if ( ! defined('TOOLSET_COMMON_VERSION' ) ) {
12
- define( 'TOOLSET_COMMON_VERSION', '2.2.9' );
13
  }
14
 
15
  if ( ! defined('TOOLSET_COMMON_PATH' ) ) {
5
  };
6
 
7
  if( !defined('TOOLSET_VERSION') ){
8
+ define('TOOLSET_VERSION', '2.2.10');
9
  }
10
 
11
  if ( ! defined('TOOLSET_COMMON_VERSION' ) ) {
12
+ define( 'TOOLSET_COMMON_VERSION', '2.2.10' );
13
  }
14
 
15
  if ( ! defined('TOOLSET_COMMON_PATH' ) ) {
library/toolset/toolset-common/toolset-forms/classes/class.eforms.php CHANGED
@@ -982,7 +982,11 @@ class Enlimbo_Forms {
982
  //$element['_render']['element'] .= sprintf( ' data-wpt-type="%s" ', __FUNCTION__ );
983
  $element['_render']['element'] .= sprintf(' id="%s"', $element['#id']);
984
  $element['_render']['element'] .= sprintf(' name="%s"', $element['#name']);
985
- $element['_render']['element'] .= sprintf(' value="%s"', isset($element['#value']) ? esc_attr($element['#value']) : '' );
 
 
 
 
986
  $element['_render']['element'] .= $element['_attributes_string'];
987
  if (isset($element['#disable']) && $element['#disable']) {
988
  $element['_render']['element'] .= ' disabled="disabled"';
982
  //$element['_render']['element'] .= sprintf( ' data-wpt-type="%s" ', __FUNCTION__ );
983
  $element['_render']['element'] .= sprintf(' id="%s"', $element['#id']);
984
  $element['_render']['element'] .= sprintf(' name="%s"', $element['#name']);
985
+
986
+ $value = toolset_getarr( $element, '#value' );
987
+ $value = ( is_string( $value ) ? esc_attr( $value ) : '' );
988
+ $element['_render']['element'] .= sprintf(' value="%s"', $value );
989
+
990
  $element['_render']['element'] .= $element['_attributes_string'];
991
  if (isset($element['#disable']) && $element['#disable']) {
992
  $element['_render']['element'] .= ' disabled="disabled"';
library/toolset/types/embedded/bootstrap.php CHANGED
@@ -332,6 +332,8 @@ function wpcf_embedded_init() {
332
  $wpcf->excluded_post_types = array(
333
  'cred-form',
334
  'cred-user-form',
 
 
335
  'dd_layouts',
336
  'deprecated_log',
337
  'mediapage',
332
  $wpcf->excluded_post_types = array(
333
  'cred-form',
334
  'cred-user-form',
335
+ 'custom_css',
336
+ 'customize_changeset',
337
  'dd_layouts',
338
  'deprecated_log',
339
  'mediapage',
library/toolset/types/embedded/frontend.php CHANGED
@@ -585,14 +585,19 @@ function types_render_field_single( $field, $params, $content = null, $code = ''
585
  $output = $params['field_value'];
586
  }
587
  } else {
588
- /*
589
- * This is place where view function is called.
590
- * Returned data should be string.
591
- */
592
  $output = '';
593
  $_view_func = 'wpcf_fields_' . strtolower( $field['type'] ) . '_view';
594
  if ( is_callable( $_view_func ) ) {
595
- $output = strval( call_user_func( $_view_func, $params ) );
 
 
 
 
 
 
 
596
  }
597
 
598
  if ( Toolset_Utils::is_field_value_truly_empty( $output ) && isset( $params['field_value'] )
@@ -614,9 +619,20 @@ function types_render_field_single( $field, $params, $content = null, $code = ''
614
  }
615
 
616
  // Apply filters
617
- $output = strval( apply_filters( 'types_view', $output,
618
- $params['field_value'], $field['type'], $field['slug'],
619
- $field['name'], $params ) );
 
 
 
 
 
 
 
 
 
 
 
620
 
621
  return stripslashes( strval( $output ) );
622
 
585
  $output = $params['field_value'];
586
  }
587
  } else {
588
+ // This is place where view function is called.
589
+ // Returned data should be string.
 
 
590
  $output = '';
591
  $_view_func = 'wpcf_fields_' . strtolower( $field['type'] ) . '_view';
592
  if ( is_callable( $_view_func ) ) {
593
+ $output = call_user_func( $_view_func, $params );
594
+
595
+ if( is_array( $output ) ) {
596
+ // Something went wrong.
597
+ $output = '';
598
+ }
599
+
600
+ $output = strval( $output );
601
  }
602
 
603
  if ( Toolset_Utils::is_field_value_truly_empty( $output ) && isset( $params['field_value'] )
619
  }
620
 
621
  // Apply filters
622
+ $output = apply_filters(
623
+ 'types_view',
624
+ $output,
625
+ $params['field_value'],
626
+ $field['type'],
627
+ $field['slug'],
628
+ $field['name'],
629
+ $params
630
+ );
631
+
632
+ if( is_array( $output ) ) {
633
+ // Something went wrong.
634
+ $output = '';
635
+ }
636
 
637
  return stripslashes( strval( $output ) );
638
 
library/toolset/types/embedded/includes/fields/checkbox.php CHANGED
@@ -431,6 +431,7 @@ function wpcf_fields_checkbox_update_one($post_id, $slug, $array_to_check) {
431
  * WPCF_Field::save().
432
  *
433
  * It (finally) respects the "save_empty" field option properly.
 
434
  *
435
  * @param array $field_definition_array Checkboxes field definition array, basic keys are assumed.
436
  * @param string $meta_type 'post'|'user'|'term'
@@ -445,6 +446,10 @@ function wpcf_update_checkboxes_field( $field_definition_array, $meta_type, $obj
445
  return;
446
  }
447
 
 
 
 
 
448
  // We'll save an empty array if there's nothing else to save (done for historical reasons).
449
  $meta_value = array();
450
 
431
  * WPCF_Field::save().
432
  *
433
  * It (finally) respects the "save_empty" field option properly.
434
+ * If a non-checkboxes field is passed, nothing happens.
435
  *
436
  * @param array $field_definition_array Checkboxes field definition array, basic keys are assumed.
437
  * @param string $meta_type 'post'|'user'|'term'
446
  return;
447
  }
448
 
449
+ if( 'checkboxes' != wpcf_getarr( $field_definition_array, 'type' ) ) {
450
+ return;
451
+ }
452
+
453
  // We'll save an empty array if there's nothing else to save (done for historical reasons).
454
  $meta_value = array();
455
 
library/toolset/types/embedded/includes/usermeta-post.php CHANGED
@@ -367,8 +367,7 @@ function wpcf_admin_userprofilesave_init( $user_id ) {
367
  $config = wptoolset_form_filter_types_field( $field_definition_array, $user_id );
368
  foreach ( $_field_value as $_k => $_val ) {
369
  // Check if valid
370
- $valid = wptoolset_form_validate_field( 'your-profile', $config,
371
- $_val );
372
  if ( is_wp_error( $valid ) ) {
373
  $has_errors = true;
374
  $_errors = $valid->get_error_data();
@@ -396,7 +395,9 @@ function wpcf_admin_userprofilesave_init( $user_id ) {
396
 
397
  // Note: Checkboxes fields used to be handled as a special case here, that was now moved
398
  // to wpcf_update_checkboxes_field(). Unlike for posts, we need to call this funcion manually from here.
399
- wpcf_update_checkboxes_field( $field_definition_array, 'user', $user_id, $wpcf_form_data );
 
 
400
  }
401
 
402
  if ( $has_errors ) {
367
  $config = wptoolset_form_filter_types_field( $field_definition_array, $user_id );
368
  foreach ( $_field_value as $_k => $_val ) {
369
  // Check if valid
370
+ $valid = wptoolset_form_validate_field( 'your-profile', $config, $_val );
 
371
  if ( is_wp_error( $valid ) ) {
372
  $has_errors = true;
373
  $_errors = $valid->get_error_data();
395
 
396
  // Note: Checkboxes fields used to be handled as a special case here, that was now moved
397
  // to wpcf_update_checkboxes_field(). Unlike for posts, we need to call this funcion manually from here.
398
+ if( 'checkboxes' == wpcf_getarr( $field_definition_array, 'type' ) ) {
399
+ wpcf_update_checkboxes_field( $field_definition_array, 'user', $user_id, $wpcf_form_data );
400
+ }
401
  }
402
 
403
  if ( $has_errors ) {
library/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php CHANGED
@@ -657,7 +657,7 @@ class Types_Admin_Edit_Custom_Fields_Group extends Types_Admin_Edit_Fields {
657
  if( isset( $this->update['admin_styles'] ) ) {
658
  $admin_styles_value = $this->update['admin_styles'];
659
  }
660
- $temp = '';
661
 
662
  if( $this->update ) {
663
  require_once WPCF_EMBEDDED_INC_ABSPATH . '/fields.php';
657
  if( isset( $this->update['admin_styles'] ) ) {
658
  $admin_styles_value = $this->update['admin_styles'];
659
  }
660
+ $temp = array();
661
 
662
  if( $this->update ) {
663
  require_once WPCF_EMBEDDED_INC_ABSPATH . '/fields.php';
library/toolset/types/includes/classes/class.types.admin.edit.meta.fields.group.php CHANGED
@@ -372,7 +372,7 @@ class Types_Admin_Edit_Meta_Fields_Group extends Types_Admin_Edit_Fields
372
  if ( isset( $this->update['admin_styles'] ) ) {
373
  $admin_styles_value = $this->update['admin_styles'];
374
  }
375
- $temp = '';
376
 
377
  if ( $this->update ) {
378
  require_once WPCF_EMBEDDED_INC_ABSPATH . '/fields.php';
@@ -388,7 +388,7 @@ class Types_Admin_Edit_Meta_Fields_Group extends Types_Admin_Edit_Fields
388
  }
389
  $preview_profile = wpcf_admin_post_meta_box_preview( $post, $this->update, 1 );
390
  $group = $this->update;
391
- $group['fields'] = wpcf_admin_post_process_fields( $post, $group['fields'], true, false );
392
  $edit_profile = wpcf_admin_post_meta_box( $post, $group, 1, true );
393
  add_action( 'admin_enqueue_scripts', 'wpcf_admin_fields_form_fix_styles', PHP_INT_MAX );
394
  }
372
  if ( isset( $this->update['admin_styles'] ) ) {
373
  $admin_styles_value = $this->update['admin_styles'];
374
  }
375
+ $temp = array();
376
 
377
  if ( $this->update ) {
378
  require_once WPCF_EMBEDDED_INC_ABSPATH . '/fields.php';
388
  }
389
  $preview_profile = wpcf_admin_post_meta_box_preview( $post, $this->update, 1 );
390
  $group = $this->update;
391
+ $group['fields'] = wpcf_admin_post_process_fields( $post, wpcf_ensarr( wpcf_getarr( $group, 'fields' ) ), true, false );
392
  $edit_profile = wpcf_admin_post_meta_box( $post, $group, 1, true );
393
  add_action( 'admin_enqueue_scripts', 'wpcf_admin_fields_form_fix_styles', PHP_INT_MAX );
394
  }
library/toolset/types/includes/fields-form.php CHANGED
@@ -803,13 +803,13 @@ function wpcf_admin_fields_form_js_validation() {
803
  /**
804
  * Saves open fieldsets.
805
  *
806
- * @param type $action
807
- * @param type $fieldset
808
- * @param type $group_id
809
  */
810
- function wpcf_admin_fields_form_save_open_fieldset( $action, $fieldset,
811
- $group_id = false ) {
812
- $data = get_user_meta( get_current_user_id(), 'wpcf-group-form-toggle', true );
813
  if ( $group_id && $action == 'open' ) {
814
  $data[intval( $group_id )][$fieldset] = 1;
815
  } else if ( $group_id && $action == 'close' ) {
803
  /**
804
  * Saves open fieldsets.
805
  *
806
+ * @param $action
807
+ * @param $fieldset
808
+ * @param bool $group_id
809
  */
810
+ function wpcf_admin_fields_form_save_open_fieldset( $action, $fieldset, $group_id = false ) {
811
+ $data = wpcf_ensarr( get_user_meta( get_current_user_id(), 'wpcf-group-form-toggle', true ) );
812
+
813
  if ( $group_id && $action == 'open' ) {
814
  $data[intval( $group_id )][$fieldset] = 1;
815
  } else if ( $group_id && $action == 'close' ) {
library/toolset/types/wpcf.php CHANGED
@@ -286,6 +286,8 @@ function wpcf_reserved_names()
286
  'category__not_in',
287
  'comments_per_page',
288
  'comments_popup',
 
 
289
  'cpage',
290
  'day',
291
  'debug',
@@ -628,7 +630,7 @@ function types_ask_for_feedback_on_deactivation() {
628
  href="https://www.surveymonkey.com/r/types-uninstall">
629
  <?php _e( 'Leave feedback', 'wpcf' ); ?>
630
  </a>
631
- <a id="types-leave-feedback-dialog-survey-link-cancel" class="button-secondary" target="_blank"
632
  href="javascript:void(0);">
633
  <?php _e( 'Skip feedback', 'wpcf' ); ?>
634
  </a>
286
  'category__not_in',
287
  'comments_per_page',
288
  'comments_popup',
289
+ 'custom_css',
290
+ 'customize_changeset',
291
  'cpage',
292
  'day',
293
  'debug',
630
  href="https://www.surveymonkey.com/r/types-uninstall">
631
  <?php _e( 'Leave feedback', 'wpcf' ); ?>
632
  </a>
633
+ <a id="types-leave-feedback-dialog-survey-link-cancel" class="button-secondary"
634
  href="javascript:void(0);">
635
  <?php _e( 'Skip feedback', 'wpcf' ); ?>
636
  </a>
readme.txt CHANGED
@@ -7,7 +7,7 @@ Domain Path: /embedded/locale
7
  License: GPLv2
8
  Requires at least: 3.7
9
  Tested up to: 4.7.1
10
- Stable tag: 2.2.7
11
 
12
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
13
 
@@ -160,6 +160,13 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
160
 
161
  == Changelog ==
162
 
 
 
 
 
 
 
 
163
  = 2.2.7 =
164
 
165
  * Fixed a JavaScript error when using a flat taxonomy in the relationship post table.
7
  License: GPLv2
8
  Requires at least: 3.7
9
  Tested up to: 4.7.1
10
+ Stable tag: 2.2.8
11
 
12
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
13
 
160
 
161
  == Changelog ==
162
 
163
+ = 2.2.8 =
164
+
165
+ * Fixed an issue where Types saves invalid values in user fields.
166
+ * Added 'custom_css' and 'customize_changeset' to list of excluded post types.
167
+ * Fixed fatal errors with Styling editor and PHP 7.1.
168
+ * Fixed a glitch in Firefox ”a new blank tab was opened when clicking on ‘Skip Feedback’”
169
+
170
  = 2.2.7 =
171
 
172
  * Fixed a JavaScript error when using a flat taxonomy in the relationship post table.
wpcf.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://wordpress.org/extend/plugins/types/
5
  Description: Toolset Types defines custom content in WordPress. Easily create custom post types, fields and taxonomy and connect everything together.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
- Version: 2.2.7
9
  License: GPLv2 or later
10
 
11
  Types is free software: you can redistribute it and/or modify
@@ -28,7 +28,7 @@ if( !function_exists( 'add_action' ) )
28
 
29
  // version
30
  if( ! defined( 'TYPES_VERSION' ) )
31
- define( 'TYPES_VERSION', '2.2.7' );
32
 
33
  // backward compatibility
34
  if ( ! defined( 'WPCF_VERSION' ) )
@@ -37,7 +37,7 @@ if ( ! defined( 'WPCF_VERSION' ) )
37
  // release notes
38
  if( ! defined( 'TYPES_RELEASE_NOTES' ) )
39
  // Mind the end of the URL string, it contains the plugin version.
40
- define( 'TYPES_RELEASE_NOTES', 'https://wp-types.com/version/types-2-2-7/?utm_source=typesplugin&utm_campaign=types&utm_medium=release-notes-admin-notice&utm_term=Types%202.2.7%20release%20notes' );
41
 
42
  /*
43
  * Path Constants
5
  Description: Toolset Types defines custom content in WordPress. Easily create custom post types, fields and taxonomy and connect everything together.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
+ Version: 2.2.8
9
  License: GPLv2 or later
10
 
11
  Types is free software: you can redistribute it and/or modify
28
 
29
  // version
30
  if( ! defined( 'TYPES_VERSION' ) )
31
+ define( 'TYPES_VERSION', '2.2.8' );
32
 
33
  // backward compatibility
34
  if ( ! defined( 'WPCF_VERSION' ) )
37
  // release notes
38
  if( ! defined( 'TYPES_RELEASE_NOTES' ) )
39
  // Mind the end of the URL string, it contains the plugin version.
40
+ define( 'TYPES_RELEASE_NOTES', 'https://wp-types.com/version/types-2-2-8/?utm_source=typesplugin&utm_campaign=types&utm_medium=release-notes-admin-notice&utm_term=Types%202.2.8%20release%20notes' );
41
 
42
  /*
43
  * Path Constants