Tabs - Version 2.3.0

Version Description

  • Sanitization, Escaping issue resolved
Download this release

Release Info

Developer wpshopmart
Plugin Icon 128x128 Tabs
Version 2.3.0
Comparing to
See all releases

Code changes from version 2.2.9 to 2.3.0

assets/css/bootstrap.css CHANGED
@@ -1,5 +1,6 @@
 
1
  /*!
2
- * Bootstrap v4.6.0 (https://getbootstrap.com/)
3
  * Copyright 2011-2021 The Bootstrap Authors
4
  * Copyright 2011-2021 Twitter, Inc.
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -17,424 +18,169 @@
17
  }
18
 
19
  .row {
20
- display: -ms-flexbox;
 
21
  display: flex;
22
- -ms-flex-wrap: wrap;
23
  flex-wrap: wrap;
24
- margin-right: -15px;
25
- margin-left: -15px;
 
26
  }
27
-
28
- .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
29
- .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
30
- .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
31
- .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
32
- .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
33
- .col-xl-auto {
34
- position: relative;
35
  width: 100%;
36
- padding-right: 15px;
37
- padding-left: 15px;
38
- }
39
-
40
- .col {
41
- -ms-flex-preferred-size: 0;
42
- flex-basis: 0;
43
- -ms-flex-positive: 1;
44
- flex-grow: 1;
45
- max-width: 100%;
46
- }
47
-
48
- .col-auto {
49
- -ms-flex: 0 0 auto;
50
- flex: 0 0 auto;
51
- width: auto;
52
- max-width: 100%;
53
- }
54
-
55
- .col-1 {
56
- -ms-flex: 0 0 8.333333%;
57
- flex: 0 0 8.333333%;
58
- max-width: 8.333333%;
59
- }
60
-
61
- .col-2 {
62
- -ms-flex: 0 0 16.666667%;
63
- flex: 0 0 16.666667%;
64
- max-width: 16.666667%;
65
- }
66
-
67
- .col-3 {
68
- -ms-flex: 0 0 25%;
69
- flex: 0 0 25%;
70
- max-width: 25%;
71
- }
72
-
73
- .col-4 {
74
- -ms-flex: 0 0 33.333333%;
75
- flex: 0 0 33.333333%;
76
- max-width: 33.333333%;
77
- }
78
-
79
- .col-5 {
80
- -ms-flex: 0 0 41.666667%;
81
- flex: 0 0 41.666667%;
82
- max-width: 41.666667%;
83
- }
84
-
85
- .col-6 {
86
- -ms-flex: 0 0 50%;
87
- flex: 0 0 50%;
88
- max-width: 50%;
89
- }
90
-
91
- .col-7 {
92
- -ms-flex: 0 0 58.333333%;
93
- flex: 0 0 58.333333%;
94
- max-width: 58.333333%;
95
- }
96
-
97
- .col-8 {
98
- -ms-flex: 0 0 66.666667%;
99
- flex: 0 0 66.666667%;
100
- max-width: 66.666667%;
101
- }
102
-
103
- .col-9 {
104
- -ms-flex: 0 0 75%;
105
- flex: 0 0 75%;
106
- max-width: 75%;
107
- }
108
-
109
- .col-10 {
110
- -ms-flex: 0 0 83.333333%;
111
- flex: 0 0 83.333333%;
112
- max-width: 83.333333%;
113
- }
114
-
115
- .col-11 {
116
- -ms-flex: 0 0 91.666667%;
117
- flex: 0 0 91.666667%;
118
- max-width: 91.666667%;
119
- }
120
-
121
- .col-12 {
122
- -ms-flex: 0 0 100%;
123
- flex: 0 0 100%;
124
  max-width: 100%;
 
 
 
125
  }
126
 
127
- @media (min-width: 576px) {
128
- .col-sm {
129
- -ms-flex-preferred-size: 0;
130
- flex-basis: 0;
131
- -ms-flex-positive: 1;
132
- flex-grow: 1;
133
- max-width: 100%;
134
- }
135
- .col-sm-auto {
136
- -ms-flex: 0 0 auto;
137
- flex: 0 0 auto;
138
- width: auto;
139
- max-width: 100%;
140
- }
141
- .col-sm-1 {
142
- -ms-flex: 0 0 8.333333%;
143
- flex: 0 0 8.333333%;
144
- max-width: 8.333333%;
145
- }
146
- .col-sm-2 {
147
- -ms-flex: 0 0 16.666667%;
148
- flex: 0 0 16.666667%;
149
- max-width: 16.666667%;
150
- }
151
- .col-sm-3 {
152
- -ms-flex: 0 0 25%;
153
- flex: 0 0 25%;
154
- max-width: 25%;
155
- }
156
- .col-sm-4 {
157
- -ms-flex: 0 0 33.333333%;
158
- flex: 0 0 33.333333%;
159
- max-width: 33.333333%;
160
- }
161
- .col-sm-5 {
162
- -ms-flex: 0 0 41.666667%;
163
- flex: 0 0 41.666667%;
164
- max-width: 41.666667%;
165
- }
166
- .col-sm-6 {
167
- -ms-flex: 0 0 50%;
168
- flex: 0 0 50%;
169
- max-width: 50%;
170
- }
171
- .col-sm-7 {
172
- -ms-flex: 0 0 58.333333%;
173
- flex: 0 0 58.333333%;
174
- max-width: 58.333333%;
175
- }
176
- .col-sm-8 {
177
- -ms-flex: 0 0 66.666667%;
178
- flex: 0 0 66.666667%;
179
- max-width: 66.666667%;
180
- }
181
- .col-sm-9 {
182
- -ms-flex: 0 0 75%;
183
- flex: 0 0 75%;
184
- max-width: 75%;
185
- }
186
- .col-sm-10 {
187
- -ms-flex: 0 0 83.333333%;
188
- flex: 0 0 83.333333%;
189
- max-width: 83.333333%;
190
- }
191
- .col-sm-11 {
192
- -ms-flex: 0 0 91.666667%;
193
- flex: 0 0 91.666667%;
194
- max-width: 91.666667%;
195
- }
196
- .col-sm-12 {
197
- -ms-flex: 0 0 100%;
198
- flex: 0 0 100%;
199
- max-width: 100%;
200
- }
201
  }
202
 
203
  @media (min-width: 768px) {
204
  .col-md {
205
- -ms-flex-preferred-size: 0;
206
- flex-basis: 0;
207
- -ms-flex-positive: 1;
208
- flex-grow: 1;
209
- max-width: 100%;
210
  }
 
211
  .col-md-auto {
212
- -ms-flex: 0 0 auto;
213
  flex: 0 0 auto;
214
  width: auto;
215
- max-width: 100%;
216
  }
 
217
  .col-md-1 {
218
- -ms-flex: 0 0 8.333333%;
219
- flex: 0 0 8.333333%;
220
- max-width: 8.333333%;
221
  }
 
222
  .col-md-2 {
223
- -ms-flex: 0 0 16.666667%;
224
- flex: 0 0 16.666667%;
225
- max-width: 16.666667%;
226
  }
 
227
  .col-md-3 {
228
- -ms-flex: 0 0 25%;
229
- flex: 0 0 25%;
230
- max-width: 25%;
231
  }
 
232
  .col-md-4 {
233
- -ms-flex: 0 0 33.333333%;
234
- flex: 0 0 33.333333%;
235
- max-width: 33.333333%;
236
  }
 
237
  .col-md-5 {
238
- -ms-flex: 0 0 41.666667%;
239
- flex: 0 0 41.666667%;
240
- max-width: 41.666667%;
241
  }
 
242
  .col-md-6 {
243
- -ms-flex: 0 0 50%;
244
- flex: 0 0 50%;
245
- max-width: 50%;
246
  }
 
247
  .col-md-7 {
248
- -ms-flex: 0 0 58.333333%;
249
- flex: 0 0 58.333333%;
250
- max-width: 58.333333%;
251
  }
 
252
  .col-md-8 {
253
- -ms-flex: 0 0 66.666667%;
254
- flex: 0 0 66.666667%;
255
- max-width: 66.666667%;
256
  }
 
257
  .col-md-9 {
258
- -ms-flex: 0 0 75%;
259
- flex: 0 0 75%;
260
- max-width: 75%;
261
  }
 
262
  .col-md-10 {
263
- -ms-flex: 0 0 83.333333%;
264
- flex: 0 0 83.333333%;
265
- max-width: 83.333333%;
266
  }
 
267
  .col-md-11 {
268
- -ms-flex: 0 0 91.666667%;
269
- flex: 0 0 91.666667%;
270
- max-width: 91.666667%;
271
  }
 
272
  .col-md-12 {
273
- -ms-flex: 0 0 100%;
274
- flex: 0 0 100%;
275
- max-width: 100%;
276
  }
277
  }
278
 
279
- .form-group {
280
- margin-bottom: 1rem;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  }
282
 
283
  .btn {
284
  display: inline-block;
285
  font-weight: 400;
 
286
  color: #212529;
287
  text-align: center;
 
288
  vertical-align: middle;
 
289
  -webkit-user-select: none;
290
  -moz-user-select: none;
291
- -ms-user-select: none;
292
  user-select: none;
293
  background-color: transparent;
294
  border: 1px solid transparent;
295
  padding: 0.375rem 0.75rem;
296
  font-size: 1rem;
297
- line-height: 1.5;
298
  border-radius: 0.25rem;
299
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
300
  }
301
-
302
  @media (prefers-reduced-motion: reduce) {
303
  .btn {
304
  transition: none;
305
  }
306
  }
307
 
308
- .btn:hover {
309
- color: #212529;
310
- text-decoration: none;
311
- }
312
-
313
- .btn:focus, .btn.focus {
314
- outline: 0;
315
- box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
316
- }
317
-
318
- .btn.disabled, .btn:disabled {
319
- opacity: 0.65;
320
- }
321
-
322
- .btn:not(:disabled):not(.disabled) {
323
- cursor: pointer;
324
- }
325
-
326
- a.btn.disabled,
327
- fieldset:disabled a.btn {
328
  pointer-events: none;
329
- }
330
-
331
- .btn-block {
332
- display: block;
333
- width: 100%;
334
  }
335
 
336
  .btn-primary {
337
  color: #fff;
338
- background-color: #007bff;
339
- border-color: #007bff;
340
  }
341
-
342
  .btn-primary:hover {
343
  color: #fff;
344
- background-color: #0069d9;
345
- border-color: #0062cc;
346
- }
347
-
348
- .btn-primary:focus, .btn-primary.focus {
349
- color: #fff;
350
- background-color: #0069d9;
351
- border-color: #0062cc;
352
- box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
353
- }
354
-
355
- .btn-primary.disabled, .btn-primary:disabled {
356
- color: #fff;
357
- background-color: #007bff;
358
- border-color: #007bff;
359
- }
360
-
361
- .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
362
- .show > .btn-primary.dropdown-toggle {
363
- color: #fff;
364
- background-color: #0062cc;
365
- border-color: #005cbf;
366
- }
367
-
368
- .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
369
- .show > .btn-primary.dropdown-toggle:focus {
370
- box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
371
- }
372
-
373
- .btn-danger {
374
- color: #fff;
375
- background-color: #dc3545;
376
- border-color: #dc3545;
377
- }
378
-
379
- .btn-danger:hover {
380
- color: #fff;
381
- background-color: #c82333;
382
- border-color: #bd2130;
383
- }
384
-
385
- .btn-danger:focus, .btn-danger.focus {
386
- color: #fff;
387
- background-color: #c82333;
388
- border-color: #bd2130;
389
- box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
390
- }
391
-
392
- .btn-danger.disabled, .btn-danger:disabled {
393
- color: #fff;
394
- background-color: #dc3545;
395
- border-color: #dc3545;
396
- }
397
-
398
- .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
399
- .show > .btn-danger.dropdown-toggle {
400
- color: #fff;
401
- background-color: #bd2130;
402
- border-color: #b21f2d;
403
- }
404
-
405
- .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
406
- .show > .btn-danger.dropdown-toggle:focus {
407
- box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
408
- }
409
-
410
- .input-group {
411
- position: relative;
412
- display: -ms-flexbox;
413
- display: flex;
414
- -ms-flex-wrap: wrap;
415
- flex-wrap: wrap;
416
- -ms-flex-align: stretch;
417
- align-items: stretch;
418
- width: 100%;
419
- }
420
-
421
-
422
- .input-group > .form-control,
423
- .input-group > .form-control-plaintext,
424
- .input-group > .custom-select,
425
- .input-group > .custom-file {
426
- position: relative;
427
- -ms-flex: 1 1 auto;
428
- flex: 1 1 auto;
429
- width: 1%;
430
- min-width: 0;
431
- margin-bottom: 0;
432
- }
433
-
434
- .input-group > .form-control:not(:first-child),
435
- .input-group > .custom-select:not(:first-child) {
436
- border-top-left-radius: 0;
437
- border-bottom-left-radius: 0;
438
  }
439
 
440
- /*# sourceMappingURL=bootstrap.css.map
1
+ @charset "UTF-8";
2
  /*!
3
+ * Bootstrap v5.1.3 (https://getbootstrap.com/)
4
  * Copyright 2011-2021 The Bootstrap Authors
5
  * Copyright 2011-2021 Twitter, Inc.
6
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
18
  }
19
 
20
  .row {
21
+ --bs-gutter-x: 1.5rem;
22
+ --bs-gutter-y: 0;
23
  display: flex;
 
24
  flex-wrap: wrap;
25
+ margin-top: calc(-1 * var(--bs-gutter-y));
26
+ margin-right: calc(-0.5 * var(--bs-gutter-x));
27
+ margin-left: calc(-0.5 * var(--bs-gutter-x));
28
  }
29
+ .row > * {
30
+ flex-shrink: 0;
 
 
 
 
 
 
31
  width: 100%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  max-width: 100%;
33
+ padding-right: calc(var(--bs-gutter-x) * 0.5);
34
+ padding-left: calc(var(--bs-gutter-x) * 0.5);
35
+ margin-top: var(--bs-gutter-y);
36
  }
37
 
38
+ .col {
39
+ flex: 1 0 0%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
41
 
42
  @media (min-width: 768px) {
43
  .col-md {
44
+ flex: 1 0 0%;
 
 
 
 
45
  }
46
+
47
  .col-md-auto {
 
48
  flex: 0 0 auto;
49
  width: auto;
 
50
  }
51
+
52
  .col-md-1 {
53
+ flex: 0 0 auto;
54
+ width: 8.33333333%;
 
55
  }
56
+
57
  .col-md-2 {
58
+ flex: 0 0 auto;
59
+ width: 16.66666667%;
 
60
  }
61
+
62
  .col-md-3 {
63
+ flex: 0 0 auto;
64
+ width: 25%;
 
65
  }
66
+
67
  .col-md-4 {
68
+ flex: 0 0 auto;
69
+ width: 33.33333333%;
 
70
  }
71
+
72
  .col-md-5 {
73
+ flex: 0 0 auto;
74
+ width: 41.66666667%;
 
75
  }
76
+
77
  .col-md-6 {
78
+ flex: 0 0 auto;
79
+ width: 50%;
 
80
  }
81
+
82
  .col-md-7 {
83
+ flex: 0 0 auto;
84
+ width: 58.33333333%;
 
85
  }
86
+
87
  .col-md-8 {
88
+ flex: 0 0 auto;
89
+ width: 66.66666667%;
 
90
  }
91
+
92
  .col-md-9 {
93
+ flex: 0 0 auto;
94
+ width: 75%;
 
95
  }
96
+
97
  .col-md-10 {
98
+ flex: 0 0 auto;
99
+ width: 83.33333333%;
 
100
  }
101
+
102
  .col-md-11 {
103
+ flex: 0 0 auto;
104
+ width: 91.66666667%;
 
105
  }
106
+
107
  .col-md-12 {
108
+ flex: 0 0 auto;
109
+ width: 100%;
 
110
  }
111
  }
112
 
113
+ .input-group {
114
+ position: relative;
115
+ display: flex;
116
+ flex-wrap: wrap;
117
+ align-items: stretch;
118
+ width: 100%;
119
+ }
120
+ .input-group > .form-control,
121
+ .input-group > .form-select {
122
+ position: relative;
123
+ flex: 1 1 auto;
124
+ width: 1%;
125
+ min-width: 0;
126
+ }
127
+ .input-group > .form-control:focus,
128
+ .input-group > .form-select:focus {
129
+ z-index: 3;
130
+ }
131
+ .input-group .btn {
132
+ position: relative;
133
+ z-index: 2;
134
+ }
135
+ .input-group .btn:focus {
136
+ z-index: 3;
137
+ }
138
+
139
+ .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
140
+ margin-left: -1px;
141
+ border-top-left-radius: 0;
142
+ border-bottom-left-radius: 0;
143
  }
144
 
145
  .btn {
146
  display: inline-block;
147
  font-weight: 400;
148
+ line-height: 1.5;
149
  color: #212529;
150
  text-align: center;
151
+ text-decoration: none;
152
  vertical-align: middle;
153
+ cursor: pointer;
154
  -webkit-user-select: none;
155
  -moz-user-select: none;
 
156
  user-select: none;
157
  background-color: transparent;
158
  border: 1px solid transparent;
159
  padding: 0.375rem 0.75rem;
160
  font-size: 1rem;
 
161
  border-radius: 0.25rem;
162
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
163
  }
 
164
  @media (prefers-reduced-motion: reduce) {
165
  .btn {
166
  transition: none;
167
  }
168
  }
169
 
170
+ .btn:disabled, .btn.disabled, fieldset:disabled .btn {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  pointer-events: none;
172
+ opacity: 0.65;
 
 
 
 
173
  }
174
 
175
  .btn-primary {
176
  color: #fff;
177
+ background-color: #0d6efd;
178
+ border-color: #0d6efd;
179
  }
 
180
  .btn-primary:hover {
181
  color: #fff;
182
+ background-color: #0b5ed7;
183
+ border-color: #0a58ca;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  }
185
 
186
+ /*# sourceMappingURL=bootstrap.css.map */
assets/css/panel-style.css CHANGED
@@ -161,6 +161,7 @@ margin-bottom:20px;
161
  background: transparent;
162
  box-shadow: 0 0 20px rgba(0,0,0,.2);
163
  padding: 0px;
 
164
  }
165
 
166
  .wpsm_img_responsive {
@@ -168,12 +169,11 @@ margin-bottom:20px;
168
  display: block;
169
  }
170
 
171
- /* ribbon */
172
-
173
 
174
  .wpsm_ribbon {
175
  position: absolute;
176
- right: 7px;
177
  top: -5px;
178
  z-index: 1;
179
  overflow: hidden;
@@ -233,4 +233,9 @@ background: linear-gradient(#03A9F4 0%, #2196F3 100%);
233
  color: #fff;
234
  background-color: #0fa1f4 !important;
235
  border-color: #189cf3 !important;
 
 
 
 
 
236
  }
161
  background: transparent;
162
  box-shadow: 0 0 20px rgba(0,0,0,.2);
163
  padding: 0px;
164
+ position: relative;
165
  }
166
 
167
  .wpsm_img_responsive {
169
  display: block;
170
  }
171
 
172
+ /* ribbon */
 
173
 
174
  .wpsm_ribbon {
175
  position: absolute;
176
+ right: -5px;
177
  top: -5px;
178
  z-index: 1;
179
  overflow: hidden;
233
  color: #fff;
234
  background-color: #0fa1f4 !important;
235
  border-color: #189cf3 !important;
236
+ }
237
+
238
+ .html_editor_button{
239
+ display: block;
240
+ width: 100%;
241
  }
ink/admin/data-post/tabs-settings-save-data.php CHANGED
@@ -3,15 +3,15 @@ if(isset($PostID) && isset($_POST['tabs_setting_save_action'])) {
3
  if (!wp_verify_nonce($_POST['wpsm_tabs_security'], 'wpsm_tabs_nonce_save_settings_values')) {
4
  die();
5
  }
6
- $tabs_sec_title = sanitize_option('tabs_sec_title', $_POST['tabs_sec_title']);
7
- $show_tabs_title_icon = sanitize_option('show_tabs_title_icon', $_POST['show_tabs_title_icon']);
8
- $show_tabs_icon_align = sanitize_option('show_tabs_icon_align', $_POST['show_tabs_icon_align']);
9
- $enable_tabs_border = sanitize_option('enable_tabs_border',$_POST['enable_tabs_border']);
10
- $tabs_alignment = sanitize_option('tabs_alignment',$_POST['tabs_alignment']);
11
- $tabs_position = sanitize_option('tabs_position',$_POST['tabs_position']);
12
- $tabs_margin = sanitize_option('tabs_margin',$_POST['tabs_margin']);
13
- $tabs_content_margin = sanitize_option('tabs_content_margin',$_POST['tabs_content_margin']);
14
- $tabs_styles = sanitize_option('tabs_styles',$_POST['tabs_styles']);
15
  $tabs_title_bg_clr = sanitize_text_field($_POST['tabs_title_bg_clr']);
16
  $tabs_title_icon_clr = sanitize_text_field($_POST['tabs_title_icon_clr']);
17
  $select_tabs_title_bg_clr = sanitize_text_field($_POST['select_tabs_title_bg_clr']);
@@ -23,8 +23,8 @@ if(isset($PostID) && isset($_POST['tabs_setting_save_action'])) {
23
  $font_family = sanitize_text_field($_POST['font_family']);
24
  $tabs_animation = sanitize_text_field($_POST['tabs_animation']);
25
  $custom_css = sanitize_textarea_field($_POST['custom_css']);
26
- $tabs_display_on_mob = sanitize_option('tabs_display_on_mob', $_POST['tabs_display_on_mob']);
27
- $tabs_display_mode_mob = sanitize_option('tabs_display_mode_mob', $_POST['tabs_display_mode_mob']);
28
 
29
 
30
  $Settings_Array = serialize( array(
3
  if (!wp_verify_nonce($_POST['wpsm_tabs_security'], 'wpsm_tabs_nonce_save_settings_values')) {
4
  die();
5
  }
6
+ $tabs_sec_title = apply_filters( "sanitize_option_title", $_POST['tabs_sec_title'], 'tabs_sec_title', 'yes' );
7
+ $show_tabs_title_icon = apply_filters( "sanitize_option_title_icon", $_POST['show_tabs_title_icon'], 'show_tabs_title_icon', 1 );
8
+ $show_tabs_icon_align = apply_filters( "sanitize_option_icon_align", $_POST['show_tabs_icon_align'], 'show_tabs_icon_align', "left" );
9
+ $enable_tabs_border = apply_filters( "sanitize_option_tabs_border", $_POST['enable_tabs_border'], 'enable_tabs_border', "yes" );
10
+ $tabs_alignment = apply_filters( "sanitize_option_alignment", $_POST['tabs_alignment'], 'tabs_alignment', "horizontal" );
11
+ $tabs_position = apply_filters( "sanitize_option_position", $_POST['tabs_position'], 'tabs_position', "left" );
12
+ $tabs_margin = apply_filters( "sanitize_option_margin", $_POST['tabs_margin'], 'tabs_margin', "no" );
13
+ $tabs_content_margin = apply_filters( "sanitize_option_content_margin", $_POST['tabs_content_margin'], 'tabs_content_margin', "no" );
14
+ $tabs_styles = apply_filters( "sanitize_option_styles", $_POST['tabs_styles'], 'tabs_styles', 1 );
15
  $tabs_title_bg_clr = sanitize_text_field($_POST['tabs_title_bg_clr']);
16
  $tabs_title_icon_clr = sanitize_text_field($_POST['tabs_title_icon_clr']);
17
  $select_tabs_title_bg_clr = sanitize_text_field($_POST['select_tabs_title_bg_clr']);
23
  $font_family = sanitize_text_field($_POST['font_family']);
24
  $tabs_animation = sanitize_text_field($_POST['tabs_animation']);
25
  $custom_css = sanitize_textarea_field($_POST['custom_css']);
26
+ $tabs_display_on_mob = apply_filters( "sanitize_option_display_on_mob", $_POST['tabs_display_on_mob'], 'tabs_display_on_mob', 1 );
27
+ $tabs_display_mode_mob = apply_filters( "sanitize_option_display_mode_mob", $_POST['tabs_display_mode_mob'], 'tabs_display_mode_mob', 2 );
28
 
29
 
30
  $Settings_Array = serialize( array(
ink/admin/menu.php CHANGED
@@ -42,7 +42,7 @@ class wpsm_tabs_r {
42
  wp_enqueue_script( 'wpsm_tabs_r-line-edit-js', wpshopmart_tabs_r_directory_url.'assets/js/jquery-linedtextarea.js');
43
 
44
  wp_enqueue_script( 'wpsm_tabs_custom-js', wpshopmart_tabs_r_directory_url.'assets/js/tabs-custom.js');
45
- wp_enqueue_script( 'wpsm_tabs_bootstrap-js', wpshopmart_tabs_r_directory_url.'assets/js/bootstrap.js');
46
 
47
  //tooltip
48
  wp_enqueue_style('wpsm_tabs_r_tooltip', wpshopmart_tabs_r_directory_url.'assets/tooltip/darktooltip.css');
42
  wp_enqueue_script( 'wpsm_tabs_r-line-edit-js', wpshopmart_tabs_r_directory_url.'assets/js/jquery-linedtextarea.js');
43
 
44
  wp_enqueue_script( 'wpsm_tabs_custom-js', wpshopmart_tabs_r_directory_url.'assets/js/tabs-custom.js');
45
+ //wp_enqueue_script( 'wpsm_tabs_bootstrap-js', wpshopmart_tabs_r_directory_url.'assets/js/bootstrap.js');
46
 
47
  //tooltip
48
  wp_enqueue_style('wpsm_tabs_r_tooltip', wpshopmart_tabs_r_directory_url.'assets/tooltip/darktooltip.css');
ink/install/installation.php CHANGED
@@ -6,7 +6,7 @@ function wpsm_tabs_r_front_script() {
6
  wp_enqueue_style('wpsm_tabs_r_animate', wpshopmart_tabs_r_directory_url.'assets/css/animate.css');
7
  wp_enqueue_script('jquery');
8
  wp_enqueue_script( 'wpsm_tabs_r_custom-js-front', wpshopmart_tabs_r_directory_url.'assets/js/tabs-custom.js', array(), '', true );
9
- wp_enqueue_script( 'wpsm_tabs_r_bootstrap-js-front', wpshopmart_tabs_r_directory_url.'assets/js/bootstrap.js', array(), '', true );
10
 
11
  }
12
 
@@ -272,7 +272,7 @@ function wpsm_tabs_respnsive_header_info() {
272
  color:#000;
273
  }
274
  .btn-danger {
275
- color: #fff;
276
  background-color: #e0bf1b !important;
277
  border-color: #e0bf1b !important;
278
  }
6
  wp_enqueue_style('wpsm_tabs_r_animate', wpshopmart_tabs_r_directory_url.'assets/css/animate.css');
7
  wp_enqueue_script('jquery');
8
  wp_enqueue_script( 'wpsm_tabs_r_custom-js-front', wpshopmart_tabs_r_directory_url.'assets/js/tabs-custom.js', array(), '', true );
9
+ //wp_enqueue_script( 'wpsm_tabs_r_bootstrap-js-front', wpshopmart_tabs_r_directory_url.'assets/js/bootstrap.js', array(), '', true );
10
 
11
  }
12
 
272
  color:#000;
273
  }
274
  .btn-danger {
275
+ color: #fff !important;
276
  background-color: #e0bf1b !important;
277
  border-color: #e0bf1b !important;
278
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpshopmart.com/plugins/tabs-pro-plugin/
4
  Tags: tab, tabs, responsive tabs, animation, animated tab, css3 tabs, bootstrap tabs, tabs content, responsive, shortcode, widget, wordpress tabs, wp tabs, accordion, collapse, toggle, bootstrap tab, jquery, tab widget, tab shortcode, jquery tabs, sidebar, plugin, html, html5, html5 tabs
5
  Requires at least: 5.0
6
  Tested up to: 5.9.3
7
- Stable tag: 2.2.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -160,6 +160,9 @@ Please use WordPress support forum to ask any query regarding any issue.
160
 
161
  == Changelog ==
162
 
 
 
 
163
  = 2.2.9 =
164
  * Reviewer Issue Resolved.
165
 
4
  Tags: tab, tabs, responsive tabs, animation, animated tab, css3 tabs, bootstrap tabs, tabs content, responsive, shortcode, widget, wordpress tabs, wp tabs, accordion, collapse, toggle, bootstrap tab, jquery, tab widget, tab shortcode, jquery tabs, sidebar, plugin, html, html5, html5 tabs
5
  Requires at least: 5.0
6
  Tested up to: 5.9.3
7
+ Stable tag: 2.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
160
 
161
  == Changelog ==
162
 
163
+ = 2.3.0 =
164
+ * Sanitization, Escaping issue resolved
165
+
166
  = 2.2.9 =
167
  * Reviewer Issue Resolved.
168
 
tabs-responsive.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Tabs Responsive
4
- * Version: 2.2.9
5
  * Description: Tabs Responsive is the most easiest drag & drop Tabs builder for WordPress. You can add unlimited Tabs with unlimited color Scheme.
6
  * Author: wpshopmart
7
  * Author URI: https://www.wpshopmart.com
1
  <?php
2
  /**
3
  * Plugin Name: Tabs Responsive
4
+ * Version: 2.3.0
5
  * Description: Tabs Responsive is the most easiest drag & drop Tabs builder for WordPress. You can add unlimited Tabs with unlimited color Scheme.
6
  * Author: wpshopmart
7
  * Author URI: https://www.wpshopmart.com
template/content.php CHANGED
@@ -9,6 +9,11 @@
9
  $post_id = get_the_ID();
10
 
11
  $Tabs_Settings = unserialize(get_post_meta( $post_id, 'Tabs_R_Settings', true));
 
 
 
 
 
12
  if(count($Tabs_Settings))
13
  {
14
  $option_names = array(
9
  $post_id = get_the_ID();
10
 
11
  $Tabs_Settings = unserialize(get_post_meta( $post_id, 'Tabs_R_Settings', true));
12
+
13
+ /*echo "<pre>";
14
+ print_r($Tabs_Settings);
15
+ die;*/
16
+
17
  if(count($Tabs_Settings))
18
  {
19
  $option_names = array(