WP Product Review Lite - Version 3.3.0

Version Description

  • 2017-11-27
Download this release

Release Info

Developer codeinwp
Plugin Icon WP Product Review Lite
Version 3.3.0
Comparing to
See all releases

Code changes from version 3.2.1 to 3.3.0

CHANGELOG.md CHANGED
@@ -1,4 +1,15 @@
1
 
 
 
 
 
 
 
 
 
 
 
 
2
  ### v3.2.1 - 2017-11-16
3
  **Changes:**
4
  * Adds compatibility with WordPress 4.9
1
 
2
+ ### v3.3.0 - 2017-12-11
3
+ **Changes:**
4
+ * Fix for comments rating if not all the options are provided.
5
+ * Improved review image description
6
+
7
+ ### v3.3.0 - 2017-11-27
8
+ **Changes:**
9
+ * Fix individual rating influenced by comments.
10
+ * Fix compatibility with various themes.
11
+ * Fix top product widgets sorting when comments influence is on.
12
+
13
  ### v3.2.1 - 2017-11-16
14
  **Changes:**
15
  * Adds compatibility with WordPress 4.9
assets/css/circle.css CHANGED
@@ -5,111 +5,111 @@
5
  *
6
  *****************************************************************/
7
  .rect-auto,
8
- .c100.p51 .slice,
9
- .c100.p52 .slice,
10
- .c100.p53 .slice,
11
- .c100.p54 .slice,
12
- .c100.p55 .slice,
13
- .c100.p56 .slice,
14
- .c100.p57 .slice,
15
- .c100.p58 .slice,
16
- .c100.p59 .slice,
17
- .c100.p60 .slice,
18
- .c100.p61 .slice,
19
- .c100.p62 .slice,
20
- .c100.p63 .slice,
21
- .c100.p64 .slice,
22
- .c100.p65 .slice,
23
- .c100.p66 .slice,
24
- .c100.p67 .slice,
25
- .c100.p68 .slice,
26
- .c100.p69 .slice,
27
- .c100.p70 .slice,
28
- .c100.p71 .slice,
29
- .c100.p72 .slice,
30
- .c100.p73 .slice,
31
- .c100.p74 .slice,
32
- .c100.p75 .slice,
33
- .c100.p76 .slice,
34
- .c100.p77 .slice,
35
- .c100.p78 .slice,
36
- .c100.p79 .slice,
37
- .c100.p80 .slice,
38
- .c100.p81 .slice,
39
- .c100.p82 .slice,
40
- .c100.p83 .slice,
41
- .c100.p84 .slice,
42
- .c100.p85 .slice,
43
- .c100.p86 .slice,
44
- .c100.p87 .slice,
45
- .c100.p88 .slice,
46
- .c100.p89 .slice,
47
- .c100.p90 .slice,
48
- .c100.p91 .slice,
49
- .c100.p92 .slice,
50
- .c100.p93 .slice,
51
- .c100.p94 .slice,
52
- .c100.p95 .slice,
53
- .c100.p96 .slice,
54
- .c100.p97 .slice,
55
- .c100.p98 .slice,
56
- .c100.p99 .slice,
57
- .c100.p100 .slice {
58
  clip: rect(auto, auto, auto, auto);
59
  }
60
 
61
- .pie,
62
- .c100 .bar,
63
- .c100.p51 .fill,
64
- .c100.p52 .fill,
65
- .c100.p53 .fill,
66
- .c100.p54 .fill,
67
- .c100.p55 .fill,
68
- .c100.p56 .fill,
69
- .c100.p57 .fill,
70
- .c100.p58 .fill,
71
- .c100.p59 .fill,
72
- .c100.p60 .fill,
73
- .c100.p61 .fill,
74
- .c100.p62 .fill,
75
- .c100.p63 .fill,
76
- .c100.p64 .fill,
77
- .c100.p65 .fill,
78
- .c100.p66 .fill,
79
- .c100.p67 .fill,
80
- .c100.p68 .fill,
81
- .c100.p69 .fill,
82
- .c100.p70 .fill,
83
- .c100.p71 .fill,
84
- .c100.p72 .fill,
85
- .c100.p73 .fill,
86
- .c100.p74 .fill,
87
- .c100.p75 .fill,
88
- .c100.p76 .fill,
89
- .c100.p77 .fill,
90
- .c100.p78 .fill,
91
- .c100.p79 .fill,
92
- .c100.p80 .fill,
93
- .c100.p81 .fill,
94
- .c100.p82 .fill,
95
- .c100.p83 .fill,
96
- .c100.p84 .fill,
97
- .c100.p85 .fill,
98
- .c100.p86 .fill,
99
- .c100.p87 .fill,
100
- .c100.p88 .fill,
101
- .c100.p89 .fill,
102
- .c100.p90 .fill,
103
- .c100.p91 .fill,
104
- .c100.p92 .fill,
105
- .c100.p93 .fill,
106
- .c100.p94 .fill,
107
- .c100.p95 .fill,
108
- .c100.p96 .fill,
109
- .c100.p97 .fill,
110
- .c100.p98 .fill,
111
- .c100.p99 .fill,
112
- .c100.p100 .fill {
113
  clip: rect(0em, 0.5em, 1em, 0em);
114
  position: absolute;
115
  box-sizing: border-box;
@@ -122,113 +122,113 @@
122
  transform: rotate(0deg);
123
  }
124
 
125
- .pie-fill,
126
- .c100.p51 .bar:after,
127
- .c100.p51 .fill,
128
- .c100.p52 .bar:after,
129
- .c100.p52 .fill,
130
- .c100.p53 .bar:after,
131
- .c100.p53 .fill,
132
- .c100.p54 .bar:after,
133
- .c100.p54 .fill,
134
- .c100.p55 .bar:after,
135
- .c100.p55 .fill,
136
- .c100.p56 .bar:after,
137
- .c100.p56 .fill,
138
- .c100.p57 .bar:after,
139
- .c100.p57 .fill,
140
- .c100.p58 .bar:after,
141
- .c100.p58 .fill,
142
- .c100.p59 .bar:after,
143
- .c100.p59 .fill,
144
- .c100.p60 .bar:after,
145
- .c100.p60 .fill,
146
- .c100.p61 .bar:after,
147
- .c100.p61 .fill,
148
- .c100.p62 .bar:after,
149
- .c100.p62 .fill,
150
- .c100.p63 .bar:after,
151
- .c100.p63 .fill,
152
- .c100.p64 .bar:after,
153
- .c100.p64 .fill,
154
- .c100.p65 .bar:after,
155
- .c100.p65 .fill,
156
- .c100.p66 .bar:after,
157
- .c100.p66 .fill,
158
- .c100.p67 .bar:after,
159
- .c100.p67 .fill,
160
- .c100.p68 .bar:after,
161
- .c100.p68 .fill,
162
- .c100.p69 .bar:after,
163
- .c100.p69 .fill,
164
- .c100.p70 .bar:after,
165
- .c100.p70 .fill,
166
- .c100.p71 .bar:after,
167
- .c100.p71 .fill,
168
- .c100.p72 .bar:after,
169
- .c100.p72 .fill,
170
- .c100.p73 .bar:after,
171
- .c100.p73 .fill,
172
- .c100.p74 .bar:after,
173
- .c100.p74 .fill,
174
- .c100.p75 .bar:after,
175
- .c100.p75 .fill,
176
- .c100.p76 .bar:after,
177
- .c100.p76 .fill,
178
- .c100.p77 .bar:after,
179
- .c100.p77 .fill,
180
- .c100.p78 .bar:after,
181
- .c100.p78 .fill,
182
- .c100.p79 .bar:after,
183
- .c100.p79 .fill,
184
- .c100.p80 .bar:after,
185
- .c100.p80 .fill,
186
- .c100.p81 .bar:after,
187
- .c100.p81 .fill,
188
- .c100.p82 .bar:after,
189
- .c100.p82 .fill,
190
- .c100.p83 .bar:after,
191
- .c100.p83 .fill,
192
- .c100.p84 .bar:after,
193
- .c100.p84 .fill,
194
- .c100.p85 .bar:after,
195
- .c100.p85 .fill,
196
- .c100.p86 .bar:after,
197
- .c100.p86 .fill,
198
- .c100.p87 .bar:after,
199
- .c100.p87 .fill,
200
- .c100.p88 .bar:after,
201
- .c100.p88 .fill,
202
- .c100.p89 .bar:after,
203
- .c100.p89 .fill,
204
- .c100.p90 .bar:after,
205
- .c100.p90 .fill,
206
- .c100.p91 .bar:after,
207
- .c100.p91 .fill,
208
- .c100.p92 .bar:after,
209
- .c100.p92 .fill,
210
- .c100.p93 .bar:after,
211
- .c100.p93 .fill,
212
- .c100.p94 .bar:after,
213
- .c100.p94 .fill,
214
- .c100.p95 .bar:after,
215
- .c100.p95 .fill,
216
- .c100.p96 .bar:after,
217
- .c100.p96 .fill,
218
- .c100.p97 .bar:after,
219
- .c100.p97 .fill,
220
- .c100.p98 .bar:after,
221
- .c100.p98 .fill,
222
- .c100.p99 .bar:after,
223
- .c100.p99 .fill,
224
- .c100.p100 .bar:after,
225
- .c100.p100 .fill {
226
  -webkit-transform: rotate(180deg);
227
  -ms-transform: rotate(180deg);
228
  transform: rotate(180deg);
229
  }
230
 
231
- .c100 {
232
  display: inline-block;
233
  position: absolute;
234
  top: 50%;
@@ -247,12 +247,12 @@
247
  transform: translate(-50%,-50%);
248
  }
249
 
250
- .c100.center {
251
  float: none;
252
  margin: 0 auto;
253
  }
254
 
255
- .c100 > span {
256
  display: block;
257
  position: absolute;
258
  z-index: 1;
@@ -275,7 +275,7 @@
275
  transition-property: all;
276
  }
277
 
278
- .c100 .slice-center {
279
  display: block;
280
  box-sizing: border-box;
281
  width: 100%;
@@ -283,7 +283,7 @@
283
  padding: 15px;
284
  }
285
 
286
- .c100 .slice-center:after {
287
  display: block;
288
  width: 100%;
289
  height: 100%;
@@ -292,608 +292,608 @@
292
  content: " ";
293
  }
294
 
295
- .c100 .slice {
296
  clip: rect(0em, 1em, 1em, 0.5em);
297
  position: absolute;
298
  width: 100%;
299
  height: 100%;
300
  }
301
 
302
- .c100.p1 .bar {
303
  -webkit-transform: rotate(3.6deg);
304
  -ms-transform: rotate(3.6deg);
305
  transform: rotate(3.6deg);
306
  }
307
 
308
- .c100.p2 .bar {
309
  -webkit-transform: rotate(7.2deg);
310
  -ms-transform: rotate(7.2deg);
311
  transform: rotate(7.2deg);
312
  }
313
 
314
- .c100.p3 .bar {
315
  -webkit-transform: rotate(10.8deg);
316
  -ms-transform: rotate(10.8deg);
317
  transform: rotate(10.8deg);
318
  }
319
 
320
- .c100.p4 .bar {
321
  -webkit-transform: rotate(14.4deg);
322
  -ms-transform: rotate(14.4deg);
323
  transform: rotate(14.4deg);
324
  }
325
 
326
- .c100.p5 .bar {
327
  -webkit-transform: rotate(18deg);
328
  -ms-transform: rotate(18deg);
329
  transform: rotate(18deg);
330
  }
331
 
332
- .c100.p6 .bar {
333
  -webkit-transform: rotate(21.6deg);
334
  -ms-transform: rotate(21.6deg);
335
  transform: rotate(21.6deg);
336
  }
337
 
338
- .c100.p7 .bar {
339
  -webkit-transform: rotate(25.2deg);
340
  -ms-transform: rotate(25.2deg);
341
  transform: rotate(25.2deg);
342
  }
343
 
344
- .c100.p8 .bar {
345
  -webkit-transform: rotate(28.8deg);
346
  -ms-transform: rotate(28.8deg);
347
  transform: rotate(28.8deg);
348
  }
349
 
350
- .c100.p9 .bar {
351
  -webkit-transform: rotate(32.4deg);
352
  -ms-transform: rotate(32.4deg);
353
  transform: rotate(32.4deg);
354
  }
355
 
356
- .c100.p10 .bar {
357
  -webkit-transform: rotate(36deg);
358
  -ms-transform: rotate(36deg);
359
  transform: rotate(36deg);
360
  }
361
 
362
- .c100.p11 .bar {
363
  -webkit-transform: rotate(39.6deg);
364
  -ms-transform: rotate(39.6deg);
365
  transform: rotate(39.6deg);
366
  }
367
 
368
- .c100.p12 .bar {
369
  -webkit-transform: rotate(43.2deg);
370
  -ms-transform: rotate(43.2deg);
371
  transform: rotate(43.2deg);
372
  }
373
 
374
- .c100.p13 .bar {
375
  -webkit-transform: rotate(46.8deg);
376
  -ms-transform: rotate(46.8deg);
377
  transform: rotate(46.8deg);
378
  }
379
 
380
- .c100.p14 .bar {
381
  -webkit-transform: rotate(50.4deg);
382
  -ms-transform: rotate(50.4deg);
383
  transform: rotate(50.4deg);
384
  }
385
 
386
- .c100.p15 .bar {
387
  -webkit-transform: rotate(54deg);
388
  -ms-transform: rotate(54deg);
389
  transform: rotate(54deg);
390
  }
391
 
392
- .c100.p16 .bar {
393
  -webkit-transform: rotate(57.6deg);
394
  -ms-transform: rotate(57.6deg);
395
  transform: rotate(57.6deg);
396
  }
397
 
398
- .c100.p17 .bar {
399
  -webkit-transform: rotate(61.2deg);
400
  -ms-transform: rotate(61.2deg);
401
  transform: rotate(61.2deg);
402
  }
403
 
404
- .c100.p18 .bar {
405
  -webkit-transform: rotate(64.8deg);
406
  -ms-transform: rotate(64.8deg);
407
  transform: rotate(64.8deg);
408
  }
409
 
410
- .c100.p19 .bar {
411
  -webkit-transform: rotate(68.4deg);
412
  -ms-transform: rotate(68.4deg);
413
  transform: rotate(68.4deg);
414
  }
415
 
416
- .c100.p20 .bar {
417
  -webkit-transform: rotate(72deg);
418
  -ms-transform: rotate(72deg);
419
  transform: rotate(72deg);
420
  }
421
 
422
- .c100.p21 .bar {
423
  -webkit-transform: rotate(75.6deg);
424
  -ms-transform: rotate(75.6deg);
425
  transform: rotate(75.6deg);
426
  }
427
 
428
- .c100.p22 .bar {
429
  -webkit-transform: rotate(79.2deg);
430
  -ms-transform: rotate(79.2deg);
431
  transform: rotate(79.2deg);
432
  }
433
 
434
- .c100.p23 .bar {
435
  -webkit-transform: rotate(82.8deg);
436
  -ms-transform: rotate(82.8deg);
437
  transform: rotate(82.8deg);
438
  }
439
 
440
- .c100.p24 .bar {
441
  -webkit-transform: rotate(86.4deg);
442
  -ms-transform: rotate(86.4deg);
443
  transform: rotate(86.4deg);
444
  }
445
 
446
- .c100.p25 .bar {
447
  -webkit-transform: rotate(90deg);
448
  -ms-transform: rotate(90deg);
449
  transform: rotate(90deg);
450
  }
451
 
452
- .c100.p26 .bar {
453
  -webkit-transform: rotate(93.6deg);
454
  -ms-transform: rotate(93.6deg);
455
  transform: rotate(93.6deg);
456
  }
457
 
458
- .c100.p27 .bar {
459
  -webkit-transform: rotate(97.2deg);
460
  -ms-transform: rotate(97.2deg);
461
  transform: rotate(97.2deg);
462
  }
463
 
464
- .c100.p28 .bar {
465
  -webkit-transform: rotate(100.8deg);
466
  -ms-transform: rotate(100.8deg);
467
  transform: rotate(100.8deg);
468
  }
469
 
470
- .c100.p29 .bar {
471
  -webkit-transform: rotate(104.4deg);
472
  -ms-transform: rotate(104.4deg);
473
  transform: rotate(104.4deg);
474
  }
475
 
476
- .c100.p30 .bar {
477
  -webkit-transform: rotate(108deg);
478
  -ms-transform: rotate(108deg);
479
  transform: rotate(108deg);
480
  }
481
 
482
- .c100.p31 .bar {
483
  -webkit-transform: rotate(111.6deg);
484
  -ms-transform: rotate(111.6deg);
485
  transform: rotate(111.6deg);
486
  }
487
 
488
- .c100.p32 .bar {
489
  -webkit-transform: rotate(115.2deg);
490
  -ms-transform: rotate(115.2deg);
491
  transform: rotate(115.2deg);
492
  }
493
 
494
- .c100.p33 .bar {
495
  -webkit-transform: rotate(118.8deg);
496
  -ms-transform: rotate(118.8deg);
497
  transform: rotate(118.8deg);
498
  }
499
 
500
- .c100.p34 .bar {
501
  -webkit-transform: rotate(122.4deg);
502
  -ms-transform: rotate(122.4deg);
503
  transform: rotate(122.4deg);
504
  }
505
 
506
- .c100.p35 .bar {
507
  -webkit-transform: rotate(126deg);
508
  -ms-transform: rotate(126deg);
509
  transform: rotate(126deg);
510
  }
511
 
512
- .c100.p36 .bar {
513
  -webkit-transform: rotate(129.6deg);
514
  -ms-transform: rotate(129.6deg);
515
  transform: rotate(129.6deg);
516
  }
517
 
518
- .c100.p37 .bar {
519
  -webkit-transform: rotate(133.2deg);
520
  -ms-transform: rotate(133.2deg);
521
  transform: rotate(133.2deg);
522
  }
523
 
524
- .c100.p38 .bar {
525
  -webkit-transform: rotate(136.8deg);
526
  -ms-transform: rotate(136.8deg);
527
  transform: rotate(136.8deg);
528
  }
529
 
530
- .c100.p39 .bar {
531
  -webkit-transform: rotate(140.4deg);
532
  -ms-transform: rotate(140.4deg);
533
  transform: rotate(140.4deg);
534
  }
535
 
536
- .c100.p40 .bar {
537
  -webkit-transform: rotate(144deg);
538
  -ms-transform: rotate(144deg);
539
  transform: rotate(144deg);
540
  }
541
 
542
- .c100.p41 .bar {
543
  -webkit-transform: rotate(147.6deg);
544
  -ms-transform: rotate(147.6deg);
545
  transform: rotate(147.6deg);
546
  }
547
 
548
- .c100.p42 .bar {
549
  -webkit-transform: rotate(151.2deg);
550
  -ms-transform: rotate(151.2deg);
551
  transform: rotate(151.2deg);
552
  }
553
 
554
- .c100.p43 .bar {
555
  -webkit-transform: rotate(154.8deg);
556
  -ms-transform: rotate(154.8deg);
557
  transform: rotate(154.8deg);
558
  }
559
 
560
- .c100.p44 .bar {
561
  -webkit-transform: rotate(158.4deg);
562
  -ms-transform: rotate(158.4deg);
563
  transform: rotate(158.4deg);
564
  }
565
 
566
- .c100.p45 .bar {
567
  -webkit-transform: rotate(162deg);
568
  -ms-transform: rotate(162deg);
569
  transform: rotate(162deg);
570
  }
571
 
572
- .c100.p46 .bar {
573
  -webkit-transform: rotate(165.6deg);
574
  -ms-transform: rotate(165.6deg);
575
  transform: rotate(165.6deg);
576
  }
577
 
578
- .c100.p47 .bar {
579
  -webkit-transform: rotate(169.2deg);
580
  -ms-transform: rotate(169.2deg);
581
  transform: rotate(169.2deg);
582
  }
583
 
584
- .c100.p48 .bar {
585
  -webkit-transform: rotate(172.8deg);
586
  -ms-transform: rotate(172.8deg);
587
  transform: rotate(172.8deg);
588
  }
589
 
590
- .c100.p49 .bar {
591
  -webkit-transform: rotate(176.4deg);
592
  -ms-transform: rotate(176.4deg);
593
  transform: rotate(176.4deg);
594
  }
595
 
596
- .c100.p50 .bar {
597
  -webkit-transform: rotate(180deg);
598
  -ms-transform: rotate(180deg);
599
  transform: rotate(180deg);
600
  }
601
 
602
- .c100.p51 .bar {
603
  -webkit-transform: rotate(183.6deg);
604
  -ms-transform: rotate(183.6deg);
605
  transform: rotate(183.6deg);
606
  }
607
 
608
- .c100.p52 .bar {
609
  -webkit-transform: rotate(187.2deg);
610
  -ms-transform: rotate(187.2deg);
611
  transform: rotate(187.2deg);
612
  }
613
 
614
- .c100.p53 .bar {
615
  -webkit-transform: rotate(190.8deg);
616
  -ms-transform: rotate(190.8deg);
617
  transform: rotate(190.8deg);
618
  }
619
 
620
- .c100.p54 .bar {
621
  -webkit-transform: rotate(194.4deg);
622
  -ms-transform: rotate(194.4deg);
623
  transform: rotate(194.4deg);
624
  }
625
 
626
- .c100.p55 .bar {
627
  -webkit-transform: rotate(198deg);
628
  -ms-transform: rotate(198deg);
629
  transform: rotate(198deg);
630
  }
631
 
632
- .c100.p56 .bar {
633
  -webkit-transform: rotate(201.6deg);
634
  -ms-transform: rotate(201.6deg);
635
  transform: rotate(201.6deg);
636
  }
637
 
638
- .c100.p57 .bar {
639
  -webkit-transform: rotate(205.2deg);
640
  -ms-transform: rotate(205.2deg);
641
  transform: rotate(205.2deg);
642
  }
643
 
644
- .c100.p58 .bar {
645
  -webkit-transform: rotate(208.8deg);
646
  -ms-transform: rotate(208.8deg);
647
  transform: rotate(208.8deg);
648
  }
649
 
650
- .c100.p59 .bar {
651
  -webkit-transform: rotate(212.4deg);
652
  -ms-transform: rotate(212.4deg);
653
  transform: rotate(212.4deg);
654
  }
655
 
656
- .c100.p60 .bar {
657
  -webkit-transform: rotate(216deg);
658
  -ms-transform: rotate(216deg);
659
  transform: rotate(216deg);
660
  }
661
 
662
- .c100.p61 .bar {
663
  -webkit-transform: rotate(219.6deg);
664
  -ms-transform: rotate(219.6deg);
665
  transform: rotate(219.6deg);
666
  }
667
 
668
- .c100.p62 .bar {
669
  -webkit-transform: rotate(223.2deg);
670
  -ms-transform: rotate(223.2deg);
671
  transform: rotate(223.2deg);
672
  }
673
 
674
- .c100.p63 .bar {
675
  -webkit-transform: rotate(226.8deg);
676
  -ms-transform: rotate(226.8deg);
677
  transform: rotate(226.8deg);
678
  }
679
 
680
- .c100.p64 .bar {
681
  -webkit-transform: rotate(230.4deg);
682
  -ms-transform: rotate(230.4deg);
683
  transform: rotate(230.4deg);
684
  }
685
 
686
- .c100.p65 .bar {
687
  -webkit-transform: rotate(234deg);
688
  -ms-transform: rotate(234deg);
689
  transform: rotate(234deg);
690
  }
691
 
692
- .c100.p66 .bar {
693
  -webkit-transform: rotate(237.6deg);
694
  -ms-transform: rotate(237.6deg);
695
  transform: rotate(237.6deg);
696
  }
697
 
698
- .c100.p67 .bar {
699
  -webkit-transform: rotate(241.2deg);
700
  -ms-transform: rotate(241.2deg);
701
  transform: rotate(241.2deg);
702
  }
703
 
704
- .c100.p68 .bar {
705
  -webkit-transform: rotate(244.8deg);
706
  -ms-transform: rotate(244.8deg);
707
  transform: rotate(244.8deg);
708
  }
709
 
710
- .c100.p69 .bar {
711
  -webkit-transform: rotate(248.4deg);
712
  -ms-transform: rotate(248.4deg);
713
  transform: rotate(248.4deg);
714
  }
715
 
716
- .c100.p70 .bar {
717
  -webkit-transform: rotate(252deg);
718
  -ms-transform: rotate(252deg);
719
  transform: rotate(252deg);
720
  }
721
 
722
- .c100.p71 .bar {
723
  -webkit-transform: rotate(255.6deg);
724
  -ms-transform: rotate(255.6deg);
725
  transform: rotate(255.6deg);
726
  }
727
 
728
- .c100.p72 .bar {
729
  -webkit-transform: rotate(259.2deg);
730
  -ms-transform: rotate(259.2deg);
731
  transform: rotate(259.2deg);
732
  }
733
 
734
- .c100.p73 .bar {
735
  -webkit-transform: rotate(262.8deg);
736
  -ms-transform: rotate(262.8deg);
737
  transform: rotate(262.8deg);
738
  }
739
 
740
- .c100.p74 .bar {
741
  -webkit-transform: rotate(266.4deg);
742
  -ms-transform: rotate(266.4deg);
743
  transform: rotate(266.4deg);
744
  }
745
 
746
- .c100.p75 .bar {
747
  -webkit-transform: rotate(270deg);
748
  -ms-transform: rotate(270deg);
749
  transform: rotate(270deg);
750
  }
751
 
752
- .c100.p76 .bar {
753
  -webkit-transform: rotate(273.6deg);
754
  -ms-transform: rotate(273.6deg);
755
  transform: rotate(273.6deg);
756
  }
757
 
758
- .c100.p77 .bar {
759
  -webkit-transform: rotate(277.2deg);
760
  -ms-transform: rotate(277.2deg);
761
  transform: rotate(277.2deg);
762
  }
763
 
764
- .c100.p78 .bar {
765
  -webkit-transform: rotate(280.8deg);
766
  -ms-transform: rotate(280.8deg);
767
  transform: rotate(280.8deg);
768
  }
769
 
770
- .c100.p79 .bar {
771
  -webkit-transform: rotate(284.4deg);
772
  -ms-transform: rotate(284.4deg);
773
  transform: rotate(284.4deg);
774
  }
775
 
776
- .c100.p80 .bar {
777
  -webkit-transform: rotate(288deg);
778
  -ms-transform: rotate(288deg);
779
  transform: rotate(288deg);
780
  }
781
 
782
- .c100.p81 .bar {
783
  -webkit-transform: rotate(291.6deg);
784
  -ms-transform: rotate(291.6deg);
785
  transform: rotate(291.6deg);
786
  }
787
 
788
- .c100.p82 .bar {
789
  -webkit-transform: rotate(295.2deg);
790
  -ms-transform: rotate(295.2deg);
791
  transform: rotate(295.2deg);
792
  }
793
 
794
- .c100.p83 .bar {
795
  -webkit-transform: rotate(298.8deg);
796
  -ms-transform: rotate(298.8deg);
797
  transform: rotate(298.8deg);
798
  }
799
 
800
- .c100.p84 .bar {
801
  -webkit-transform: rotate(302.4deg);
802
  -ms-transform: rotate(302.4deg);
803
  transform: rotate(302.4deg);
804
  }
805
 
806
- .c100.p85 .bar {
807
  -webkit-transform: rotate(306deg);
808
  -ms-transform: rotate(306deg);
809
  transform: rotate(306deg);
810
  }
811
 
812
- .c100.p86 .bar {
813
  -webkit-transform: rotate(309.6deg);
814
  -ms-transform: rotate(309.6deg);
815
  transform: rotate(309.6deg);
816
  }
817
 
818
- .c100.p87 .bar {
819
  -webkit-transform: rotate(313.2deg);
820
  -ms-transform: rotate(313.2deg);
821
  transform: rotate(313.2deg);
822
  }
823
 
824
- .c100.p88 .bar {
825
  -webkit-transform: rotate(316.8deg);
826
  -ms-transform: rotate(316.8deg);
827
  transform: rotate(316.8deg);
828
  }
829
 
830
- .c100.p89 .bar {
831
  -webkit-transform: rotate(320.4deg);
832
  -ms-transform: rotate(320.4deg);
833
  transform: rotate(320.4deg);
834
  }
835
 
836
- .c100.p90 .bar {
837
  -webkit-transform: rotate(324deg);
838
  -ms-transform: rotate(324deg);
839
  transform: rotate(324deg);
840
  }
841
 
842
- .c100.p91 .bar {
843
  -webkit-transform: rotate(327.6deg);
844
  -ms-transform: rotate(327.6deg);
845
  transform: rotate(327.6deg);
846
  }
847
 
848
- .c100.p92 .bar {
849
  -webkit-transform: rotate(331.2deg);
850
  -ms-transform: rotate(331.2deg);
851
  transform: rotate(331.2deg);
852
  }
853
 
854
- .c100.p93 .bar {
855
  -webkit-transform: rotate(334.8deg);
856
  -ms-transform: rotate(334.8deg);
857
  transform: rotate(334.8deg);
858
  }
859
 
860
- .c100.p94 .bar {
861
  -webkit-transform: rotate(338.4deg);
862
  -ms-transform: rotate(338.4deg);
863
  transform: rotate(338.4deg);
864
  }
865
 
866
- .c100.p95 .bar {
867
  -webkit-transform: rotate(342deg);
868
  -ms-transform: rotate(342deg);
869
  transform: rotate(342deg);
870
  }
871
 
872
- .c100.p96 .bar {
873
  -webkit-transform: rotate(345.6deg);
874
  -ms-transform: rotate(345.6deg);
875
  transform: rotate(345.6deg);
876
  }
877
 
878
- .c100.p97 .bar {
879
  -webkit-transform: rotate(349.2deg);
880
  -ms-transform: rotate(349.2deg);
881
  transform: rotate(349.2deg);
882
  }
883
 
884
- .c100.p98 .bar {
885
  -webkit-transform: rotate(352.8deg);
886
  -ms-transform: rotate(352.8deg);
887
  transform: rotate(352.8deg);
888
  }
889
 
890
- .c100.p99 .bar {
891
  -webkit-transform: rotate(356.4deg);
892
  -ms-transform: rotate(356.4deg);
893
  transform: rotate(356.4deg);
894
  }
895
 
896
- .c100.p100 .bar {
897
  -webkit-transform: rotate(360deg);
898
  -ms-transform: rotate(360deg);
899
  transform: rotate(360deg);
5
  *
6
  *****************************************************************/
7
  .rect-auto,
8
+ .wppr-c100.wppr-p51 .wppr-slice,
9
+ .wppr-c100.wppr-p52 .wppr-slice,
10
+ .wppr-c100.wppr-p53 .wppr-slice,
11
+ .wppr-c100.wppr-p54 .wppr-slice,
12
+ .wppr-c100.wppr-p55 .wppr-slice,
13
+ .wppr-c100.wppr-p56 .wppr-slice,
14
+ .wppr-c100.wppr-p57 .wppr-slice,
15
+ .wppr-c100.wppr-p58 .wppr-slice,
16
+ .wppr-c100.wppr-p59 .wppr-slice,
17
+ .wppr-c100.wppr-p60 .wppr-slice,
18
+ .wppr-c100.wppr-p61 .wppr-slice,
19
+ .wppr-c100.wppr-p62 .wppr-slice,
20
+ .wppr-c100.wppr-p63 .wppr-slice,
21
+ .wppr-c100.wppr-p64 .wppr-slice,
22
+ .wppr-c100.wppr-p65 .wppr-slice,
23
+ .wppr-c100.wppr-p66 .wppr-slice,
24
+ .wppr-c100.wppr-p67 .wppr-slice,
25
+ .wppr-c100.wppr-p68 .wppr-slice,
26
+ .wppr-c100.wppr-p69 .wppr-slice,
27
+ .wppr-c100.wppr-p70 .wppr-slice,
28
+ .wppr-c100.wppr-p71 .wppr-slice,
29
+ .wppr-c100.wppr-p72 .wppr-slice,
30
+ .wppr-c100.wppr-p73 .wppr-slice,
31
+ .wppr-c100.wppr-p74 .wppr-slice,
32
+ .wppr-c100.wppr-p75 .wppr-slice,
33
+ .wppr-c100.wppr-p76 .wppr-slice,
34
+ .wppr-c100.wppr-p77 .wppr-slice,
35
+ .wppr-c100.wppr-p78 .wppr-slice,
36
+ .wppr-c100.wppr-p79 .wppr-slice,
37
+ .wppr-c100.wppr-p80 .wppr-slice,
38
+ .wppr-c100.wppr-p81 .wppr-slice,
39
+ .wppr-c100.wppr-p82 .wppr-slice,
40
+ .wppr-c100.wppr-p83 .wppr-slice,
41
+ .wppr-c100.wppr-p84 .wppr-slice,
42
+ .wppr-c100.wppr-p85 .wppr-slice,
43
+ .wppr-c100.wppr-p86 .wppr-slice,
44
+ .wppr-c100.wppr-p87 .wppr-slice,
45
+ .wppr-c100.wppr-p88 .wppr-slice,
46
+ .wppr-c100.wppr-p89 .wppr-slice,
47
+ .wppr-c100.wppr-p90 .wppr-slice,
48
+ .wppr-c100.wppr-p91 .wppr-slice,
49
+ .wppr-c100.wppr-p92 .wppr-slice,
50
+ .wppr-c100.wppr-p93 .wppr-slice,
51
+ .wppr-c100.wppr-p94 .wppr-slice,
52
+ .wppr-c100.wppr-p95 .wppr-slice,
53
+ .wppr-c100.wppr-p96 .wppr-slice,
54
+ .wppr-c100.wppr-p97 .wppr-slice,
55
+ .wppr-c100.wppr-p98 .wppr-slice,
56
+ .wppr-c100.wppr-p99 .wppr-slice,
57
+ .wppr-c100.wppr-p100 .wppr-slice {
58
  clip: rect(auto, auto, auto, auto);
59
  }
60
 
61
+ .wppr-pie,
62
+ .wppr-c100 .wppr-bar,
63
+ .wppr-c100.wppr-p51 .wppr-fill,
64
+ .wppr-c100.wppr-p52 .wppr-fill,
65
+ .wppr-c100.wppr-p53 .wppr-fill,
66
+ .wppr-c100.wppr-p54 .wppr-fill,
67
+ .wppr-c100.wppr-p55 .wppr-fill,
68
+ .wppr-c100.wppr-p56 .wppr-fill,
69
+ .wppr-c100.wppr-p57 .wppr-fill,
70
+ .wppr-c100.wppr-p58 .wppr-fill,
71
+ .wppr-c100.wppr-p59 .wppr-fill,
72
+ .wppr-c100.wppr-p60 .wppr-fill,
73
+ .wppr-c100.wppr-p61 .wppr-fill,
74
+ .wppr-c100.wppr-p62 .wppr-fill,
75
+ .wppr-c100.wppr-p63 .wppr-fill,
76
+ .wppr-c100.wppr-p64 .wppr-fill,
77
+ .wppr-c100.wppr-p65 .wppr-fill,
78
+ .wppr-c100.wppr-p66 .wppr-fill,
79
+ .wppr-c100.wppr-p67 .wppr-fill,
80
+ .wppr-c100.wppr-p68 .wppr-fill,
81
+ .wppr-c100.wppr-p69 .wppr-fill,
82
+ .wppr-c100.wppr-p70 .wppr-fill,
83
+ .wppr-c100.wppr-p71 .wppr-fill,
84
+ .wppr-c100.wppr-p72 .wppr-fill,
85
+ .wppr-c100.wppr-p73 .wppr-fill,
86
+ .wppr-c100.wppr-p74 .wppr-fill,
87
+ .wppr-c100.wppr-p75 .wppr-fill,
88
+ .wppr-c100.wppr-p76 .wppr-fill,
89
+ .wppr-c100.wppr-p77 .wppr-fill,
90
+ .wppr-c100.wppr-p78 .wppr-fill,
91
+ .wppr-c100.wppr-p79 .wppr-fill,
92
+ .wppr-c100.wppr-p80 .wppr-fill,
93
+ .wppr-c100.wppr-p81 .wppr-fill,
94
+ .wppr-c100.wppr-p82 .wppr-fill,
95
+ .wppr-c100.wppr-p83 .wppr-fill,
96
+ .wppr-c100.wppr-p84 .wppr-fill,
97
+ .wppr-c100.wppr-p85 .wppr-fill,
98
+ .wppr-c100.wppr-p86 .wppr-fill,
99
+ .wppr-c100.wppr-p87 .wppr-fill,
100
+ .wppr-c100.wppr-p88 .wppr-fill,
101
+ .wppr-c100.wppr-p89 .wppr-fill,
102
+ .wppr-c100.wppr-p90 .wppr-fill,
103
+ .wppr-c100.wppr-p91 .wppr-fill,
104
+ .wppr-c100.wppr-p92 .wppr-fill,
105
+ .wppr-c100.wppr-p93 .wppr-fill,
106
+ .wppr-c100.wppr-p94 .wppr-fill,
107
+ .wppr-c100.wppr-p95 .wppr-fill,
108
+ .wppr-c100.wppr-p96 .wppr-fill,
109
+ .wppr-c100.wppr-p97 .wppr-fill,
110
+ .wppr-c100.wppr-p98 .wppr-fill,
111
+ .wppr-c100.wppr-p99 .wppr-fill,
112
+ .wppr-c100.wppr-p100 .wppr-fill {
113
  clip: rect(0em, 0.5em, 1em, 0em);
114
  position: absolute;
115
  box-sizing: border-box;
122
  transform: rotate(0deg);
123
  }
124
 
125
+ .wppr-pie-fill,
126
+ .wppr-c100.wppr-p51 .wppr-bar:after,
127
+ .wppr-c100.wppr-p51 .wppr-fill,
128
+ .wppr-c100.wppr-p52 .wppr-bar:after,
129
+ .wppr-c100.wppr-p52 .wppr-fill,
130
+ .wppr-c100.wppr-p53 .wppr-bar:after,
131
+ .wppr-c100.wppr-p53 .wppr-fill,
132
+ .wppr-c100.wppr-p54 .wppr-bar:after,
133
+ .wppr-c100.wppr-p54 .wppr-fill,
134
+ .wppr-c100.wppr-p55 .wppr-bar:after,
135
+ .wppr-c100.wppr-p55 .wppr-fill,
136
+ .wppr-c100.wppr-p56 .wppr-bar:after,
137
+ .wppr-c100.wppr-p56 .wppr-fill,
138
+ .wppr-c100.wppr-p57 .wppr-bar:after,
139
+ .wppr-c100.wppr-p57 .wppr-fill,
140
+ .wppr-c100.wppr-p58 .wppr-bar:after,
141
+ .wppr-c100.wppr-p58 .wppr-fill,
142
+ .wppr-c100.wppr-p59 .wppr-bar:after,
143
+ .wppr-c100.wppr-p59 .wppr-fill,
144
+ .wppr-c100.wppr-p60 .wppr-bar:after,
145
+ .wppr-c100.wppr-p60 .wppr-fill,
146
+ .wppr-c100.wppr-p61 .wppr-bar:after,
147
+ .wppr-c100.wppr-p61 .wppr-fill,
148
+ .wppr-c100.wppr-p62 .wppr-bar:after,
149
+ .wppr-c100.wppr-p62 .wppr-fill,
150
+ .wppr-c100.wppr-p63 .wppr-bar:after,
151
+ .wppr-c100.wppr-p63 .wppr-fill,
152
+ .wppr-c100.wppr-p64 .wppr-bar:after,
153
+ .wppr-c100.wppr-p64 .wppr-fill,
154
+ .wppr-c100.wppr-p65 .wppr-bar:after,
155
+ .wppr-c100.wppr-p65 .wppr-fill,
156
+ .wppr-c100.wppr-p66 .wppr-bar:after,
157
+ .wppr-c100.wppr-p66 .wppr-fill,
158
+ .wppr-c100.wppr-p67 .wppr-bar:after,
159
+ .wppr-c100.wppr-p67 .wppr-fill,
160
+ .wppr-c100.wppr-p68 .wppr-bar:after,
161
+ .wppr-c100.wppr-p68 .wppr-fill,
162
+ .wppr-c100.wppr-p69 .wppr-bar:after,
163
+ .wppr-c100.wppr-p69 .wppr-fill,
164
+ .wppr-c100.wppr-p70 .wppr-bar:after,
165
+ .wppr-c100.wppr-p70 .wppr-fill,
166
+ .wppr-c100.wppr-p71 .wppr-bar:after,
167
+ .wppr-c100.wppr-p71 .wppr-fill,
168
+ .wppr-c100.wppr-p72 .wppr-bar:after,
169
+ .wppr-c100.wppr-p72 .wppr-fill,
170
+ .wppr-c100.wppr-p73 .wppr-bar:after,
171
+ .wppr-c100.wppr-p73 .wppr-fill,
172
+ .wppr-c100.wppr-p74 .wppr-bar:after,
173
+ .wppr-c100.wppr-p74 .wppr-fill,
174
+ .wppr-c100.wppr-p75 .wppr-bar:after,
175
+ .wppr-c100.wppr-p75 .wppr-fill,
176
+ .wppr-c100.wppr-p76 .wppr-bar:after,
177
+ .wppr-c100.wppr-p76 .wppr-fill,
178
+ .wppr-c100.wppr-p77 .wppr-bar:after,
179
+ .wppr-c100.wppr-p77 .wppr-fill,
180
+ .wppr-c100.wppr-p78 .wppr-bar:after,
181
+ .wppr-c100.wppr-p78 .wppr-fill,
182
+ .wppr-c100.wppr-p79 .wppr-bar:after,
183
+ .wppr-c100.wppr-p79 .wppr-fill,
184
+ .wppr-c100.wppr-p80 .wppr-bar:after,
185
+ .wppr-c100.wppr-p80 .wppr-fill,
186
+ .wppr-c100.wppr-p81 .wppr-bar:after,
187
+ .wppr-c100.wppr-p81 .wppr-fill,
188
+ .wppr-c100.wppr-p82 .wppr-bar:after,
189
+ .wppr-c100.wppr-p82 .wppr-fill,
190
+ .wppr-c100.wppr-p83 .wppr-bar:after,
191
+ .wppr-c100.wppr-p83 .wppr-fill,
192
+ .wppr-c100.wppr-p84 .wppr-bar:after,
193
+ .wppr-c100.wppr-p84 .wppr-fill,
194
+ .wppr-c100.wppr-p85 .wppr-bar:after,
195
+ .wppr-c100.wppr-p85 .wppr-fill,
196
+ .wppr-c100.wppr-p86 .wppr-bar:after,
197
+ .wppr-c100.wppr-p86 .wppr-fill,
198
+ .wppr-c100.wppr-p87 .wppr-bar:after,
199
+ .wppr-c100.wppr-p87 .wppr-fill,
200
+ .wppr-c100.wppr-p88 .wppr-bar:after,
201
+ .wppr-c100.wppr-p88 .wppr-fill,
202
+ .wppr-c100.wppr-p89 .wppr-bar:after,
203
+ .wppr-c100.wppr-p89 .wppr-fill,
204
+ .wppr-c100.wppr-p90 .wppr-bar:after,
205
+ .wppr-c100.wppr-p90 .wppr-fill,
206
+ .wppr-c100.wppr-p91 .wppr-bar:after,
207
+ .wppr-c100.wppr-p91 .wppr-fill,
208
+ .wppr-c100.wppr-p92 .wppr-bar:after,
209
+ .wppr-c100.wppr-p92 .wppr-fill,
210
+ .wppr-c100.wppr-p93 .wppr-bar:after,
211
+ .wppr-c100.wppr-p93 .wppr-fill,
212
+ .wppr-c100.wppr-p94 .wppr-bar:after,
213
+ .wppr-c100.wppr-p94 .wppr-fill,
214
+ .wppr-c100.wppr-p95 .wppr-bar:after,
215
+ .wppr-c100.wppr-p95 .wppr-fill,
216
+ .wppr-c100.wppr-p96 .wppr-bar:after,
217
+ .wppr-c100.wppr-p96 .wppr-fill,
218
+ .wppr-c100.wppr-p97 .wppr-bar:after,
219
+ .wppr-c100.wppr-p97 .wppr-fill,
220
+ .wppr-c100.wppr-p98 .wppr-bar:after,
221
+ .wppr-c100.wppr-p98 .wppr-fill,
222
+ .wppr-c100.wppr-p99 .wppr-bar:after,
223
+ .wppr-c100.wppr-p99 .wppr-fill,
224
+ .wppr-c100.wppr-p100 .wppr-bar:after,
225
+ .wppr-c100.wppr-p100 .wppr-fill {
226
  -webkit-transform: rotate(180deg);
227
  -ms-transform: rotate(180deg);
228
  transform: rotate(180deg);
229
  }
230
 
231
+ .wppr-c100 {
232
  display: inline-block;
233
  position: absolute;
234
  top: 50%;
247
  transform: translate(-50%,-50%);
248
  }
249
 
250
+ .wppr-c100.center {
251
  float: none;
252
  margin: 0 auto;
253
  }
254
 
255
+ .wppr-c100 > span {
256
  display: block;
257
  position: absolute;
258
  z-index: 1;
275
  transition-property: all;
276
  }
277
 
278
+ .wppr-c100 .wppr-slice-center {
279
  display: block;
280
  box-sizing: border-box;
281
  width: 100%;
283
  padding: 15px;
284
  }
285
 
286
+ .wppr-c100 .wppr-slice-center:after {
287
  display: block;
288
  width: 100%;
289
  height: 100%;
292
  content: " ";
293
  }
294
 
295
+ .wppr-c100 .wppr-slice {
296
  clip: rect(0em, 1em, 1em, 0.5em);
297
  position: absolute;
298
  width: 100%;
299
  height: 100%;
300
  }
301
 
302
+ .wppr-c100.wppr-p1 .wppr-bar {
303
  -webkit-transform: rotate(3.6deg);
304
  -ms-transform: rotate(3.6deg);
305
  transform: rotate(3.6deg);
306
  }
307
 
308
+ .wppr-c100.wppr-p2 .wppr-bar {
309
  -webkit-transform: rotate(7.2deg);
310
  -ms-transform: rotate(7.2deg);
311
  transform: rotate(7.2deg);
312
  }
313
 
314
+ .wppr-c100.wppr-p3 .wppr-bar {
315
  -webkit-transform: rotate(10.8deg);
316
  -ms-transform: rotate(10.8deg);
317
  transform: rotate(10.8deg);
318
  }
319
 
320
+ .wppr-c100.wppr-p4 .wppr-bar {
321
  -webkit-transform: rotate(14.4deg);
322
  -ms-transform: rotate(14.4deg);
323
  transform: rotate(14.4deg);
324
  }
325
 
326
+ .wppr-c100.wppr-p5 .wppr-bar {
327
  -webkit-transform: rotate(18deg);
328
  -ms-transform: rotate(18deg);
329
  transform: rotate(18deg);
330
  }
331
 
332
+ .wppr-c100.wppr-p6 .wppr-bar {
333
  -webkit-transform: rotate(21.6deg);
334
  -ms-transform: rotate(21.6deg);
335
  transform: rotate(21.6deg);
336
  }
337
 
338
+ .wppr-c100.wppr-p7 .wppr-bar {
339
  -webkit-transform: rotate(25.2deg);
340
  -ms-transform: rotate(25.2deg);
341
  transform: rotate(25.2deg);
342
  }
343
 
344
+ .wppr-c100.wppr-p8 .wppr-bar {
345
  -webkit-transform: rotate(28.8deg);
346
  -ms-transform: rotate(28.8deg);
347
  transform: rotate(28.8deg);
348
  }
349
 
350
+ .wppr-c100.wppr-p9 .wppr-bar {
351
  -webkit-transform: rotate(32.4deg);
352
  -ms-transform: rotate(32.4deg);
353
  transform: rotate(32.4deg);
354
  }
355
 
356
+ .wppr-c100.wppr-p10 .wppr-bar {
357
  -webkit-transform: rotate(36deg);
358
  -ms-transform: rotate(36deg);
359
  transform: rotate(36deg);
360
  }
361
 
362
+ .wppr-c100.wppr-p11 .wppr-bar {
363
  -webkit-transform: rotate(39.6deg);
364
  -ms-transform: rotate(39.6deg);
365
  transform: rotate(39.6deg);
366
  }
367
 
368
+ .wppr-c100.wppr-p12 .wppr-bar {
369
  -webkit-transform: rotate(43.2deg);
370
  -ms-transform: rotate(43.2deg);
371
  transform: rotate(43.2deg);
372
  }
373
 
374
+ .wppr-c100.wppr-p13 .wppr-bar {
375
  -webkit-transform: rotate(46.8deg);
376
  -ms-transform: rotate(46.8deg);
377
  transform: rotate(46.8deg);
378
  }
379
 
380
+ .wppr-c100.wppr-p14 .wppr-bar {
381
  -webkit-transform: rotate(50.4deg);
382
  -ms-transform: rotate(50.4deg);
383
  transform: rotate(50.4deg);
384
  }
385
 
386
+ .wppr-c100.wppr-p15 .wppr-bar {
387
  -webkit-transform: rotate(54deg);
388
  -ms-transform: rotate(54deg);
389
  transform: rotate(54deg);
390
  }
391
 
392
+ .wppr-c100.wppr-p16 .wppr-bar {
393
  -webkit-transform: rotate(57.6deg);
394
  -ms-transform: rotate(57.6deg);
395
  transform: rotate(57.6deg);
396
  }
397
 
398
+ .wppr-c100.wppr-p17 .wppr-bar {
399
  -webkit-transform: rotate(61.2deg);
400
  -ms-transform: rotate(61.2deg);
401
  transform: rotate(61.2deg);
402
  }
403
 
404
+ .wppr-c100.wppr-p18 .wppr-bar {
405
  -webkit-transform: rotate(64.8deg);
406
  -ms-transform: rotate(64.8deg);
407
  transform: rotate(64.8deg);
408
  }
409
 
410
+ .wppr-c100.wppr-p19 .wppr-bar {
411
  -webkit-transform: rotate(68.4deg);
412
  -ms-transform: rotate(68.4deg);
413
  transform: rotate(68.4deg);
414
  }
415
 
416
+ .wppr-c100.wppr-p20 .wppr-bar {
417
  -webkit-transform: rotate(72deg);
418
  -ms-transform: rotate(72deg);
419
  transform: rotate(72deg);
420
  }
421
 
422
+ .wppr-c100.wppr-p21 .wppr-bar {
423
  -webkit-transform: rotate(75.6deg);
424
  -ms-transform: rotate(75.6deg);
425
  transform: rotate(75.6deg);
426
  }
427
 
428
+ .wppr-c100.wppr-p22 .wppr-bar {
429
  -webkit-transform: rotate(79.2deg);
430
  -ms-transform: rotate(79.2deg);
431
  transform: rotate(79.2deg);
432
  }
433
 
434
+ .wppr-c100.wppr-p23 .wppr-bar {
435
  -webkit-transform: rotate(82.8deg);
436
  -ms-transform: rotate(82.8deg);
437
  transform: rotate(82.8deg);
438
  }
439
 
440
+ .wppr-c100.wppr-p24 .wppr-bar {
441
  -webkit-transform: rotate(86.4deg);
442
  -ms-transform: rotate(86.4deg);
443
  transform: rotate(86.4deg);
444
  }
445
 
446
+ .wppr-c100.wppr-p25 .wppr-bar {
447
  -webkit-transform: rotate(90deg);
448
  -ms-transform: rotate(90deg);
449
  transform: rotate(90deg);
450
  }
451
 
452
+ .wppr-c100.wppr-p26 .wppr-bar {
453
  -webkit-transform: rotate(93.6deg);
454
  -ms-transform: rotate(93.6deg);
455
  transform: rotate(93.6deg);
456
  }
457
 
458
+ .wppr-c100.wppr-p27 .wppr-bar {
459
  -webkit-transform: rotate(97.2deg);
460
  -ms-transform: rotate(97.2deg);
461
  transform: rotate(97.2deg);
462
  }
463
 
464
+ .wppr-c100.wppr-p28 .wppr-bar {
465
  -webkit-transform: rotate(100.8deg);
466
  -ms-transform: rotate(100.8deg);
467
  transform: rotate(100.8deg);
468
  }
469
 
470
+ .wppr-c100.wppr-p29 .wppr-bar {
471
  -webkit-transform: rotate(104.4deg);
472
  -ms-transform: rotate(104.4deg);
473
  transform: rotate(104.4deg);
474
  }
475
 
476
+ .wppr-c100.wppr-p30 .wppr-bar {
477
  -webkit-transform: rotate(108deg);
478
  -ms-transform: rotate(108deg);
479
  transform: rotate(108deg);
480
  }
481
 
482
+ .wppr-c100.wppr-p31 .wppr-bar {
483
  -webkit-transform: rotate(111.6deg);
484
  -ms-transform: rotate(111.6deg);
485
  transform: rotate(111.6deg);
486
  }
487
 
488
+ .wppr-c100.wppr-p32 .wppr-bar {
489
  -webkit-transform: rotate(115.2deg);
490
  -ms-transform: rotate(115.2deg);
491
  transform: rotate(115.2deg);
492
  }
493
 
494
+ .wppr-c100.wppr-p33 .wppr-bar {
495
  -webkit-transform: rotate(118.8deg);
496
  -ms-transform: rotate(118.8deg);
497
  transform: rotate(118.8deg);
498
  }
499
 
500
+ .wppr-c100.wppr-p34 .wppr-bar {
501
  -webkit-transform: rotate(122.4deg);
502
  -ms-transform: rotate(122.4deg);
503
  transform: rotate(122.4deg);
504
  }
505
 
506
+ .wppr-c100.wppr-p35 .wppr-bar {
507
  -webkit-transform: rotate(126deg);
508
  -ms-transform: rotate(126deg);
509
  transform: rotate(126deg);
510
  }
511
 
512
+ .wppr-c100.wppr-p36 .wppr-bar {
513
  -webkit-transform: rotate(129.6deg);
514
  -ms-transform: rotate(129.6deg);
515
  transform: rotate(129.6deg);
516
  }
517
 
518
+ .wppr-c100.wppr-p37 .wppr-bar {
519
  -webkit-transform: rotate(133.2deg);
520
  -ms-transform: rotate(133.2deg);
521
  transform: rotate(133.2deg);
522
  }
523
 
524
+ .wppr-c100.wppr-p38 .wppr-bar {
525
  -webkit-transform: rotate(136.8deg);
526
  -ms-transform: rotate(136.8deg);
527
  transform: rotate(136.8deg);
528
  }
529
 
530
+ .wppr-c100.wppr-p39 .wppr-bar {
531
  -webkit-transform: rotate(140.4deg);
532
  -ms-transform: rotate(140.4deg);
533
  transform: rotate(140.4deg);
534
  }
535
 
536
+ .wppr-c100.wppr-p40 .wppr-bar {
537
  -webkit-transform: rotate(144deg);
538
  -ms-transform: rotate(144deg);
539
  transform: rotate(144deg);
540
  }
541
 
542
+ .wppr-c100.wppr-p41 .wppr-bar {
543
  -webkit-transform: rotate(147.6deg);
544
  -ms-transform: rotate(147.6deg);
545
  transform: rotate(147.6deg);
546
  }
547
 
548
+ .wppr-c100.wppr-p42 .wppr-bar {
549
  -webkit-transform: rotate(151.2deg);
550
  -ms-transform: rotate(151.2deg);
551
  transform: rotate(151.2deg);
552
  }
553
 
554
+ .wppr-c100.wppr-p43 .wppr-bar {
555
  -webkit-transform: rotate(154.8deg);
556
  -ms-transform: rotate(154.8deg);
557
  transform: rotate(154.8deg);
558
  }
559
 
560
+ .wppr-c100.wppr-p44 .wppr-bar {
561
  -webkit-transform: rotate(158.4deg);
562
  -ms-transform: rotate(158.4deg);
563
  transform: rotate(158.4deg);
564
  }
565
 
566
+ .wppr-c100.wppr-p45 .wppr-bar {
567
  -webkit-transform: rotate(162deg);
568
  -ms-transform: rotate(162deg);
569
  transform: rotate(162deg);
570
  }
571
 
572
+ .wppr-c100.wppr-p46 .wppr-bar {
573
  -webkit-transform: rotate(165.6deg);
574
  -ms-transform: rotate(165.6deg);
575
  transform: rotate(165.6deg);
576
  }
577
 
578
+ .wppr-c100.wppr-p47 .wppr-bar {
579
  -webkit-transform: rotate(169.2deg);
580
  -ms-transform: rotate(169.2deg);
581
  transform: rotate(169.2deg);
582
  }
583
 
584
+ .wppr-c100.wppr-p48 .wppr-bar {
585
  -webkit-transform: rotate(172.8deg);
586
  -ms-transform: rotate(172.8deg);
587
  transform: rotate(172.8deg);
588
  }
589
 
590
+ .wppr-c100.wppr-p49 .wppr-bar {
591
  -webkit-transform: rotate(176.4deg);
592
  -ms-transform: rotate(176.4deg);
593
  transform: rotate(176.4deg);
594
  }
595
 
596
+ .wppr-c100.wppr-p50 .wppr-bar {
597
  -webkit-transform: rotate(180deg);
598
  -ms-transform: rotate(180deg);
599
  transform: rotate(180deg);
600
  }
601
 
602
+ .wppr-c100.wppr-p51 .wppr-bar {
603
  -webkit-transform: rotate(183.6deg);
604
  -ms-transform: rotate(183.6deg);
605
  transform: rotate(183.6deg);
606
  }
607
 
608
+ .wppr-c100.wppr-p52 .wppr-bar {
609
  -webkit-transform: rotate(187.2deg);
610
  -ms-transform: rotate(187.2deg);
611
  transform: rotate(187.2deg);
612
  }
613
 
614
+ .wppr-c100.wppr-p53 .wppr-bar {
615
  -webkit-transform: rotate(190.8deg);
616
  -ms-transform: rotate(190.8deg);
617
  transform: rotate(190.8deg);
618
  }
619
 
620
+ .wppr-c100.wppr-p54 .wppr-bar {
621
  -webkit-transform: rotate(194.4deg);
622
  -ms-transform: rotate(194.4deg);
623
  transform: rotate(194.4deg);
624
  }
625
 
626
+ .wppr-c100.wppr-p55 .wppr-bar {
627
  -webkit-transform: rotate(198deg);
628
  -ms-transform: rotate(198deg);
629
  transform: rotate(198deg);
630
  }
631
 
632
+ .wppr-c100.wppr-p56 .wppr-bar {
633
  -webkit-transform: rotate(201.6deg);
634
  -ms-transform: rotate(201.6deg);
635
  transform: rotate(201.6deg);
636
  }
637
 
638
+ .wppr-c100.wppr-p57 .wppr-bar {
639
  -webkit-transform: rotate(205.2deg);
640
  -ms-transform: rotate(205.2deg);
641
  transform: rotate(205.2deg);
642
  }
643
 
644
+ .wppr-c100.wppr-p58 .wppr-bar {
645
  -webkit-transform: rotate(208.8deg);
646
  -ms-transform: rotate(208.8deg);
647
  transform: rotate(208.8deg);
648
  }
649
 
650
+ .wppr-c100.wppr-p59 .wppr-bar {
651
  -webkit-transform: rotate(212.4deg);
652
  -ms-transform: rotate(212.4deg);
653
  transform: rotate(212.4deg);
654
  }
655
 
656
+ .wppr-c100.wppr-p60 .wppr-bar {
657
  -webkit-transform: rotate(216deg);
658
  -ms-transform: rotate(216deg);
659
  transform: rotate(216deg);
660
  }
661
 
662
+ .wppr-c100.wppr-p61 .wppr-bar {
663
  -webkit-transform: rotate(219.6deg);
664
  -ms-transform: rotate(219.6deg);
665
  transform: rotate(219.6deg);
666
  }
667
 
668
+ .wppr-c100.wppr-p62 .wppr-bar {
669
  -webkit-transform: rotate(223.2deg);
670
  -ms-transform: rotate(223.2deg);
671
  transform: rotate(223.2deg);
672
  }
673
 
674
+ .wppr-c100.wppr-p63 .wppr-bar {
675
  -webkit-transform: rotate(226.8deg);
676
  -ms-transform: rotate(226.8deg);
677
  transform: rotate(226.8deg);
678
  }
679
 
680
+ .wppr-c100.wppr-p64 .wppr-bar {
681
  -webkit-transform: rotate(230.4deg);
682
  -ms-transform: rotate(230.4deg);
683
  transform: rotate(230.4deg);
684
  }
685
 
686
+ .wppr-c100.wppr-p65 .wppr-bar {
687
  -webkit-transform: rotate(234deg);
688
  -ms-transform: rotate(234deg);
689
  transform: rotate(234deg);
690
  }
691
 
692
+ .wppr-c100.wppr-p66 .wppr-bar {
693
  -webkit-transform: rotate(237.6deg);
694
  -ms-transform: rotate(237.6deg);
695
  transform: rotate(237.6deg);
696
  }
697
 
698
+ .wppr-c100.wppr-p67 .wppr-bar {
699
  -webkit-transform: rotate(241.2deg);
700
  -ms-transform: rotate(241.2deg);
701
  transform: rotate(241.2deg);
702
  }
703
 
704
+ .wppr-c100.wppr-p68 .wppr-bar {
705
  -webkit-transform: rotate(244.8deg);
706
  -ms-transform: rotate(244.8deg);
707
  transform: rotate(244.8deg);
708
  }
709
 
710
+ .wppr-c100.wppr-p69 .wppr-bar {
711
  -webkit-transform: rotate(248.4deg);
712
  -ms-transform: rotate(248.4deg);
713
  transform: rotate(248.4deg);
714
  }
715
 
716
+ .wppr-c100.wppr-p70 .wppr-bar {
717
  -webkit-transform: rotate(252deg);
718
  -ms-transform: rotate(252deg);
719
  transform: rotate(252deg);
720
  }
721
 
722
+ .wppr-c100.wppr-p71 .wppr-bar {
723
  -webkit-transform: rotate(255.6deg);
724
  -ms-transform: rotate(255.6deg);
725
  transform: rotate(255.6deg);
726
  }
727
 
728
+ .wppr-c100.wppr-p72 .wppr-bar {
729
  -webkit-transform: rotate(259.2deg);
730
  -ms-transform: rotate(259.2deg);
731
  transform: rotate(259.2deg);
732
  }
733
 
734
+ .wppr-c100.wppr-p73 .wppr-bar {
735
  -webkit-transform: rotate(262.8deg);
736
  -ms-transform: rotate(262.8deg);
737
  transform: rotate(262.8deg);
738
  }
739
 
740
+ .wppr-c100.wppr-p74 .wppr-bar {
741
  -webkit-transform: rotate(266.4deg);
742
  -ms-transform: rotate(266.4deg);
743
  transform: rotate(266.4deg);
744
  }
745
 
746
+ .wppr-c100.wppr-p75 .wppr-bar {
747
  -webkit-transform: rotate(270deg);
748
  -ms-transform: rotate(270deg);
749
  transform: rotate(270deg);
750
  }
751
 
752
+ .wppr-c100.wppr-p76 .wppr-bar {
753
  -webkit-transform: rotate(273.6deg);
754
  -ms-transform: rotate(273.6deg);
755
  transform: rotate(273.6deg);
756
  }
757
 
758
+ .wppr-c100.wppr-p77 .wppr-bar {
759
  -webkit-transform: rotate(277.2deg);
760
  -ms-transform: rotate(277.2deg);
761
  transform: rotate(277.2deg);
762
  }
763
 
764
+ .wppr-c100.wppr-p78 .wppr-bar {
765
  -webkit-transform: rotate(280.8deg);
766
  -ms-transform: rotate(280.8deg);
767
  transform: rotate(280.8deg);
768
  }
769
 
770
+ .wppr-c100.wppr-p79 .wppr-bar {
771
  -webkit-transform: rotate(284.4deg);
772
  -ms-transform: rotate(284.4deg);
773
  transform: rotate(284.4deg);
774
  }
775
 
776
+ .wppr-c100.wppr-p80 .wppr-bar {
777
  -webkit-transform: rotate(288deg);
778
  -ms-transform: rotate(288deg);
779
  transform: rotate(288deg);
780
  }
781
 
782
+ .wppr-c100.wppr-p81 .wppr-bar {
783
  -webkit-transform: rotate(291.6deg);
784
  -ms-transform: rotate(291.6deg);
785
  transform: rotate(291.6deg);
786
  }
787
 
788
+ .wppr-c100.wppr-p82 .wppr-bar {
789
  -webkit-transform: rotate(295.2deg);
790
  -ms-transform: rotate(295.2deg);
791
  transform: rotate(295.2deg);
792
  }
793
 
794
+ .wppr-c100.wppr-p83 .wppr-bar {
795
  -webkit-transform: rotate(298.8deg);
796
  -ms-transform: rotate(298.8deg);
797
  transform: rotate(298.8deg);
798
  }
799
 
800
+ .wppr-c100.wppr-p84 .wppr-bar {
801
  -webkit-transform: rotate(302.4deg);
802
  -ms-transform: rotate(302.4deg);
803
  transform: rotate(302.4deg);
804
  }
805
 
806
+ .wppr-c100.wppr-p85 .wppr-bar {
807
  -webkit-transform: rotate(306deg);
808
  -ms-transform: rotate(306deg);
809
  transform: rotate(306deg);
810
  }
811
 
812
+ .wppr-c100.wppr-p86 .wppr-bar {
813
  -webkit-transform: rotate(309.6deg);
814
  -ms-transform: rotate(309.6deg);
815
  transform: rotate(309.6deg);
816
  }
817
 
818
+ .wppr-c100.wppr-p87 .wppr-bar {
819
  -webkit-transform: rotate(313.2deg);
820
  -ms-transform: rotate(313.2deg);
821
  transform: rotate(313.2deg);
822
  }
823
 
824
+ .wppr-c100.wppr-p88 .wppr-bar {
825
  -webkit-transform: rotate(316.8deg);
826
  -ms-transform: rotate(316.8deg);
827
  transform: rotate(316.8deg);
828
  }
829
 
830
+ .wppr-c100.wppr-p89 .wppr-bar {
831
  -webkit-transform: rotate(320.4deg);
832
  -ms-transform: rotate(320.4deg);
833
  transform: rotate(320.4deg);
834
  }
835
 
836
+ .wppr-c100.wppr-p90 .wppr-bar {
837
  -webkit-transform: rotate(324deg);
838
  -ms-transform: rotate(324deg);
839
  transform: rotate(324deg);
840
  }
841
 
842
+ .wppr-c100.wppr-p91 .wppr-bar {
843
  -webkit-transform: rotate(327.6deg);
844
  -ms-transform: rotate(327.6deg);
845
  transform: rotate(327.6deg);
846
  }
847
 
848
+ .wppr-c100.wppr-p92 .wppr-bar {
849
  -webkit-transform: rotate(331.2deg);
850
  -ms-transform: rotate(331.2deg);
851
  transform: rotate(331.2deg);
852
  }
853
 
854
+ .wppr-c100.wppr-p93 .wppr-bar {
855
  -webkit-transform: rotate(334.8deg);
856
  -ms-transform: rotate(334.8deg);
857
  transform: rotate(334.8deg);
858
  }
859
 
860
+ .wppr-c100.wppr-p94 .wppr-bar {
861
  -webkit-transform: rotate(338.4deg);
862
  -ms-transform: rotate(338.4deg);
863
  transform: rotate(338.4deg);
864
  }
865
 
866
+ .wppr-c100.wppr-p95 .wppr-bar {
867
  -webkit-transform: rotate(342deg);
868
  -ms-transform: rotate(342deg);
869
  transform: rotate(342deg);
870
  }
871
 
872
+ .wppr-c100.wppr-p96 .wppr-bar {
873
  -webkit-transform: rotate(345.6deg);
874
  -ms-transform: rotate(345.6deg);
875
  transform: rotate(345.6deg);
876
  }
877
 
878
+ .wppr-c100.wppr-p97 .wppr-bar {
879
  -webkit-transform: rotate(349.2deg);
880
  -ms-transform: rotate(349.2deg);
881
  transform: rotate(349.2deg);
882
  }
883
 
884
+ .wppr-c100.wppr-p98 .wppr-bar {
885
  -webkit-transform: rotate(352.8deg);
886
  -ms-transform: rotate(352.8deg);
887
  transform: rotate(352.8deg);
888
  }
889
 
890
+ .wppr-c100.wppr-p99 .wppr-bar {
891
  -webkit-transform: rotate(356.4deg);
892
  -ms-transform: rotate(356.4deg);
893
  transform: rotate(356.4deg);
894
  }
895
 
896
+ .wppr-c100.wppr-p100 .wppr-bar {
897
  -webkit-transform: rotate(360deg);
898
  -ms-transform: rotate(360deg);
899
  transform: rotate(360deg);
assets/css/cwppos-widget.css CHANGED
@@ -6,7 +6,7 @@
6
  height: 40px;
7
  }
8
 
9
- .review-grade-widget .review-wu-grade-content .c100 {
10
  position: relative;
11
  top: 0;
12
  left: 0;
@@ -20,17 +20,17 @@
20
  transform: none;
21
  }
22
 
23
- .review-grade-widget .review-wu-grade-content .c100 > span {
24
  font-size: 14px;
25
  line-height: 40px;
26
  }
27
 
28
- .review-grade-widget .review-wu-grade-content .c100 .bar,
29
- .review-grade-widget .review-wu-grade-content .c100 .fill {
30
  border-width: 4px;
31
  }
32
 
33
- .review-grade-widget .review-wu-grade-content .c100 .slice-center {
34
  padding: 4px;
35
  }
36
 
6
  height: 40px;
7
  }
8
 
9
+ .review-grade-widget .review-wu-grade-content .wppr-c100 {
10
  position: relative;
11
  top: 0;
12
  left: 0;
20
  transform: none;
21
  }
22
 
23
+ .review-grade-widget .review-wu-grade-content .wppr-c100 > span {
24
  font-size: 14px;
25
  line-height: 40px;
26
  }
27
 
28
+ .review-grade-widget .review-wu-grade-content .wppr-c100 .wppr-bar,
29
+ .review-grade-widget .review-wu-grade-content .wppr-c100 .wppr-fill {
30
  border-width: 4px;
31
  }
32
 
33
+ .review-grade-widget .review-wu-grade-content .wppr-c100 .wppr-slice-center {
34
  padding: 4px;
35
  }
36
 
assets/css/editor.css CHANGED
@@ -49,6 +49,10 @@ h4 {
49
  padding-left: 144px;
50
  }
51
 
 
 
 
 
52
  #wppr-editor-new-link {
53
  font-size: 20px;
54
  font-weight: bold;
49
  padding-left: 144px;
50
  }
51
 
52
+ .wppr-review-section .size-text {
53
+ padding-bottom: 0px;
54
+ }
55
+
56
  #wppr-editor-new-link {
57
  font-size: 20px;
58
  font-weight: bold;
assets/css/frontpage.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 3.2.1
3
  */
4
  #review-statistics {
5
  width: 100%;
@@ -640,11 +640,11 @@
640
  height: 100px;
641
  }
642
 
643
- #review-statistics .review-wu-grade .c100 {
644
  font-size: 100px;
645
  }
646
 
647
- #review-statistics .review-wu-grade .c100 span {
648
  font-size: 28px;
649
  line-height: 100px;
650
  }
1
  /*
2
+ Version: 3.3.0
3
  */
4
  #review-statistics {
5
  width: 100%;
640
  height: 100px;
641
  }
642
 
643
+ #review-statistics .review-wu-grade .wppr-c100 {
644
  font-size: 100px;
645
  }
646
 
647
+ #review-statistics .review-wu-grade .wppr-c100 span {
648
  font-size: 28px;
649
  line-height: 100px;
650
  }
assets/css/upsell.css CHANGED
@@ -170,8 +170,9 @@
170
  width: 100%;
171
  }
172
  }
173
- #wppr-admin .pro-feature .pro-feature-inner{
 
174
  display: table;
 
175
  background: #fff;
176
- width:100%;
177
  }
170
  width: 100%;
171
  }
172
  }
173
+
174
+ #wppr-admin .pro-feature .pro-feature-inner {
175
  display: table;
176
+ width: 100%;
177
  background: #fff;
 
178
  }
includes/admin/class-wppr-editor.php CHANGED
@@ -90,7 +90,7 @@ class WPPR_Editor {
90
  private function get_editor_name( $post ) {
91
  $editor_name = 'WPPR_' . str_replace( '-', '_', ucfirst( $post->post_type ) . '_Editor' );
92
  if ( class_exists( $editor_name ) ) {
93
- $editor = new $editor_name ( $post );
94
  } else {
95
  $editor = new WPPR_Editor_Model( $post );
96
  }
90
  private function get_editor_name( $post ) {
91
  $editor_name = 'WPPR_' . str_replace( '-', '_', ucfirst( $post->post_type ) . '_Editor' );
92
  if ( class_exists( $editor_name ) ) {
93
+ $editor = new $editor_name( $post );
94
  } else {
95
  $editor = new WPPR_Editor_Model( $post );
96
  }
includes/admin/layouts/editor-default-tpl.php CHANGED
@@ -76,8 +76,12 @@ $check = $review->is_active() ? 'yes' : 'no';
76
  )
77
  )
78
  ?>
 
 
 
79
  <small>
80
- *<?php _e( 'If no image is provided, featured image is used', 'wp-product-review' ); ?></small>
 
81
  </li>
82
  <li>
83
  <span><?php _e( 'Product Image Click', 'wp-product-review' ); ?>
76
  )
77
  )
78
  ?>
79
+ <small class="size-text">
80
+ *<?php _e( 'The optimum size of the product image must be 600 x 600 px', 'wp-product-review' ); ?>
81
+ </small>
82
  <small>
83
+ *<?php _e( 'If no image is provided, featured image is used', 'wp-product-review' ); ?>
84
+ </small>
85
  </li>
86
  <li>
87
  <span><?php _e( 'Product Image Click', 'wp-product-review' ); ?>
includes/admin/models/class-wppr-query-model.php CHANGED
@@ -123,14 +123,27 @@ class WPPR_Query_Model extends WPPR_Model_Abstract {
123
  if ( isset( $conditions['having'] ) ) {
124
  $conditions_having = $conditions['having'];
125
  }
 
 
 
 
 
 
 
 
 
126
  $query = "
 
 
127
  SELECT
128
- ID,
129
- post_date,
 
130
  GROUP_CONCAT( DISTINCT IF( `meta_key` = 'cwp_meta_box_check', `meta_value`, '' ) SEPARATOR '' ) AS 'check',
131
  GROUP_CONCAT( DISTINCT IF( `meta_key` = 'cwp_rev_product_name', `meta_value`, '' ) SEPARATOR '' ) AS 'name',
132
  GROUP_CONCAT( DISTINCT IF( `meta_key` = 'cwp_rev_price', FORMAT( `meta_value`, 2 ), '' ) SEPARATOR '' ) AS 'price',
133
- GROUP_CONCAT( DISTINCT IF( `meta_key` = 'wppr_rating', IF(FORMAT(`meta_value`, 2) = '100.00','99.99',FORMAT(`meta_value`,2) ),'') SEPARATOR '' ) AS 'rating'
 
134
  FROM {$this->db->postmeta} m INNER JOIN {$this->db->posts} p on p.ID = m.post_ID
135
 
136
  {$sub_query_posts}
@@ -143,17 +156,21 @@ class WPPR_Query_Model extends WPPR_Model_Abstract {
143
  {$order_by}
144
  `name` ASC
145
  LIMIT {$limit}
 
146
  ";
147
  $key = hash( 'sha256', $query );
148
  $results = wp_cache_get( $key, 'wppr' );
149
  if ( ! is_array( $results ) ) {
150
  $results = $this->db->get_results( $query, ARRAY_A );
151
- wp_cache_set( $key, $results, 'wppr', ( 60 * 60 ) );
 
 
152
  }// End if().
153
 
154
  return $results;
155
  }
156
 
 
157
  /**
158
  * Build the sub query.
159
  *
123
  if ( isset( $conditions['having'] ) ) {
124
  $conditions_having = $conditions['having'];
125
  }
126
+
127
+ $final_rating = '`rating`';
128
+ $comment_influence = intval( $this->wppr_get_option( 'cwppos_infl_userreview' ) );
129
+ if ( $comment_influence > 0 ) {
130
+ $final_rating = "IF(`comment_rating` = 0, `rating`, (`comment_rating` * 10 * ( $comment_influence / 100 ) + `rating` * ( ( 100 - $comment_influence ) / 100 ) ) )";
131
+ }
132
+
133
+ $final_order = isset( $order['rating'] ) && in_array( $order['rating'], array( 'ASC', 'DESC' ) ) ? " ORDER BY `final_rating` {$order['rating']}" : '';
134
+
135
  $query = "
136
+ SELECT ID, post_date, post_title, `check`, `name`, `price`, `rating`, `comment_rating`, $final_rating as 'final_rating' FROM
137
+ (
138
  SELECT
139
+ ID,
140
+ post_date,
141
+ post_title,
142
  GROUP_CONCAT( DISTINCT IF( `meta_key` = 'cwp_meta_box_check', `meta_value`, '' ) SEPARATOR '' ) AS 'check',
143
  GROUP_CONCAT( DISTINCT IF( `meta_key` = 'cwp_rev_product_name', `meta_value`, '' ) SEPARATOR '' ) AS 'name',
144
  GROUP_CONCAT( DISTINCT IF( `meta_key` = 'cwp_rev_price', FORMAT( `meta_value`, 2 ), '' ) SEPARATOR '' ) AS 'price',
145
+ GROUP_CONCAT( DISTINCT IF( `meta_key` = 'wppr_rating', IF(FORMAT(`meta_value`, 2) = '100.00','99.99', FORMAT(`meta_value`, 2) ), '') SEPARATOR '' ) AS 'rating',
146
+ GROUP_CONCAT( DISTINCT IF( `meta_key` = 'wppr_comment_rating', `meta_value`, '') SEPARATOR '' ) AS 'comment_rating'
147
  FROM {$this->db->postmeta} m INNER JOIN {$this->db->posts} p on p.ID = m.post_ID
148
 
149
  {$sub_query_posts}
156
  {$order_by}
157
  `name` ASC
158
  LIMIT {$limit}
159
+ ) T1 $final_order
160
  ";
161
  $key = hash( 'sha256', $query );
162
  $results = wp_cache_get( $key, 'wppr' );
163
  if ( ! is_array( $results ) ) {
164
  $results = $this->db->get_results( $query, ARRAY_A );
165
+ if ( ! WPPR_CACHE_DISABLED ) {
166
+ wp_cache_set( $key, $results, 'wppr', ( 60 * 60 ) );
167
+ }
168
  }// End if().
169
 
170
  return $results;
171
  }
172
 
173
+
174
  /**
175
  * Build the sub query.
176
  *
includes/admin/models/class-wppr-review-model.php CHANGED
@@ -167,6 +167,11 @@ class WPPR_Review_Model extends WPPR_Model_Abstract {
167
  $this->setup_pros_cons();
168
  $this->setup_options();
169
  $this->count_rating();
 
 
 
 
 
170
 
171
  return true;
172
  } else {
@@ -399,6 +404,192 @@ class WPPR_Review_Model extends WPPR_Model_Abstract {
399
  update_post_meta( $this->ID, 'wppr_rating', number_format( $this->score, 2 ) );
400
  }
401
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  /**
403
  * Deactivate the review.
404
  *
@@ -464,17 +655,6 @@ class WPPR_Review_Model extends WPPR_Model_Abstract {
464
  return $data;
465
  }
466
 
467
- /**
468
- * Return the review id.
469
- *
470
- * @since 3.0.0
471
- * @access public
472
- * @return int
473
- */
474
- public function get_ID() {
475
- return $this->ID;
476
- }
477
-
478
  /**
479
  * Return the review name.
480
  *
@@ -685,106 +865,6 @@ class WPPR_Review_Model extends WPPR_Model_Abstract {
685
  return apply_filters( 'wppr_rating', $rating, $this->ID, $this );
686
  }
687
 
688
- /**
689
- * Get comments rating.
690
- *
691
- * @since 3.0.0
692
- * @access public
693
- * @return float|int
694
- */
695
- public function get_comments_rating() {
696
- $comments = $this->get_comments_options();
697
- if ( $comments ) {
698
- $options = array();
699
- foreach ( $comments as $comment ) {
700
- $options = array_merge( $options, $comment['options'] );
701
- }
702
-
703
- if ( count( $options ) != 0 ) {
704
- return ( array_sum( wp_list_pluck( $options, 'value' ) ) / count( $options ) );
705
- } else {
706
- return 0;
707
- }
708
- } else {
709
- return 0;
710
- }
711
-
712
- }
713
-
714
- /**
715
- * Get all comments associated with the review.
716
- *
717
- * @return array|int The list of comments..
718
- */
719
- public function get_comments_options() {
720
- if ( $this->ID === 0 ) {
721
- $this->logger->error( 'Can not get comments rating, id is not set' );
722
-
723
- return array();
724
- }
725
- $comments_query = new WP_Comment_Query;
726
- $comments = $comments_query->query(
727
- array(
728
- 'fields' => 'ids',
729
- 'status' => 'approve',
730
- 'post_id' => $this->ID,
731
- )
732
- );
733
- $valid = array();
734
- foreach ( $comments as $comment ) {
735
- $options = $this->get_comment_options( $comment );
736
- if ( ! empty( $options ) ) {
737
- $valid[ $comment ] = array(
738
- 'options' => $options,
739
- 'date' => get_comment_date( '', $comment ),
740
- 'author' => get_comment_author( $comment ),
741
- 'title' => wp_strip_all_tags( get_comment_excerpt( $comment ) ),
742
- 'content' => get_comment_text( $comment ),
743
- );
744
- }
745
- }
746
-
747
- return $valid;
748
- }
749
-
750
- /**
751
- * Return the options values and names associated with the comment.
752
- *
753
- * @since 3.0.0
754
- * @access public
755
- *
756
- * @param int $comment_id The comment id.
757
- *
758
- * @return array
759
- */
760
- public function get_comment_options( $comment_id ) {
761
- $options = array();
762
- if ( $this->wppr_get_option( 'cwppos_show_userreview' ) === 'yes' ) {
763
- $options_names = wp_list_pluck( $this->options, 'name' );
764
- $comment_options = array();
765
- $valid_comment = false;
766
- foreach ( $options_names as $k => $name ) {
767
- $value = get_comment_meta( $comment_id, 'meta_option_' . $k, true );
768
-
769
- $comment_options[] = array(
770
- 'name' => $name,
771
- 'value' => number_format( (float) $value, 2 ),
772
- );
773
- if ( is_numeric( $value ) ) {
774
- $valid_comment = true;
775
- }
776
- }
777
- if ( ! $valid_comment ) {
778
- return array();
779
- }
780
-
781
- $options = $comment_options;
782
- }
783
-
784
- return $options;
785
-
786
- }
787
-
788
  /**
789
  * Getter for the pros array.
790
  *
167
  $this->setup_pros_cons();
168
  $this->setup_options();
169
  $this->count_rating();
170
+ if ( ! is_admin() ) {
171
+ $this->alter_options();
172
+ }
173
+
174
+ $this->backward_compatibility();
175
 
176
  return true;
177
  } else {
404
  update_post_meta( $this->ID, 'wppr_rating', number_format( $this->score, 2 ) );
405
  }
406
 
407
+ /**
408
+ * Alter options based on user influence.
409
+ *
410
+ * @access private
411
+ */
412
+ private function alter_options() {
413
+ $comment_influence = intval( $this->wppr_get_option( 'cwppos_infl_userreview' ) );
414
+
415
+ if ( 0 === $comment_influence ) {
416
+ return;
417
+ }
418
+
419
+ $comments = $this->get_comments_options();
420
+ if ( ! $comments ) {
421
+ return;
422
+ }
423
+
424
+ $combined = array();
425
+ foreach ( $comments as $comment ) {
426
+ $array = wp_list_pluck( $comment['options'], 'value', 'name' );
427
+ foreach ( $array as $k => $v ) {
428
+ if ( ! isset( $combined[ $k ] ) ) {
429
+ $combined[ $k ] = floatval( $v );
430
+ } else {
431
+ $combined[ $k ] += floatval( $v );
432
+ }
433
+ }
434
+ }
435
+ $new_options = array();
436
+ foreach ( $this->options as $index => $option ) {
437
+ $k = $option['name'];
438
+ $rating = $option['value'];
439
+ $v = floatval( $combined [ $k ] ) / count( $comments );
440
+ $weighted = $v * 10 * ( $comment_influence / 100 ) + floatval( $rating ) * ( ( 100 - $comment_influence ) / 100 );
441
+ $new_options[ $index ] = array(
442
+ 'name' => $k,
443
+ 'value' => $weighted,
444
+ );
445
+ }
446
+
447
+ $this->options = $new_options;
448
+ }
449
+
450
+ /**
451
+ * Get all comments associated with the review.
452
+ *
453
+ * @return array|int The list of comments..
454
+ */
455
+ public function get_comments_options() {
456
+ if ( $this->ID === 0 ) {
457
+ $this->logger->error( 'Can not get comments rating, id is not set' );
458
+
459
+ return array();
460
+ }
461
+ $comments_query = new WP_Comment_Query;
462
+ $comments = $comments_query->query(
463
+ array(
464
+ 'fields' => 'ids',
465
+ 'status' => 'approve',
466
+ 'post_id' => $this->ID,
467
+ )
468
+ );
469
+ $valid = array();
470
+ foreach ( $comments as $comment ) {
471
+ $options = $this->get_comment_options( $comment );
472
+ if ( ! empty( $options ) ) {
473
+ $valid[ $comment ] = array(
474
+ 'options' => $options,
475
+ 'date' => get_comment_date( '', $comment ),
476
+ 'author' => get_comment_author( $comment ),
477
+ 'title' => wp_strip_all_tags( get_comment_excerpt( $comment ) ),
478
+ 'content' => get_comment_text( $comment ),
479
+ );
480
+ }
481
+ }
482
+
483
+ return $valid;
484
+ }
485
+
486
+ /**
487
+ * Return the options values and names associated with the comment.
488
+ *
489
+ * @since 3.0.0
490
+ * @access public
491
+ *
492
+ * @param int $comment_id The comment id.
493
+ *
494
+ * @return array
495
+ */
496
+ public function get_comment_options( $comment_id ) {
497
+ $options = array();
498
+ if ( $this->wppr_get_option( 'cwppos_show_userreview' ) === 'yes' ) {
499
+ $options_names = wp_list_pluck( $this->options, 'name' );
500
+ $comment_options = array();
501
+ $valid_comment = false;
502
+ foreach ( $options_names as $k => $name ) {
503
+ $value = get_comment_meta( $comment_id, 'meta_option_' . $k, true );
504
+
505
+ $comment_options[] = array(
506
+ 'name' => $name,
507
+ 'value' => number_format( (float) $value, 2 ),
508
+ );
509
+ if ( is_numeric( $value ) ) {
510
+ $valid_comment = true;
511
+ }
512
+ }
513
+ if ( ! $valid_comment ) {
514
+ return array();
515
+ }
516
+
517
+ $options = $comment_options;
518
+ }
519
+
520
+ return $options;
521
+
522
+ }
523
+
524
+ /**
525
+ * Add backward compatibility so that when a review is viewed, its meta data can be updated.
526
+ *
527
+ * @access private
528
+ */
529
+ private function backward_compatibility() {
530
+ $comment_influence = intval( $this->wppr_get_option( 'cwppos_infl_userreview' ) );
531
+
532
+ if ( 0 === $comment_influence ) {
533
+ return;
534
+ }
535
+ $comment_ratings = get_post_meta( $this->ID, 'wppr_comment_rating', true );
536
+ if ( empty( $comment_ratings ) ) {
537
+ update_post_meta( $this->ID, 'wppr_comment_rating', $this->get_comments_rating() );
538
+ }
539
+ }
540
+
541
+ /**
542
+ * Get comments rating.
543
+ *
544
+ * @since 3.0.0
545
+ * @access public
546
+ * @return float|int
547
+ */
548
+ public function get_comments_rating() {
549
+ $comments = $this->get_comments_options();
550
+ if ( $comments ) {
551
+ $options = array();
552
+ foreach ( $comments as $comment ) {
553
+ $options = array_merge( $options, $comment['options'] );
554
+ }
555
+
556
+ if ( count( $options ) != 0 ) {
557
+ return ( array_sum( wp_list_pluck( $options, 'value' ) ) / count( $options ) );
558
+ } else {
559
+ return 0;
560
+ }
561
+ } else {
562
+ return 0;
563
+ }
564
+
565
+ }
566
+
567
+ /**
568
+ * Update comments rating.
569
+ *
570
+ * @access public
571
+ */
572
+ public function update_comments_rating() {
573
+ $comment_influence = intval( $this->wppr_get_option( 'cwppos_infl_userreview' ) );
574
+
575
+ if ( 0 === $comment_influence ) {
576
+ return;
577
+ }
578
+
579
+ update_post_meta( $this->get_ID(), 'wppr_comment_rating', $this->get_comments_rating() );
580
+ }
581
+
582
+ /**
583
+ * Return the review id.
584
+ *
585
+ * @since 3.0.0
586
+ * @access public
587
+ * @return int
588
+ */
589
+ public function get_ID() {
590
+ return $this->ID;
591
+ }
592
+
593
  /**
594
  * Deactivate the review.
595
  *
655
  return $data;
656
  }
657
 
 
 
 
 
 
 
 
 
 
 
 
658
  /**
659
  * Return the review name.
660
  *
865
  return apply_filters( 'wppr_rating', $rating, $this->ID, $this );
866
  }
867
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
868
  /**
869
  * Getter for the pros array.
870
  *
includes/class-wppr.php CHANGED
@@ -67,7 +67,7 @@ class WPPR {
67
  */
68
  public function __construct() {
69
  $this->plugin_name = 'wppr';
70
- $this->version = '3.2.1';
71
 
72
  $this->load_dependencies();
73
  $this->set_locale();
67
  */
68
  public function __construct() {
69
  $this->plugin_name = 'wppr';
70
+ $this->version = '3.3.0';
71
 
72
  $this->load_dependencies();
73
  $this->set_locale();
includes/public/class-wppr-public.php CHANGED
@@ -145,20 +145,20 @@ class Wppr_Public {
145
  }
146
 
147
  $style = '
148
- #review-statistics .review-wu-grade .c100,
149
- .review-grade-widget .c100 {
150
  background-color: ' . $review->wppr_get_option( 'cwppos_rating_chart_default' ) . ';
151
  }
152
 
153
- #review-statistics .review-wu-grade .c100.wppr-weak span,
154
- .review-grade-widget .c100.wppr-weak span {
155
  color: ' . $review->wppr_get_option( 'cwppos_rating_weak' ) . ';
156
  }
157
 
158
- #review-statistics .review-wu-grade .c100.wppr-weak .fill,
159
- #review-statistics .review-wu-grade .c100.wppr-weak .bar,
160
- .review-grade-widget .c100.wppr-weak .fill,
161
- .review-grade-widget .c100.wppr-weak .bar {
162
  border-color: ' . $review->wppr_get_option( 'cwppos_rating_weak' ) . ';
163
  }
164
 
@@ -166,15 +166,15 @@ class Wppr_Public {
166
  background: ' . $review->wppr_get_option( 'cwppos_rating_weak' ) . ';
167
  }
168
 
169
- #review-statistics .review-wu-grade .c100.wppr-not-bad span,
170
- .review-grade-widget .c100.wppr-not-bad span {
171
  color: ' . $review->wppr_get_option( 'cwppos_rating_notbad' ) . ';
172
  }
173
 
174
- #review-statistics .review-wu-grade .c100.wppr-not-bad .fill,
175
- #review-statistics .review-wu-grade .c100.wppr-not-bad .bar,
176
- .review-grade-widget .c100.wppr-not-bad .fill,
177
- .review-grade-widget .c100.wppr-not-bad .bar {
178
  border-color: ' . $review->wppr_get_option( 'cwppos_rating_notbad' ) . ';
179
  }
180
 
@@ -182,15 +182,15 @@ class Wppr_Public {
182
  background: ' . $review->wppr_get_option( 'cwppos_rating_notbad' ) . ';
183
  }
184
 
185
- #review-statistics .review-wu-grade .c100.wppr-good span,
186
- .review-grade-widget .c100.wppr-good span {
187
  color: ' . $review->wppr_get_option( 'cwppos_rating_good' ) . ';
188
  }
189
 
190
- #review-statistics .review-wu-grade .c100.wppr-good .fill,
191
- #review-statistics .review-wu-grade .c100.wppr-good .bar,
192
- .review-grade-widget .c100.wppr-good .fill,
193
- .review-grade-widget .c100.wppr-good .bar {
194
  border-color: ' . $review->wppr_get_option( 'cwppos_rating_good' ) . ';
195
  }
196
 
@@ -198,15 +198,15 @@ class Wppr_Public {
198
  background: ' . $review->wppr_get_option( 'cwppos_rating_good' ) . ';
199
  }
200
 
201
- #review-statistics .review-wu-grade .c100.wppr-very-good span,
202
- .review-grade-widget .c100.wppr-very-good span {
203
  color: ' . $review->wppr_get_option( 'cwppos_rating_very_good' ) . ';
204
  }
205
 
206
- #review-statistics .review-wu-grade .c100.wppr-very-good .fill,
207
- #review-statistics .review-wu-grade .c100.wppr-very-good .bar,
208
- .review-grade-widget .c100.wppr-very-good .fill,
209
- .review-grade-widget .c100.wppr-very-good .bar {
210
  border-color: ' . $review->wppr_get_option( 'cwppos_rating_very_good' ) . ';
211
  }
212
 
@@ -407,6 +407,7 @@ class Wppr_Public {
407
 
408
  }
409
  }
 
410
  }
411
 
412
  /**
145
  }
146
 
147
  $style = '
148
+ .review-wu-grade .wppr-c100,
149
+ .review-grade-widget .wppr-c100 {
150
  background-color: ' . $review->wppr_get_option( 'cwppos_rating_chart_default' ) . ';
151
  }
152
 
153
+ .review-wu-grade .wppr-c100.wppr-weak span,
154
+ .review-grade-widget .wppr-c100.wppr-weak span {
155
  color: ' . $review->wppr_get_option( 'cwppos_rating_weak' ) . ';
156
  }
157
 
158
+ .review-wu-grade .wppr-c100.wppr-weak .wppr-fill,
159
+ .review-wu-grade .wppr-c100.wppr-weak .wppr-bar,
160
+ .review-grade-widget .wppr-c100.wppr-weak .wppr-fill,
161
+ .review-grade-widget .wppr-c100.wppr-weak .wppr-bar {
162
  border-color: ' . $review->wppr_get_option( 'cwppos_rating_weak' ) . ';
163
  }
164
 
166
  background: ' . $review->wppr_get_option( 'cwppos_rating_weak' ) . ';
167
  }
168
 
169
+ #review-statistics .review-wu-grade .wppr-c100.wppr-not-bad span,
170
+ .review-grade-widget .wppr-c100.wppr-not-bad span {
171
  color: ' . $review->wppr_get_option( 'cwppos_rating_notbad' ) . ';
172
  }
173
 
174
+ .review-wu-grade .wppr-c100.wppr-not-bad .wppr-fill,
175
+ .review-wu-grade .wppr-c100.wppr-not-bad .wppr-bar,
176
+ .review-grade-widget .wppr-c100.wppr-not-bad .wppr-fill,
177
+ .review-grade-widget .wppr-c100.wppr-not-bad .wppr-bar {
178
  border-color: ' . $review->wppr_get_option( 'cwppos_rating_notbad' ) . ';
179
  }
180
 
182
  background: ' . $review->wppr_get_option( 'cwppos_rating_notbad' ) . ';
183
  }
184
 
185
+ .review-wu-grade .wppr-c100.wppr-good span,
186
+ .review-grade-widget .wppr-c100.wppr-good span {
187
  color: ' . $review->wppr_get_option( 'cwppos_rating_good' ) . ';
188
  }
189
 
190
+ .review-wu-grade .wppr-c100.wppr-good .wppr-fill,
191
+ .review-wu-grade .wppr-c100.wppr-good .wppr-bar,
192
+ .review-grade-widget .wppr-c100.wppr-good .wppr-fill,
193
+ .review-grade-widget .wppr-c100.wppr-good .wppr-bar {
194
  border-color: ' . $review->wppr_get_option( 'cwppos_rating_good' ) . ';
195
  }
196
 
198
  background: ' . $review->wppr_get_option( 'cwppos_rating_good' ) . ';
199
  }
200
 
201
+ .review-wu-grade .wppr-c100.wppr-very-good span,
202
+ .review-grade-widget .wppr-c100.wppr-very-good span {
203
  color: ' . $review->wppr_get_option( 'cwppos_rating_very_good' ) . ';
204
  }
205
 
206
+ .review-wu-grade .wppr-c100.wppr-very-good .wppr-fill,
207
+ .review-wu-grade .wppr-c100.wppr-very-good .wppr-bar,
208
+ .review-grade-widget .wppr-c100.wppr-very-good .wppr-fill,
209
+ .review-grade-widget .wppr-c100.wppr-very-good .wppr-bar {
210
  border-color: ' . $review->wppr_get_option( 'cwppos_rating_very_good' ) . ';
211
  }
212
 
407
 
408
  }
409
  }
410
+ $review->update_comments_rating();
411
  }
412
 
413
  /**
includes/public/layouts/default.php CHANGED
@@ -50,25 +50,28 @@ $cons = $review_object->get_cons();
50
 
51
  <div class="review-wu-grade">
52
  <div class="review-wu-grade-content">
53
- <div class="c100 p<?php echo esc_attr( round( $review_object->get_rating() ) ) . ' ' . $review_object->get_rating_class(); ?>">
54
  <span><?php echo esc_html( round( $review_object->get_rating(), 0 ) / 10 ); ?></span>
55
- <div class="slice">
56
- <div class="bar"></div>
57
- <div class="fill"></div>
58
  </div>
59
- <div class="slice-center"></div>
60
  </div>
61
  </div>
62
  </div><!-- end .review-wu-grade -->
63
  </div><!-- end .review-wu-left-top -->
64
 
65
  <div class="review-wu-bars">
66
- <?php foreach ( $review_object->get_options() as $option ) { ?>
 
 
 
67
  <div class="rev-option" data-value="
68
  <?php echo $option['value']; ?>">
69
  <div class="cwpr_clearfix">
70
  <h3><?php echo esc_html( apply_filters( 'wppr_option_name_html', $option['name'] ) ); ?></h3>
71
- <span><?php echo esc_html( round( $option['value'] / 10 ) ); ?>/10 </span>
72
  </div>
73
  <ul class="cwpr_clearfix <?php echo $review_object->get_rating_class( $option['value'] ) . apply_filters( 'wppr_option_custom_icon', '' ); ?>">
74
  <?php for ( $i = 1; $i <= 10; $i++ ) { ?>
50
 
51
  <div class="review-wu-grade">
52
  <div class="review-wu-grade-content">
53
+ <div class="wppr-c100 wppr-p<?php echo esc_attr( round( $review_object->get_rating() ) ) . ' ' . $review_object->get_rating_class(); ?>">
54
  <span><?php echo esc_html( round( $review_object->get_rating(), 0 ) / 10 ); ?></span>
55
+ <div class="wppr-slice">
56
+ <div class="wppr-bar"></div>
57
+ <div class="wppr-fill"></div>
58
  </div>
59
+ <div class="wppr-slice-center"></div>
60
  </div>
61
  </div>
62
  </div><!-- end .review-wu-grade -->
63
  </div><!-- end .review-wu-left-top -->
64
 
65
  <div class="review-wu-bars">
66
+ <?php
67
+ foreach ( $review_object->get_options() as $option ) {
68
+
69
+ ?>
70
  <div class="rev-option" data-value="
71
  <?php echo $option['value']; ?>">
72
  <div class="cwpr_clearfix">
73
  <h3><?php echo esc_html( apply_filters( 'wppr_option_name_html', $option['name'] ) ); ?></h3>
74
+ <span><?php echo esc_html( number_format( ( $option['value'] / 10 ), 1 ) ); ?>/10 </span>
75
  </div>
76
  <ul class="cwpr_clearfix <?php echo $review_object->get_rating_class( $option['value'] ) . apply_filters( 'wppr_option_custom_icon', '' ); ?>">
77
  <?php for ( $i = 1; $i <= 10; $i++ ) { ?>
includes/public/layouts/widget/default.php CHANGED
@@ -49,13 +49,17 @@ foreach ( $results as $review ) :
49
  ?>
50
  <div class="review-grade-widget wppr-col">
51
  <div class="review-wu-grade-content">
52
- <div class="c100 p<?php echo esc_attr( round( $review_score ) ) . ' ' . esc_attr( $review_class ); ?>">
 
 
 
 
53
  <span><?php echo esc_html( round( $review_score, 0 ) / 10 ); ?></span>
54
- <div class="slice">
55
- <div class="bar"></div>
56
- <div class="fill"></div>
57
  </div>
58
- <div class="slice-center"></div>
59
  </div>
60
  </div>
61
  </div>
49
  ?>
50
  <div class="review-grade-widget wppr-col">
51
  <div class="review-wu-grade-content">
52
+ <div class="wppr-c100
53
+ <?php
54
+ echo esc_attr( ' wppr-p' . round( $review_score ) ) . ' ' . esc_attr( $review_class );
55
+ ?>
56
+ ">
57
  <span><?php echo esc_html( round( $review_score, 0 ) / 10 ); ?></span>
58
+ <div class="wppr-slice">
59
+ <div class="wppr-bar"></div>
60
+ <div class="wppr-fill"></div>
61
  </div>
62
+ <div class="wppr-slice-center"></div>
63
  </div>
64
  </div>
65
  </div>
languages/wp-product-review.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the no.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP Product Review Lite 3.2.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/wp-product-review/issues\n"
7
- "POT-Creation-Date: 2017-11-06 14:40:53+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,7 +24,7 @@ msgstr ""
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
- #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:101
28
  msgid "10"
29
  msgstr ""
30
 
@@ -487,23 +487,31 @@ msgstr ""
487
  msgid "Category:"
488
  msgstr ""
489
 
490
- #: includes/admin/layouts/widget-admin-tpl.php:62
 
 
 
 
 
 
 
 
491
  msgid "Layout:"
492
  msgstr ""
493
 
494
- #: includes/admin/layouts/widget-admin-tpl.php:86
495
  msgid "Buy Now text:"
496
  msgstr ""
497
 
498
- #: includes/admin/layouts/widget-admin-tpl.php:91
499
  msgid "Read Review text:"
500
  msgstr ""
501
 
502
- #: includes/admin/layouts/widget-admin-tpl.php:95
503
  msgid "Display Product Titles :"
504
  msgstr ""
505
 
506
- #: includes/admin/layouts/widget-admin-tpl.php:99
507
  msgid "Display Product Image :"
508
  msgstr ""
509
 
@@ -515,17 +523,17 @@ msgstr ""
515
  msgid "Attach the image"
516
  msgstr ""
517
 
518
- #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:71
519
- #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:117
520
  msgid "Buy Now"
521
  msgstr ""
522
 
523
- #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:74
524
- #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:121
525
  msgid "Read Review"
526
  msgstr ""
527
 
528
- #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:105
529
  msgid "Select Category"
530
  msgstr ""
531
 
@@ -549,7 +557,7 @@ msgstr ""
549
  msgid "This widget displays the top products based on their rating."
550
  msgstr ""
551
 
552
- #: includes/admin/widgets/class-wppr-top-products-widget.php:121
553
  msgid "Top Products"
554
  msgstr ""
555
 
2
  # This file is distributed under the no.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP Product Review Lite 3.3.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/wp-product-review/issues\n"
7
+ "POT-Creation-Date: 2017-11-27 12:40:32+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
+ #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:112
28
  msgid "10"
29
  msgstr ""
30
 
487
  msgid "Category:"
488
  msgstr ""
489
 
490
+ #: includes/admin/layouts/widget-admin-tpl.php:72
491
+ msgid "Timespan (weeks):"
492
+ msgstr ""
493
+
494
+ #: includes/admin/layouts/widget-admin-tpl.php:76
495
+ msgid "Posts published between %s%d%s and %s%d%s week(s) ago"
496
+ msgstr ""
497
+
498
+ #: includes/admin/layouts/widget-admin-tpl.php:84
499
  msgid "Layout:"
500
  msgstr ""
501
 
502
+ #: includes/admin/layouts/widget-admin-tpl.php:108
503
  msgid "Buy Now text:"
504
  msgstr ""
505
 
506
+ #: includes/admin/layouts/widget-admin-tpl.php:113
507
  msgid "Read Review text:"
508
  msgstr ""
509
 
510
+ #: includes/admin/layouts/widget-admin-tpl.php:117
511
  msgid "Display Product Titles :"
512
  msgstr ""
513
 
514
+ #: includes/admin/layouts/widget-admin-tpl.php:121
515
  msgid "Display Product Image :"
516
  msgstr ""
517
 
523
  msgid "Attach the image"
524
  msgstr ""
525
 
526
+ #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:82
527
+ #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:128
528
  msgid "Buy Now"
529
  msgstr ""
530
 
531
+ #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:85
532
+ #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:132
533
  msgid "Read Review"
534
  msgstr ""
535
 
536
+ #: includes/admin/widgets/abstract/class-wppr-widget-abstract.php:116
537
  msgid "Select Category"
538
  msgstr ""
539
 
557
  msgid "This widget displays the top products based on their rating."
558
  msgstr ""
559
 
560
+ #: includes/admin/widgets/class-wppr-top-products-widget.php:132
561
  msgid "Top Products"
562
  msgstr ""
563
 
readme.md CHANGED
@@ -67,6 +67,13 @@ If you wanna learn more about the <a href="http://www.codeinwp.com/blog/fastest-
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  ## Changelog ##
 
 
 
 
 
 
 
70
  ### 3.2.1 - 2017-11-16 ###
71
 
72
  * Adds compatibility with WordPress 4.9
@@ -425,6 +432,7 @@ Alternatively you can also follow the following steps to install the WP Product
425
  ## Frequently Asked Questions ##
426
 
427
 
 
428
  ### How to activate user reviews ###
429
 
430
  By default user reviews are disabled since not all the themes are compatible with this option due to different designs for the comment box. You can easily activate them from General Settings
@@ -459,7 +467,49 @@ https://themeisle.com/contact
459
  ### Prevent users from posting multiple review on a single post in WP Product Review ###
460
  [http://docs.themeisle.com/article/578-prevent-users-from-posting-multiple-review-on-a-single-post-in-wp-product-review](http://docs.themeisle.com/article/578-prevent-users-from-posting-multiple-review-on-a-single-post-in-wp-product-review)
461
 
462
- ## Upgrade Notice ##
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
 
464
  ### 3.0 ###
465
  3.0 is a major update. It is important that you make backups and ensure themes are 3.0 compatible before upgrading.
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  ## Changelog ##
70
+ ### 3.3.0 - 2017-11-27 ###
71
+
72
+ * Fix individual rating influenced by comments.
73
+ * Fix compatibility with various themes.
74
+ * Fix top product widgets sorting when comments influence is on.
75
+
76
+
77
  ### 3.2.1 - 2017-11-16 ###
78
 
79
  * Adds compatibility with WordPress 4.9
432
  ## Frequently Asked Questions ##
433
 
434
 
435
+
436
  ### How to activate user reviews ###
437
 
438
  By default user reviews are disabled since not all the themes are compatible with this option due to different designs for the comment box. You can easily activate them from General Settings
467
  ### Prevent users from posting multiple review on a single post in WP Product Review ###
468
  [http://docs.themeisle.com/article/578-prevent-users-from-posting-multiple-review-on-a-single-post-in-wp-product-review](http://docs.themeisle.com/article/578-prevent-users-from-posting-multiple-review-on-a-single-post-in-wp-product-review)
469
 
470
+ ### WP Product Review Documentation ###
471
+ [http://docs.themeisle.com/article/173-wp-product-review-documentation](http://docs.themeisle.com/article/173-wp-product-review-documentation)
472
+
473
+ = WP Product Review Shortcode Documentation =
474
+ [http://docs.themeisle.com/article/449-wp-product-review-shortcode-documentation](http://docs.themeisle.com/article/449-wp-product-review-shortcode-documentation)
475
+
476
+ = WP Product Review Comparison Table Documentation =
477
+ [http://docs.themeisle.com/article/424-wp-product-review-comparison-table-documentation](http://docs.themeisle.com/article/424-wp-product-review-comparison-table-documentation)
478
+
479
+ = Enable user reviews in WP Product Review =
480
+ [http://docs.themeisle.com/article/759-enable-user-reviews-in-wp-product-revie](http://docs.themeisle.com/article/759-enable-user-reviews-in-wp-product-revie)
481
+
482
+ = How to create a listing grid of reviews in WP Product Review =
483
+ [http://docs.themeisle.com/article/764-how-to-create-a-listing-grid-of-reviews-in-wp-product-review](http://docs.themeisle.com/article/764-how-to-create-a-listing-grid-of-reviews-in-wp-product-review)
484
+
485
+ = Rich Snippets not showing in search results =
486
+ [http://docs.themeisle.com/article/756-rich-snippets-not-showing-in-search-results](http://docs.themeisle.com/article/756-rich-snippets-not-showing-in-search-results)
487
+
488
+ = How to add a top products widget in WP Product Review =
489
+ [http://docs.themeisle.com/article/763-how-to-add-a-top-products-widget-in-wp-product-review](http://docs.themeisle.com/article/763-how-to-add-a-top-products-widget-in-wp-product-review)
490
+
491
+ = How to remove rich snippets in WP Product Review =
492
+ [http://docs.themeisle.com/article/755-how-to-remove-rich-snippets-in-wp-product-review](http://docs.themeisle.com/article/755-how-to-remove-rich-snippets-in-wp-product-review)
493
+
494
+ = How to remove Pros/Cons list in WP Product Review =
495
+ [http://docs.themeisle.com/article/762-how-to-remove-pros-cons-list-in-wp-product-review](http://docs.themeisle.com/article/762-how-to-remove-pros-cons-list-in-wp-product-review)
496
+
497
+ = How to change the default rating icon in WP Product Review =
498
+ [http://docs.themeisle.com/article/757-how-to-change-the-default-rating-icon-in-wp-product-review](http://docs.themeisle.com/article/757-how-to-change-the-default-rating-icon-in-wp-product-review)
499
+
500
+ = How the visitors rating are influencing the review rating in WP Product Review =
501
+ [http://docs.themeisle.com/article/760-how-the-visitors-rating-are-influencing-the-review-rating-in-wp-product-review](http://docs.themeisle.com/article/760-how-the-visitors-rating-are-influencing-the-review-rating-in-wp-product-review)
502
+
503
+ = How to change the rating colours in WP Product Review =
504
+ [http://docs.themeisle.com/article/761-how-to-change-the-rating-colours-in-wp-product-review](http://docs.themeisle.com/article/761-how-to-change-the-rating-colours-in-wp-product-review)
505
+
506
+ = How to increase number of review options, pros or cons in WP Product Review =
507
+ [http://docs.themeisle.com/article/758-how-to-increase-number-of-review-options-pros-or-cons-in-wp-product-review](http://docs.themeisle.com/article/758-how-to-increase-number-of-review-options-pros-or-cons-in-wp-product-review)
508
+
509
+ = What actions and filters are available in WP Product Review =
510
+ [http://docs.themeisle.com/article/770-what-actions-and-filters-are-available-in-wp-product-review](http://docs.themeisle.com/article/770-what-actions-and-filters-are-available-in-wp-product-review)
511
+
512
+ == Upgrade Notice ==
513
 
514
  ### 3.0 ###
515
  3.0 is a major update. It is important that you make backups and ensure themes are 3.0 compatible before upgrading.
readme.txt CHANGED
@@ -67,6 +67,13 @@ If you wanna learn more about the <a href="http://www.codeinwp.com/blog/fastest-
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  == Changelog ==
 
 
 
 
 
 
 
70
  = 3.2.1 - 2017-11-16 =
71
 
72
  * Adds compatibility with WordPress 4.9
@@ -425,6 +432,8 @@ Alternatively you can also follow the following steps to install the WP Product
425
  == Frequently Asked Questions ==
426
 
427
 
 
 
428
  = How to activate user reviews =
429
 
430
  By default user reviews are disabled since not all the themes are compatible with this option due to different designs for the comment box. You can easily activate them from General Settings
@@ -459,7 +468,52 @@ https://themeisle.com/contact
459
  = Prevent users from posting multiple review on a single post in WP Product Review =
460
  [http://docs.themeisle.com/article/578-prevent-users-from-posting-multiple-review-on-a-single-post-in-wp-product-review](http://docs.themeisle.com/article/578-prevent-users-from-posting-multiple-review-on-a-single-post-in-wp-product-review)
461
 
462
- == Upgrade Notice ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
 
464
  = 3.0 =
465
  3.0 is a major update. It is important that you make backups and ensure themes are 3.0 compatible before upgrading.
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  == Changelog ==
70
+ = 3.3.0 - 2017-11-27 =
71
+
72
+ * Fix individual rating influenced by comments.
73
+ * Fix compatibility with various themes.
74
+ * Fix top product widgets sorting when comments influence is on.
75
+
76
+
77
  = 3.2.1 - 2017-11-16 =
78
 
79
  * Adds compatibility with WordPress 4.9
432
  == Frequently Asked Questions ==
433
 
434
 
435
+
436
+
437
  = How to activate user reviews =
438
 
439
  By default user reviews are disabled since not all the themes are compatible with this option due to different designs for the comment box. You can easily activate them from General Settings
468
  = Prevent users from posting multiple review on a single post in WP Product Review =
469
  [http://docs.themeisle.com/article/578-prevent-users-from-posting-multiple-review-on-a-single-post-in-wp-product-review](http://docs.themeisle.com/article/578-prevent-users-from-posting-multiple-review-on-a-single-post-in-wp-product-review)
470
 
471
+ = WP Product Review Documentation =
472
+ [http://docs.themeisle.com/article/173-wp-product-review-documentation](http://docs.themeisle.com/article/173-wp-product-review-documentation)
473
+
474
+ = WP Product Review Shortcode Documentation =
475
+ [http://docs.themeisle.com/article/449-wp-product-review-shortcode-documentation](http://docs.themeisle.com/article/449-wp-product-review-shortcode-documentation)
476
+
477
+ = WP Product Review Comparison Table Documentation =
478
+ [http://docs.themeisle.com/article/424-wp-product-review-comparison-table-documentation](http://docs.themeisle.com/article/424-wp-product-review-comparison-table-documentation)
479
+
480
+ = Enable user reviews in WP Product Review =
481
+ [http://docs.themeisle.com/article/759-enable-user-reviews-in-wp-product-revie](http://docs.themeisle.com/article/759-enable-user-reviews-in-wp-product-revie)
482
+
483
+ = How to create a listing grid of reviews in WP Product Review =
484
+ [http://docs.themeisle.com/article/764-how-to-create-a-listing-grid-of-reviews-in-wp-product-review](http://docs.themeisle.com/article/764-how-to-create-a-listing-grid-of-reviews-in-wp-product-review)
485
+
486
+ = Rich Snippets not showing in search results =
487
+ [http://docs.themeisle.com/article/756-rich-snippets-not-showing-in-search-results](http://docs.themeisle.com/article/756-rich-snippets-not-showing-in-search-results)
488
+
489
+ = How to add a top products widget in WP Product Review =
490
+ [http://docs.themeisle.com/article/763-how-to-add-a-top-products-widget-in-wp-product-review](http://docs.themeisle.com/article/763-how-to-add-a-top-products-widget-in-wp-product-review)
491
+
492
+ = How to remove rich snippets in WP Product Review =
493
+ [http://docs.themeisle.com/article/755-how-to-remove-rich-snippets-in-wp-product-review](http://docs.themeisle.com/article/755-how-to-remove-rich-snippets-in-wp-product-review)
494
+
495
+ = How to remove Pros/Cons list in WP Product Review =
496
+ [http://docs.themeisle.com/article/762-how-to-remove-pros-cons-list-in-wp-product-review](http://docs.themeisle.com/article/762-how-to-remove-pros-cons-list-in-wp-product-review)
497
+
498
+ = How to change the default rating icon in WP Product Review =
499
+ [http://docs.themeisle.com/article/757-how-to-change-the-default-rating-icon-in-wp-product-review](http://docs.themeisle.com/article/757-how-to-change-the-default-rating-icon-in-wp-product-review)
500
+
501
+ = How the visitors rating are influencing the review rating in WP Product Review =
502
+ [http://docs.themeisle.com/article/760-how-the-visitors-rating-are-influencing-the-review-rating-in-wp-product-review](http://docs.themeisle.com/article/760-how-the-visitors-rating-are-influencing-the-review-rating-in-wp-product-review)
503
+
504
+ = How to change the rating colours in WP Product Review =
505
+ [http://docs.themeisle.com/article/761-how-to-change-the-rating-colours-in-wp-product-review](http://docs.themeisle.com/article/761-how-to-change-the-rating-colours-in-wp-product-review)
506
+
507
+ = How to increase number of review options, pros or cons in WP Product Review =
508
+ [http://docs.themeisle.com/article/758-how-to-increase-number-of-review-options-pros-or-cons-in-wp-product-review](http://docs.themeisle.com/article/758-how-to-increase-number-of-review-options-pros-or-cons-in-wp-product-review)
509
+
510
+ = What actions and filters are available in WP Product Review =
511
+ [http://docs.themeisle.com/article/770-what-actions-and-filters-are-available-in-wp-product-review](http://docs.themeisle.com/article/770-what-actions-and-filters-are-available-in-wp-product-review)
512
+
513
+ = Install and use the pro version of WP Product Review =
514
+ [http://docs.themeisle.com/article/785-install-and-use-the-pro-version-of-wp-product-review](http://docs.themeisle.com/article/785-install-and-use-the-pro-version-of-wp-product-review)
515
+
516
+ == Upgrade Notice ==
517
 
518
  = 3.0 =
519
  3.0 is a major update. It is important that you make backups and ensure themes are 3.0 compatible before upgrading.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit70238209345fbba85696918055719b82::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit3cd401dcbad18c553f5d8d2be65b6cbc::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInitaa84f34792ed0d5a50c81a4725c35a2a::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit1a458edec147bef4a45823ad8f2d4935::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php CHANGED
@@ -60,7 +60,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
60
  /**
61
  * @var array $allowed_authors The allowed authors.
62
  */
63
- private $allowed_authors = array( 'proteusthemes.com', 'anarieldesign.com', 'prothemedesign.com' );
64
  /**
65
  * @var bool $requires_license Either user needs to activate it with license.
66
  */
60
  /**
61
  * @var array $allowed_authors The allowed authors.
62
  */
63
+ private $allowed_authors = array( 'proteusthemes.com', 'anarieldesign.com', 'prothemedesign.com', 'cssigniter.com' );
64
  /**
65
  * @var bool $requires_license Either user needs to activate it with license.
66
  */
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '1.9.1';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
11
  */
12
 
13
  // Current SDK version and path.
14
+ $themeisle_sdk_version = '1.9.2';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit70238209345fbba85696918055719b82
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit70238209345fbba85696918055719b82
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit70238209345fbba85696918055719b82', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit70238209345fbba85696918055719b82', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit70238209345fbba85696918055719b82
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire70238209345fbba85696918055719b82($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire70238209345fbba85696918055719b82($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit3cd401dcbad18c553f5d8d2be65b6cbc
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit3cd401dcbad18c553f5d8d2be65b6cbc', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit3cd401dcbad18c553f5d8d2be65b6cbc', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire3cd401dcbad18c553f5d8d2be65b6cbc($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire3cd401dcbad18c553f5d8d2be65b6cbc($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInitaa84f34792ed0d5a50c81a4725c35a2a {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitaa84f34792ed0d5a50c81a4725c35a2a {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitaa84f34792ed0d5a50c81a4725c35a2a', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitaa84f34792ed0d5a50c81a4725c35a2a', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit1a458edec147bef4a45823ad8f2d4935 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit1a458edec147bef4a45823ad8f2d4935', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit1a458edec147bef4a45823ad8f2d4935', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
vendor/composer/installed.json CHANGED
@@ -39,15 +39,15 @@
39
  "source": {
40
  "type": "git",
41
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
42
- "reference": "a05ab89594381a935573300f0aafdae8c28cefe5"
43
  },
44
  "dist": {
45
  "type": "zip",
46
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/a05ab89594381a935573300f0aafdae8c28cefe5",
47
- "reference": "a05ab89594381a935573300f0aafdae8c28cefe5",
48
  "shasum": ""
49
  },
50
- "time": "2017-11-13 10:52:46",
51
  "type": "library",
52
  "installation-source": "dist",
53
  "autoload": {
39
  "source": {
40
  "type": "git",
41
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
42
+ "reference": "1933233168091b9e72df9df60b234b7650d6b00b"
43
  },
44
  "dist": {
45
  "type": "zip",
46
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/1933233168091b9e72df9df60b234b7650d6b00b",
47
+ "reference": "1933233168091b9e72df9df60b234b7650d6b00b",
48
  "shasum": ""
49
  },
50
+ "time": "2017-11-23 13:26:34",
51
  "type": "library",
52
  "installation-source": "dist",
53
  "autoload": {
wp-product-review.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: WP Product Review Lite
16
  * Plugin URI: https://themeisle.com/plugins/wp-product-review/
17
  * Description: The highest rated and most complete review plugin, now with rich snippets support. Easily turn your basic posts into in-depth reviews.
18
- * Version: 3.2.1
19
  * Author: ThemeIsle
20
  * Author URI: https://themeisle.com/
21
  * Requires at least: 3.5
@@ -67,11 +67,12 @@ register_deactivation_hook( __FILE__, 'deactivate_wppr' );
67
  */
68
  function run_wppr() {
69
 
70
- define( 'WPPR_LITE_VERSION', '3.2.1' );
71
  define( 'WPPR_PATH', dirname( __FILE__ ) );
72
  define( 'WPPR_SLUG', 'wppr' );
73
  define( 'WPPR_UPSELL_LINK', 'https://themeisle.com/plugins/wp-product-review/' );
74
  define( 'WPPR_URL', untrailingslashit( plugins_url( '/', __FILE__ ) ) );
 
75
 
76
  $plugin = new WPPR();
77
  $plugin->run();
@@ -81,9 +82,20 @@ function run_wppr() {
81
  if ( is_readable( $vendor_file ) ) {
82
  require_once $vendor_file;
83
  }
 
84
  add_filter( 'themeisle_sdk_products', 'wppr_lite_register_sdk' );
85
  }
86
 
 
 
 
 
 
 
 
 
 
 
87
  /**
88
  * Register product to sdk.
89
  *
15
  * Plugin Name: WP Product Review Lite
16
  * Plugin URI: https://themeisle.com/plugins/wp-product-review/
17
  * Description: The highest rated and most complete review plugin, now with rich snippets support. Easily turn your basic posts into in-depth reviews.
18
+ * Version: 3.3.0
19
  * Author: ThemeIsle
20
  * Author URI: https://themeisle.com/
21
  * Requires at least: 3.5
67
  */
68
  function run_wppr() {
69
 
70
+ define( 'WPPR_LITE_VERSION', '3.3.0' );
71
  define( 'WPPR_PATH', dirname( __FILE__ ) );
72
  define( 'WPPR_SLUG', 'wppr' );
73
  define( 'WPPR_UPSELL_LINK', 'https://themeisle.com/plugins/wp-product-review/' );
74
  define( 'WPPR_URL', untrailingslashit( plugins_url( '/', __FILE__ ) ) );
75
+ define( 'WPPR_CACHE_DISABLED', false );
76
 
77
  $plugin = new WPPR();
78
  $plugin->run();
82
  if ( is_readable( $vendor_file ) ) {
83
  require_once $vendor_file;
84
  }
85
+ add_filter( 'pirate_parrot_log', 'wppr_lite_register_parrot', 10, 1 );
86
  add_filter( 'themeisle_sdk_products', 'wppr_lite_register_sdk' );
87
  }
88
 
89
+ /**
90
+ * Registers with the parrot plugin
91
+ *
92
+ * @param array $plugins Array of plugins.
93
+ */
94
+ function wppr_lite_register_parrot( $plugins ) {
95
+ $plugins[] = WPPR_SLUG;
96
+ return $plugins;
97
+ }
98
+
99
  /**
100
  * Register product to sdk.
101
  *