YOP Poll - Version 6.4.5

Version Description

  • fixed issue with blocking voters per day by reseting at midnight instead of 24 hours from the time of the vote
Download this release

Release Info

Developer yourownprogrammer
Plugin Icon 128x128 YOP Poll
Version 6.4.5
Comparing to
See all releases

Code changes from version 6.4.4 to 6.4.5

admin/admin.php CHANGED
@@ -374,6 +374,10 @@ class YOP_Poll_Admin {
374
  $maintenance = new YOP_POLL_Maintenance();
375
  $maintenance->update_to_version_6_4_4();
376
  }
 
 
 
 
377
  }
378
  }
379
  public function load_translations() {
374
  $maintenance = new YOP_POLL_Maintenance();
375
  $maintenance->update_to_version_6_4_4();
376
  }
377
+ if ( true === version_compare( $installed_version, '6.4.5', '<' ) ) {
378
+ $maintenance = new YOP_POLL_Maintenance();
379
+ $maintenance->update_to_version_6_4_5();
380
+ }
381
  }
382
  }
383
  public function load_translations() {
admin/assets/css/{admin-6.4.4.css → admin-6.4.5.css} RENAMED
File without changes
admin/assets/js/{admin-6.4.4.min.js → admin-6.4.5.min.js} RENAMED
File without changes
admin/inc/maintenance.php CHANGED
@@ -185,6 +185,9 @@ class YOP_POLL_Maintenance {
185
  public function update_to_version_6_4_4() {
186
  update_option( 'yop_poll_version', '6.4.4' );
187
  }
 
 
 
188
  public function create_archive_page() {
189
  $poll_archive_page = get_page_by_path( 'yop-poll-archive', ARRAY_A );
190
  if ( ! $poll_archive_page ) {
185
  public function update_to_version_6_4_4() {
186
  update_option( 'yop_poll_version', '6.4.4' );
187
  }
188
+ public function update_to_version_6_4_5() {
189
+ update_option( 'yop_poll_version', '6.4.5' );
190
+ }
191
  public function create_archive_page() {
192
  $poll_archive_page = get_page_by_path( 'yop-poll-archive', ARRAY_A );
193
  if ( ! $poll_archive_page ) {
admin/models/polls.php CHANGED
@@ -2299,6 +2299,7 @@ class YOP_Poll_Polls {
2299
  $accept_votes_from_anonymous = true;
2300
  $should_continue = true;
2301
  $previous_vote = null;
 
2302
  if ( false === isset( $poll->meta_data['options']['access']['blockLengthType'] ) ) {
2303
  $poll->meta_data['options']['access']['blockLengthType'] = 'limited-time';
2304
  }
@@ -2315,19 +2316,22 @@ class YOP_Poll_Polls {
2315
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
2316
  case 'minutes': {
2317
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
 
2318
  break;
2319
  }
2320
  case 'hours': {
2321
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
 
2322
  break;
2323
  }
2324
  case 'days': {
2325
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
 
2326
  break;
2327
  }
2328
  }
2329
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
2330
- $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date ), new DateTimeZone( 'UTC' ) );
2331
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
2332
  if ( $current_vote_date < $previous_vote_date ) {
2333
  $accept_votes_from_anonymous = false;
@@ -2350,19 +2354,22 @@ class YOP_Poll_Polls {
2350
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
2351
  case 'minutes': {
2352
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
 
2353
  break;
2354
  }
2355
  case 'hours': {
2356
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
 
2357
  break;
2358
  }
2359
  case 'days': {
2360
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
 
2361
  break;
2362
  }
2363
  }
2364
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
2365
- $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date ), new DateTimeZone( 'UTC' ) );
2366
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
2367
  if ( $current_vote_date < $previous_vote_date ) {
2368
  $accept_votes_from_anonymous = false;
@@ -2386,19 +2393,22 @@ class YOP_Poll_Polls {
2386
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
2387
  case 'minutes': {
2388
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
 
2389
  break;
2390
  }
2391
  case 'hours': {
2392
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
 
2393
  break;
2394
  }
2395
  case 'days': {
2396
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
 
2397
  break;
2398
  }
2399
  }
2400
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
2401
- $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date ), new DateTimeZone( 'UTC' ) );
2402
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
2403
  if ( $current_vote_date < $previous_vote_date ) {
2404
  $accept_votes_from_anonymous = false;
2299
  $accept_votes_from_anonymous = true;
2300
  $should_continue = true;
2301
  $previous_vote = null;
2302
+ $date_format = '';
2303
  if ( false === isset( $poll->meta_data['options']['access']['blockLengthType'] ) ) {
2304
  $poll->meta_data['options']['access']['blockLengthType'] = 'limited-time';
2305
  }
2316
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
2317
  case 'minutes': {
2318
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
2319
+ $date_format = 'Y-m-d H:i:s';
2320
  break;
2321
  }
2322
  case 'hours': {
2323
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
2324
+ $date_format = 'Y-m-d H:i:s';
2325
  break;
2326
  }
2327
  case 'days': {
2328
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
2329
+ $date_format = 'Y-m-d';
2330
  break;
2331
  }
2332
  }
2333
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
2334
+ $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date, $date_format ), new DateTimeZone( 'UTC' ) );
2335
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
2336
  if ( $current_vote_date < $previous_vote_date ) {
2337
  $accept_votes_from_anonymous = false;
2354
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
2355
  case 'minutes': {
2356
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
2357
+ $date_format = 'Y-m-d H:i:s';
2358
  break;
2359
  }
2360
  case 'hours': {
2361
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
2362
+ $date_format = 'Y-m-d H:i:s';
2363
  break;
2364
  }
2365
  case 'days': {
2366
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
2367
+ $date_format = 'Y-m-d';
2368
  break;
2369
  }
2370
  }
2371
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
2372
+ $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date, $date_format ), new DateTimeZone( 'UTC' ) );
2373
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
2374
  if ( $current_vote_date < $previous_vote_date ) {
2375
  $accept_votes_from_anonymous = false;
2393
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
2394
  case 'minutes': {
2395
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
2396
+ $date_format = 'Y-m-d H:i:s';
2397
  break;
2398
  }
2399
  case 'hours': {
2400
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
2401
+ $date_format = 'Y-m-d H:i:s';
2402
  break;
2403
  }
2404
  case 'days': {
2405
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
2406
+ $date_format = 'Y-m-d';
2407
  break;
2408
  }
2409
  }
2410
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
2411
+ $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date, $date_format ), new DateTimeZone( 'UTC' ) );
2412
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
2413
  if ( $current_vote_date < $previous_vote_date ) {
2414
  $accept_votes_from_anonymous = false;
admin/models/votes.php CHANGED
@@ -443,6 +443,7 @@ class YOP_Poll_Votes {
443
  }
444
  public static function validate_voter_against_blocks( $vote, $poll ) {
445
  $previous_vote = null;
 
446
  if ( false === isset( $poll->meta_data['options']['access']['blockLengthType'] ) ) {
447
  $poll->meta_data['options']['access']['blockLengthType'] = 'limited-time';
448
  }
@@ -462,19 +463,22 @@ class YOP_Poll_Votes {
462
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
463
  case 'minutes': {
464
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
 
465
  break;
466
  }
467
  case 'hours': {
468
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
 
469
  break;
470
  }
471
  case 'days': {
472
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
 
473
  break;
474
  }
475
  }
476
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
477
- $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date ), new DateTimeZone( 'UTC' ) );
478
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
479
  if ( $current_vote_date < $previous_vote_date ) {
480
  self::$errors_present = true;
@@ -503,19 +507,22 @@ class YOP_Poll_Votes {
503
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
504
  case 'minutes': {
505
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
 
506
  break;
507
  }
508
  case 'hours': {
509
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
 
510
  break;
511
  }
512
  case 'days': {
513
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
 
514
  break;
515
  }
516
  }
517
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
518
- $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date ), new DateTimeZone( 'UTC' ) );
519
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
520
  if ( $current_vote_date < $previous_vote_date ) {
521
  self::$errors_present = true;
@@ -545,19 +552,22 @@ class YOP_Poll_Votes {
545
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
546
  case 'minutes': {
547
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
 
548
  break;
549
  }
550
  case 'hours': {
551
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
 
552
  break;
553
  }
554
  case 'days': {
555
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
 
556
  break;
557
  }
558
  }
559
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
560
- $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date ), new DateTimeZone( 'UTC' ) );
561
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
562
  if ( $current_vote_date < $previous_vote_date ) {
563
  self::$errors_present = true;
443
  }
444
  public static function validate_voter_against_blocks( $vote, $poll ) {
445
  $previous_vote = null;
446
+ $date_format = '';
447
  if ( false === isset( $poll->meta_data['options']['access']['blockLengthType'] ) ) {
448
  $poll->meta_data['options']['access']['blockLengthType'] = 'limited-time';
449
  }
463
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
464
  case 'minutes': {
465
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
466
+ $date_format = 'Y-m-d H:i:s';
467
  break;
468
  }
469
  case 'hours': {
470
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
471
+ $date_format = 'Y-m-d H:i:s';
472
  break;
473
  }
474
  case 'days': {
475
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
476
+ $date_format = 'Y-m-d';
477
  break;
478
  }
479
  }
480
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
481
+ $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date, $date_format ), new DateTimeZone( 'UTC' ) );
482
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
483
  if ( $current_vote_date < $previous_vote_date ) {
484
  self::$errors_present = true;
507
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
508
  case 'minutes': {
509
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
510
+ $date_format = 'Y-m-d H:i:s';
511
  break;
512
  }
513
  case 'hours': {
514
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
515
+ $date_format = 'Y-m-d H:i:s';
516
  break;
517
  }
518
  case 'days': {
519
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
520
+ $date_format = 'Y-m-d';
521
  break;
522
  }
523
  }
524
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
525
+ $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date, $date_format ), new DateTimeZone( 'UTC' ) );
526
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
527
  if ( $current_vote_date < $previous_vote_date ) {
528
  self::$errors_present = true;
552
  switch ( $poll->meta_data['options']['access']['blockForPeriod'] ) {
553
  case 'minutes': {
554
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'M';
555
+ $date_format = 'Y-m-d H:i:s';
556
  break;
557
  }
558
  case 'hours': {
559
  $block_for_period = 'PT' . $poll->meta_data['options']['access']['blockForValue'] . 'H';
560
+ $date_format = 'Y-m-d H:i:s';
561
  break;
562
  }
563
  case 'days': {
564
  $block_for_period = 'P' . $poll->meta_data['options']['access']['blockForValue'] . 'D';
565
+ $date_format = 'Y-m-d';
566
  break;
567
  }
568
  }
569
  $current_vote_date = new DateTime( get_gmt_from_date( current_time( 'mysql' ) ), new DateTimeZone( 'UTC' ) );
570
+ $previous_vote_date = new DateTime( get_gmt_from_date( $previous_vote->added_date, $date_format ), new DateTimeZone( 'UTC' ) );
571
  $previous_vote_date->add( new DateInterval( $block_for_period ) );
572
  if ( $current_vote_date < $previous_vote_date ) {
573
  self::$errors_present = true;
languages/yop-poll.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: YOP Poll 6.4.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yop-poll-free\n"
7
- "POT-Creation-Date: 2022-07-13 06:55:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -75,200 +75,200 @@ msgstr ""
75
  msgid "Skip and Deactivate"
76
  msgstr ""
77
 
78
- #: admin/admin.php:393 admin/admin.php:394
79
  msgid "Yop Poll"
80
  msgstr ""
81
 
82
- #: admin/admin.php:407 admin/admin.php:408 admin/admin.php:715
83
  #: admin/views/bans/add.php:23 admin/views/bans/edit.php:27
84
  #: admin/views/bans/edit.php:35 admin/views/polls/view.php:155
85
  #: admin/views/results/view.php:24 admin/views/results/votes.php:102
86
  msgid "All Polls"
87
  msgstr ""
88
 
89
- #: admin/admin.php:422 admin/admin.php:423 admin/views/bans/view.php:158
90
  #: admin/views/polls/view.php:173
91
  msgid "Add New"
92
  msgstr ""
93
 
94
- #: admin/admin.php:433 admin/admin.php:434 admin/views/bans/view.php:140
95
  msgid "Bans"
96
  msgstr ""
97
 
98
- #: admin/admin.php:444 admin/admin.php:445 admin/views/logs/view.php:108
99
  msgid "Logs"
100
  msgstr ""
101
 
102
- #: admin/admin.php:459 admin/admin.php:460
103
  msgid "Settings"
104
  msgstr ""
105
 
106
- #: admin/admin.php:471 admin/admin.php:472
107
  msgid "Migrate old records"
108
  msgstr ""
109
 
110
- #: admin/admin.php:483 admin/admin.php:484
111
  msgid "Upgrade to Pro"
112
  msgstr ""
113
 
114
- #: admin/admin.php:580
115
  msgid "New Custom Field"
116
  msgstr ""
117
 
118
- #: admin/admin.php:581
119
  msgid "Warning"
120
  msgstr ""
121
 
122
- #: admin/admin.php:582 admin/admin.php:583
123
  msgid "Are you sure you want to delete this poll?"
124
  msgstr ""
125
 
126
- #: admin/admin.php:584
127
  msgid "Are you sure you want to delete these polls?"
128
  msgstr ""
129
 
130
- #: admin/admin.php:585 admin/admin.php:586
131
  msgid "Are you sure you want to clone this poll?"
132
  msgstr ""
133
 
134
- #: admin/admin.php:587
135
  msgid "Are you sure you want to clone these polls?"
136
  msgstr ""
137
 
138
- #: admin/admin.php:588 admin/admin.php:589
139
  msgid "Are you sure you want to reset votes for this poll?"
140
  msgstr ""
141
 
142
- #: admin/admin.php:590
143
  msgid "Are you sure you want to reset votes for these polls?"
144
  msgstr ""
145
 
146
- #: admin/admin.php:591
147
  msgid "No bulk action selected"
148
  msgstr ""
149
 
150
- #: admin/admin.php:592
151
  msgid "No polls selected"
152
  msgstr ""
153
 
154
- #: admin/admin.php:593
155
  msgid "No bans selected"
156
  msgstr ""
157
 
158
- #: admin/admin.php:594
159
  msgid "No logs selected"
160
  msgstr ""
161
 
162
- #: admin/admin.php:595
163
  msgid "No votes selected"
164
  msgstr ""
165
 
166
- #: admin/admin.php:596 admin/admin.php:669
167
  msgid "Are you sure you want to delete this ban?"
168
  msgstr ""
169
 
170
- #: admin/admin.php:597
171
  msgid "Are you sure you want to delete these bans?"
172
  msgstr ""
173
 
174
- #: admin/admin.php:598 admin/admin.php:670
175
  msgid "Are you sure you want to delete this log?"
176
  msgstr ""
177
 
178
- #: admin/admin.php:599
179
  msgid "Are you sure you want to delete these logs?"
180
  msgstr ""
181
 
182
- #: admin/admin.php:600
183
  msgid "Are you sure you want to delete this vote?"
184
  msgstr ""
185
 
186
- #: admin/admin.php:601
187
  msgid "Are you sure you want to delete these votes?"
188
  msgstr ""
189
 
190
- #: admin/admin.php:602
191
  msgid "Are you sure you want to delete this answer?"
192
  msgstr ""
193
 
194
- #: admin/admin.php:603
195
  msgid "Answer can't be deleted. At least one answer is required!"
196
  msgstr ""
197
 
198
- #: admin/admin.php:604
199
  msgid "Are you sure you want to delete this custom field?"
200
  msgstr ""
201
 
202
- #: admin/admin.php:605 admin/views/polls/add/main.php:188
203
  #: admin/views/polls/edit/main.php:213 admin/views/results/votes.php:210
204
  msgid "Cancel"
205
  msgstr ""
206
 
207
- #: admin/admin.php:606
208
  msgid "Ok"
209
  msgstr ""
210
 
211
- #: admin/admin.php:607
212
  msgid "Before generating the preview a template is required"
213
  msgstr ""
214
 
215
- #: admin/admin.php:608
216
  msgid "Before generating the preview a skin is required"
217
  msgstr ""
218
 
219
- #: admin/admin.php:609
220
  msgid "Number of columns is missing"
221
  msgstr ""
222
 
223
- #: admin/admin.php:610
224
  msgid "Too many columns. Max 12 allowed"
225
  msgstr ""
226
 
227
- #: admin/admin.php:611
228
  msgid "Click to select"
229
  msgstr ""
230
 
231
- #: admin/admin.php:612 admin/views/polls/add/main.php:194
232
  msgid "Publish immediately"
233
  msgstr ""
234
 
235
- #: admin/admin.php:613
236
  msgid "Schedule for"
237
  msgstr ""
238
 
239
- #: admin/admin.php:614
240
  msgid "Code Copied To Clipboard"
241
  msgstr ""
242
 
243
- #: admin/admin.php:616
244
  msgid "Press"
245
  msgstr ""
246
 
247
- #: admin/admin.php:617
248
  msgid " to copy"
249
  msgstr ""
250
 
251
- #: admin/admin.php:618
252
  msgid "No Support"
253
  msgstr ""
254
 
255
- #: admin/admin.php:620
256
  msgid "Element added"
257
  msgstr ""
258
 
259
- #: admin/admin.php:632
260
  msgid "Poll Preview"
261
  msgstr ""
262
 
263
- #: admin/admin.php:633
264
  msgid "Show preview for"
265
  msgstr ""
266
 
267
- #: admin/admin.php:634 admin/views/settings/view.php:386
268
  msgid "Voting"
269
  msgstr ""
270
 
271
- #: admin/admin.php:635 admin/views/polls/add/main.php:108
272
  #: admin/views/polls/add/options-poll.php:40
273
  #: admin/views/polls/edit/main.php:124 admin/views/polls/view.php:340
274
  #: admin/views/polls/view.php:651 admin/views/results/view.php:31
@@ -276,94 +276,94 @@ msgstr ""
276
  msgid "Results"
277
  msgstr ""
278
 
279
- #: admin/admin.php:646
280
  msgid "Template is missing"
281
  msgstr ""
282
 
283
- #: admin/admin.php:647
284
  msgid "Skin is missing"
285
  msgstr ""
286
 
287
- #: admin/admin.php:648
288
  msgid " is missing"
289
  msgstr ""
290
 
291
- #: admin/admin.php:649
292
  msgid "Poll name is missing"
293
  msgstr ""
294
 
295
- #: admin/admin.php:650
296
  msgid "Question Text is missing"
297
  msgstr ""
298
 
299
- #: admin/admin.php:651
300
  msgid "Answer Text is missing"
301
  msgstr ""
302
 
303
- #: admin/admin.php:652
304
  msgid "Answer Link is missing"
305
  msgstr ""
306
 
307
- #: admin/admin.php:653
308
  msgid "Answer Embed is missing"
309
  msgstr ""
310
 
311
- #: admin/admin.php:654
312
  msgid "Label for Other is missing"
313
  msgstr ""
314
 
315
- #: admin/admin.php:655
316
  msgid "Minimum answers is missing"
317
  msgstr ""
318
 
319
- #: admin/admin.php:656
320
  msgid "Maximum answers is missing"
321
  msgstr ""
322
 
323
- #: admin/admin.php:657
324
  msgid "Custom Field Name is missing"
325
  msgstr ""
326
 
327
- #: admin/admin.php:658
328
  msgid "Poll Start Date is missing"
329
  msgstr ""
330
 
331
- #: admin/admin.php:659
332
  msgid "Poll End Date is missing"
333
  msgstr ""
334
 
335
- #: admin/admin.php:660
336
  msgid "Custom Date for displaying results is missing"
337
  msgstr ""
338
 
339
- #: admin/admin.php:661
340
  msgid "Show Results Time is missing"
341
  msgstr ""
342
 
343
- #: admin/admin.php:662
344
  msgid "Show Results To is missing"
345
  msgstr ""
346
 
347
- #: admin/admin.php:663
348
  msgid "Vote As WordPress User is missing"
349
  msgstr ""
350
 
351
- #: admin/admin.php:666
352
  msgid "Ban For is missing"
353
  msgstr ""
354
 
355
- #: admin/admin.php:667
356
  msgid "Ban Value is missing"
357
  msgstr ""
358
 
359
- #: admin/admin.php:671 admin/admin.php:1341 admin/admin.php:1596
360
- #: admin/models/votes.php:1589
361
  msgid "Question"
362
  msgstr ""
363
 
364
- #: admin/admin.php:672 admin/admin.php:1338 admin/admin.php:1343
365
- #: admin/admin.php:1593 admin/admin.php:1598 admin/models/logs.php:463
366
- #: admin/models/logs.php:467 admin/models/votes.php:1591
367
  #: admin/views/polls/add/elements.php:107
368
  #: admin/views/polls/add/elements.php:181
369
  #: admin/views/polls/edit/elements.php:115
@@ -371,114 +371,114 @@ msgstr ""
371
  msgid "Answer"
372
  msgstr ""
373
 
374
- #: admin/admin.php:673 admin/views/logs/view.php:384
375
  #: admin/views/results/votes.php:432
376
  msgid "View Details"
377
  msgstr ""
378
 
379
- #: admin/admin.php:674
380
  msgid "Hide Details"
381
  msgstr ""
382
 
383
- #: admin/admin.php:675
384
  msgid "Number of Votes"
385
  msgstr ""
386
 
387
- #: admin/admin.php:677
388
  msgid "vote"
389
  msgstr ""
390
 
391
- #: admin/admin.php:678
392
  msgid "votes"
393
  msgstr ""
394
 
395
- #: admin/admin.php:681
396
  msgid "Got It. Continue with the migration"
397
  msgstr ""
398
 
399
- #: admin/admin.php:682
400
  msgid "Hold On. I want to change settings"
401
  msgstr ""
402
 
403
- #: admin/admin.php:683
404
  msgid "Please review your settings before continue"
405
  msgstr ""
406
 
407
- #: admin/admin.php:684
408
  msgid "Your selection"
409
  msgstr ""
410
 
411
- #: admin/admin.php:685
412
  msgid ""
413
  "This setting will migrate all data from previous version without any "
414
  "anonymization"
415
  msgstr ""
416
 
417
- #: admin/admin.php:686
418
  msgid ""
419
  "This setting will migrate all data from previous version but ips will be "
420
  "anonymized"
421
  msgstr ""
422
 
423
- #: admin/admin.php:687
424
  msgid "This setting will migrate everything except ip addresses. "
425
  msgstr ""
426
 
427
- #: admin/admin.php:688
428
  msgid "Response:"
429
  msgstr ""
430
 
431
- #: admin/admin.php:689
432
  msgid "All done."
433
  msgstr ""
434
 
435
- #: admin/admin.php:690
436
  msgid "Migration started"
437
  msgstr ""
438
 
439
- #: admin/admin.php:707 admin/views/polls/edit/main.php:14
440
  msgid "Edit Poll"
441
  msgstr ""
442
 
443
- #: admin/admin.php:711
444
  msgid "View Poll Results"
445
  msgstr ""
446
 
447
- #: admin/admin.php:724
448
  msgid "View Logs"
449
  msgstr ""
450
 
451
- #: admin/admin.php:733 admin/views/bans/add.php:4
452
  msgid "Add Ban"
453
  msgstr ""
454
 
455
- #: admin/admin.php:737 admin/views/bans/edit.php:4
456
  msgid "Edit Ban"
457
  msgstr ""
458
 
459
- #: admin/admin.php:741
460
  msgid "All Bans"
461
  msgstr ""
462
 
463
- #: admin/admin.php:852 admin/admin.php:1451
464
  msgid "You don't have sufficient permissions to access this page"
465
  msgstr ""
466
 
467
- #: admin/admin.php:872
468
  msgid "Poll successfully added"
469
  msgstr ""
470
 
471
- #: admin/admin.php:881 admin/admin.php:908 admin/admin.php:911
472
- #: admin/admin.php:931 admin/admin.php:934 admin/admin.php:937
473
- #: admin/admin.php:984 admin/admin.php:998 admin/admin.php:1001
474
- #: admin/admin.php:1004 admin/admin.php:1046 admin/admin.php:1074
475
- #: admin/admin.php:1293 admin/admin.php:1354 admin/admin.php:1357
476
- #: admin/admin.php:1360 admin/admin.php:1428 admin/admin.php:1473
477
- #: admin/admin.php:1476 admin/admin.php:1479 admin/admin.php:1501
478
- #: admin/admin.php:1504 admin/admin.php:1547 admin/admin.php:1609
479
- #: admin/admin.php:1612 admin/admin.php:1638 admin/admin.php:1689
480
- #: admin/admin.php:1709 admin/admin.php:1712 admin/admin.php:1715
481
- #: admin/admin.php:1762 admin/admin.php:1793 admin/admin.php:1796
482
  #: admin/inc/ClassYopPollImporter4x.php:851
483
  #: admin/inc/ClassYopPollImporter4x.php:948
484
  #: admin/inc/ClassYopPollImporter5x.php:2787
@@ -486,43 +486,43 @@ msgstr ""
486
  msgid "You are not allowed to perform this action"
487
  msgstr ""
488
 
489
- #: admin/admin.php:899
490
  msgid "Poll successfully updated"
491
  msgstr ""
492
 
493
- #: admin/admin.php:926 admin/admin.php:966
494
  msgid "Poll successfully deleted"
495
  msgstr ""
496
 
497
- #: admin/admin.php:975 admin/models/polls.php:643
498
  msgid "Error deleting poll"
499
  msgid_plural "Error deleting polls"
500
  msgstr[0] ""
501
  msgstr[1] ""
502
 
503
- #: admin/admin.php:993 admin/admin.php:1028
504
  msgid "Poll successfully cloned"
505
  msgstr ""
506
 
507
- #: admin/admin.php:1037 admin/models/polls.php:706
508
  msgid "Error cloning poll"
509
  msgid_plural "Error cloning polls"
510
  msgstr[0] ""
511
  msgstr[1] ""
512
 
513
- #: admin/admin.php:1069
514
  msgid "Votes successfully reset"
515
  msgstr ""
516
 
517
- #: admin/admin.php:1071 admin/models/polls.php:725
518
  msgid "Error resetting votes"
519
  msgstr ""
520
 
521
- #: admin/admin.php:1205 admin/admin.php:1244 admin/models/bans.php:411
522
  msgid "Invalid poll"
523
  msgstr ""
524
 
525
- #: admin/admin.php:1337 admin/admin.php:1592 admin/models/logs.php:462
526
  #: admin/views/custom-field.php:31 admin/views/polls/add/elements.php:15
527
  #: admin/views/polls/edit/elements.php:15
528
  #: admin/views/polls/edit/elements.php:496
@@ -531,71 +531,71 @@ msgstr ""
531
  msgid "Custom Field"
532
  msgstr ""
533
 
534
- #: admin/admin.php:1423
535
  msgid "Ban successfully added"
536
  msgstr ""
537
 
538
- #: admin/admin.php:1468 admin/admin.php:1532
539
  msgid "Ban successfully deleted"
540
  msgstr ""
541
 
542
- #: admin/admin.php:1496
543
  msgid "Ban successfully updated"
544
  msgstr ""
545
 
546
- #: admin/admin.php:1539 admin/models/bans.php:388
547
  msgid "Error deleting ban"
548
  msgid_plural "Error deleting bans"
549
  msgstr[0] ""
550
  msgstr[1] ""
551
 
552
- #: admin/admin.php:1559
553
  msgid "Vote Recorded"
554
  msgstr ""
555
 
556
- #: admin/admin.php:1564 admin/admin.php:1814
557
  msgid "Invalid data 1"
558
  msgstr ""
559
 
560
- #: admin/admin.php:1567 admin/admin.php:1817
561
  msgid "Invalid data 2"
562
  msgstr ""
563
 
564
- #: admin/admin.php:1629 admin/admin.php:1671
565
  msgid "Vote successfully deleted"
566
  msgstr ""
567
 
568
- #: admin/admin.php:1631 admin/admin.php:1635 admin/admin.php:1680
569
  msgid "Error deleting vote"
570
  msgstr ""
571
 
572
- #: admin/admin.php:1704 admin/admin.php:1744
573
  msgid "Log successfully deleted"
574
  msgstr ""
575
 
576
- #: admin/admin.php:1753 admin/models/logs.php:517
577
  msgid "Error deleting log"
578
  msgid_plural "Error deleting logs"
579
  msgstr[0] ""
580
  msgstr[1] ""
581
 
582
- #: admin/admin.php:1788
583
  msgid "Settings updated"
584
  msgstr ""
585
 
586
- #: admin/admin.php:1809
587
  msgid "Votes Succesfully Added"
588
  msgstr ""
589
 
590
- #: admin/admin.php:1831
591
  msgid "Error generating poll"
592
  msgstr ""
593
 
594
- #: admin/admin.php:1838
595
  msgid "Setting Updated"
596
  msgstr ""
597
 
598
- #: admin/admin.php:1857
599
  msgid "Guide Sent"
600
  msgstr ""
601
 
@@ -722,25 +722,25 @@ msgstr ""
722
  msgid "No logs table, skipping."
723
  msgstr ""
724
 
725
- #: admin/inc/maintenance.php:265
726
  msgid "Click <a href=\""
727
  msgstr ""
728
 
729
- #: admin/inc/maintenance.php:265
730
  msgid "here"
731
  msgstr ""
732
 
733
- #: admin/inc/maintenance.php:265
734
  msgid "to start the import."
735
  msgstr ""
736
 
737
  #: admin/models/bans.php:73 admin/models/logs.php:96 admin/models/polls.php:126
738
- #: admin/models/votes.php:1259
739
  msgid "Previous page"
740
  msgstr ""
741
 
742
  #: admin/models/bans.php:78 admin/models/logs.php:101
743
- #: admin/models/polls.php:131 admin/models/votes.php:1264
744
  msgid "Next page"
745
  msgstr ""
746
 
@@ -793,36 +793,36 @@ msgstr ""
793
  msgid "Invalid element id"
794
  msgstr ""
795
 
796
- #: admin/models/logs.php:434 admin/models/votes.php:1570
797
  msgid "Poll Name"
798
  msgstr ""
799
 
800
- #: admin/models/logs.php:435 admin/models/votes.php:1571
801
  #: admin/views/bans/add.php:54 admin/views/bans/edit.php:106
802
  #: admin/views/logs/view.php:239 admin/views/logs/view.php:470
803
  #: admin/views/results/votes.php:337 admin/views/results/votes.php:512
804
  msgid "Username"
805
  msgstr ""
806
 
807
- #: admin/models/logs.php:436 admin/models/votes.php:1572
808
  #: admin/views/bans/add.php:51 admin/views/bans/edit.php:103
809
  #: admin/views/logs/view.php:263 admin/views/logs/view.php:494
810
  #: admin/views/results/votes.php:361 admin/views/results/votes.php:536
811
  msgid "Email"
812
  msgstr ""
813
 
814
- #: admin/models/logs.php:437 admin/models/votes.php:1573
815
  #: admin/views/logs/view.php:287 admin/views/logs/view.php:518
816
  #: admin/views/results/votes.php:313 admin/views/results/votes.php:488
817
  msgid "User Type"
818
  msgstr ""
819
 
820
- #: admin/models/logs.php:438 admin/models/votes.php:1574
821
  #: admin/views/bans/add.php:48 admin/views/bans/edit.php:100
822
  msgid "IP"
823
  msgstr ""
824
 
825
- #: admin/models/logs.php:439 admin/models/votes.php:1575
826
  #: admin/views/logs/view.php:335 admin/views/logs/view.php:566
827
  #: admin/views/results/votes.php:409 admin/views/results/votes.php:584
828
  msgid "Date"
@@ -834,17 +834,17 @@ msgstr ""
834
  msgid "Message"
835
  msgstr ""
836
 
837
- #: admin/models/logs.php:441 admin/models/votes.php:1576
838
  msgid "Vote data"
839
  msgstr ""
840
 
841
- #: admin/models/logs.php:451 admin/models/votes.php:1623
842
- #: admin/models/votes.php:1656
843
  msgid "Can't open php://output!"
844
  msgstr ""
845
 
846
- #: admin/models/logs.php:453 admin/models/votes.php:1627
847
- #: admin/models/votes.php:1663
848
  msgid "Can't write header!"
849
  msgstr ""
850
 
@@ -852,8 +852,8 @@ msgstr ""
852
  msgid "Can't write logs!"
853
  msgstr ""
854
 
855
- #: admin/models/logs.php:487 admin/models/votes.php:1636
856
- #: admin/models/votes.php:1670
857
  msgid "Can't close php://output!"
858
  msgstr ""
859
 
@@ -1207,11 +1207,11 @@ msgstr ""
1207
  msgid "Data for \"Votes per user\" is invalid"
1208
  msgstr ""
1209
 
1210
- #: admin/models/polls.php:2464
1211
  msgid "Number of votes for each question should be the same"
1212
  msgstr ""
1213
 
1214
- #: admin/models/polls.php:2468 admin/views/settings/view.php:459
1215
  msgid "Invalid Poll"
1216
  msgstr ""
1217
 
@@ -1371,11 +1371,11 @@ msgstr ""
1371
  msgid "Invalid answer id"
1372
  msgstr ""
1373
 
1374
- #: admin/models/votes.php:1579
1375
  msgid "Custom field - "
1376
  msgstr ""
1377
 
1378
- #: admin/models/votes.php:1632 admin/models/votes.php:1667
1379
  msgid "Can't write votes!"
1380
  msgstr ""
1381
 
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: YOP Poll 6.4.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yop-poll-free\n"
7
+ "POT-Creation-Date: 2022-08-01 11:24:01+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
75
  msgid "Skip and Deactivate"
76
  msgstr ""
77
 
78
+ #: admin/admin.php:397 admin/admin.php:398
79
  msgid "Yop Poll"
80
  msgstr ""
81
 
82
+ #: admin/admin.php:411 admin/admin.php:412 admin/admin.php:719
83
  #: admin/views/bans/add.php:23 admin/views/bans/edit.php:27
84
  #: admin/views/bans/edit.php:35 admin/views/polls/view.php:155
85
  #: admin/views/results/view.php:24 admin/views/results/votes.php:102
86
  msgid "All Polls"
87
  msgstr ""
88
 
89
+ #: admin/admin.php:426 admin/admin.php:427 admin/views/bans/view.php:158
90
  #: admin/views/polls/view.php:173
91
  msgid "Add New"
92
  msgstr ""
93
 
94
+ #: admin/admin.php:437 admin/admin.php:438 admin/views/bans/view.php:140
95
  msgid "Bans"
96
  msgstr ""
97
 
98
+ #: admin/admin.php:448 admin/admin.php:449 admin/views/logs/view.php:108
99
  msgid "Logs"
100
  msgstr ""
101
 
102
+ #: admin/admin.php:463 admin/admin.php:464
103
  msgid "Settings"
104
  msgstr ""
105
 
106
+ #: admin/admin.php:475 admin/admin.php:476
107
  msgid "Migrate old records"
108
  msgstr ""
109
 
110
+ #: admin/admin.php:487 admin/admin.php:488
111
  msgid "Upgrade to Pro"
112
  msgstr ""
113
 
114
+ #: admin/admin.php:584
115
  msgid "New Custom Field"
116
  msgstr ""
117
 
118
+ #: admin/admin.php:585
119
  msgid "Warning"
120
  msgstr ""
121
 
122
+ #: admin/admin.php:586 admin/admin.php:587
123
  msgid "Are you sure you want to delete this poll?"
124
  msgstr ""
125
 
126
+ #: admin/admin.php:588
127
  msgid "Are you sure you want to delete these polls?"
128
  msgstr ""
129
 
130
+ #: admin/admin.php:589 admin/admin.php:590
131
  msgid "Are you sure you want to clone this poll?"
132
  msgstr ""
133
 
134
+ #: admin/admin.php:591
135
  msgid "Are you sure you want to clone these polls?"
136
  msgstr ""
137
 
138
+ #: admin/admin.php:592 admin/admin.php:593
139
  msgid "Are you sure you want to reset votes for this poll?"
140
  msgstr ""
141
 
142
+ #: admin/admin.php:594
143
  msgid "Are you sure you want to reset votes for these polls?"
144
  msgstr ""
145
 
146
+ #: admin/admin.php:595
147
  msgid "No bulk action selected"
148
  msgstr ""
149
 
150
+ #: admin/admin.php:596
151
  msgid "No polls selected"
152
  msgstr ""
153
 
154
+ #: admin/admin.php:597
155
  msgid "No bans selected"
156
  msgstr ""
157
 
158
+ #: admin/admin.php:598
159
  msgid "No logs selected"
160
  msgstr ""
161
 
162
+ #: admin/admin.php:599
163
  msgid "No votes selected"
164
  msgstr ""
165
 
166
+ #: admin/admin.php:600 admin/admin.php:673
167
  msgid "Are you sure you want to delete this ban?"
168
  msgstr ""
169
 
170
+ #: admin/admin.php:601
171
  msgid "Are you sure you want to delete these bans?"
172
  msgstr ""
173
 
174
+ #: admin/admin.php:602 admin/admin.php:674
175
  msgid "Are you sure you want to delete this log?"
176
  msgstr ""
177
 
178
+ #: admin/admin.php:603
179
  msgid "Are you sure you want to delete these logs?"
180
  msgstr ""
181
 
182
+ #: admin/admin.php:604
183
  msgid "Are you sure you want to delete this vote?"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:605
187
  msgid "Are you sure you want to delete these votes?"
188
  msgstr ""
189
 
190
+ #: admin/admin.php:606
191
  msgid "Are you sure you want to delete this answer?"
192
  msgstr ""
193
 
194
+ #: admin/admin.php:607
195
  msgid "Answer can't be deleted. At least one answer is required!"
196
  msgstr ""
197
 
198
+ #: admin/admin.php:608
199
  msgid "Are you sure you want to delete this custom field?"
200
  msgstr ""
201
 
202
+ #: admin/admin.php:609 admin/views/polls/add/main.php:188
203
  #: admin/views/polls/edit/main.php:213 admin/views/results/votes.php:210
204
  msgid "Cancel"
205
  msgstr ""
206
 
207
+ #: admin/admin.php:610
208
  msgid "Ok"
209
  msgstr ""
210
 
211
+ #: admin/admin.php:611
212
  msgid "Before generating the preview a template is required"
213
  msgstr ""
214
 
215
+ #: admin/admin.php:612
216
  msgid "Before generating the preview a skin is required"
217
  msgstr ""
218
 
219
+ #: admin/admin.php:613
220
  msgid "Number of columns is missing"
221
  msgstr ""
222
 
223
+ #: admin/admin.php:614
224
  msgid "Too many columns. Max 12 allowed"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:615
228
  msgid "Click to select"
229
  msgstr ""
230
 
231
+ #: admin/admin.php:616 admin/views/polls/add/main.php:194
232
  msgid "Publish immediately"
233
  msgstr ""
234
 
235
+ #: admin/admin.php:617
236
  msgid "Schedule for"
237
  msgstr ""
238
 
239
+ #: admin/admin.php:618
240
  msgid "Code Copied To Clipboard"
241
  msgstr ""
242
 
243
+ #: admin/admin.php:620
244
  msgid "Press"
245
  msgstr ""
246
 
247
+ #: admin/admin.php:621
248
  msgid " to copy"
249
  msgstr ""
250
 
251
+ #: admin/admin.php:622
252
  msgid "No Support"
253
  msgstr ""
254
 
255
+ #: admin/admin.php:624
256
  msgid "Element added"
257
  msgstr ""
258
 
259
+ #: admin/admin.php:636
260
  msgid "Poll Preview"
261
  msgstr ""
262
 
263
+ #: admin/admin.php:637
264
  msgid "Show preview for"
265
  msgstr ""
266
 
267
+ #: admin/admin.php:638 admin/views/settings/view.php:386
268
  msgid "Voting"
269
  msgstr ""
270
 
271
+ #: admin/admin.php:639 admin/views/polls/add/main.php:108
272
  #: admin/views/polls/add/options-poll.php:40
273
  #: admin/views/polls/edit/main.php:124 admin/views/polls/view.php:340
274
  #: admin/views/polls/view.php:651 admin/views/results/view.php:31
276
  msgid "Results"
277
  msgstr ""
278
 
279
+ #: admin/admin.php:650
280
  msgid "Template is missing"
281
  msgstr ""
282
 
283
+ #: admin/admin.php:651
284
  msgid "Skin is missing"
285
  msgstr ""
286
 
287
+ #: admin/admin.php:652
288
  msgid " is missing"
289
  msgstr ""
290
 
291
+ #: admin/admin.php:653
292
  msgid "Poll name is missing"
293
  msgstr ""
294
 
295
+ #: admin/admin.php:654
296
  msgid "Question Text is missing"
297
  msgstr ""
298
 
299
+ #: admin/admin.php:655
300
  msgid "Answer Text is missing"
301
  msgstr ""
302
 
303
+ #: admin/admin.php:656
304
  msgid "Answer Link is missing"
305
  msgstr ""
306
 
307
+ #: admin/admin.php:657
308
  msgid "Answer Embed is missing"
309
  msgstr ""
310
 
311
+ #: admin/admin.php:658
312
  msgid "Label for Other is missing"
313
  msgstr ""
314
 
315
+ #: admin/admin.php:659
316
  msgid "Minimum answers is missing"
317
  msgstr ""
318
 
319
+ #: admin/admin.php:660
320
  msgid "Maximum answers is missing"
321
  msgstr ""
322
 
323
+ #: admin/admin.php:661
324
  msgid "Custom Field Name is missing"
325
  msgstr ""
326
 
327
+ #: admin/admin.php:662
328
  msgid "Poll Start Date is missing"
329
  msgstr ""
330
 
331
+ #: admin/admin.php:663
332
  msgid "Poll End Date is missing"
333
  msgstr ""
334
 
335
+ #: admin/admin.php:664
336
  msgid "Custom Date for displaying results is missing"
337
  msgstr ""
338
 
339
+ #: admin/admin.php:665
340
  msgid "Show Results Time is missing"
341
  msgstr ""
342
 
343
+ #: admin/admin.php:666
344
  msgid "Show Results To is missing"
345
  msgstr ""
346
 
347
+ #: admin/admin.php:667
348
  msgid "Vote As WordPress User is missing"
349
  msgstr ""
350
 
351
+ #: admin/admin.php:670
352
  msgid "Ban For is missing"
353
  msgstr ""
354
 
355
+ #: admin/admin.php:671
356
  msgid "Ban Value is missing"
357
  msgstr ""
358
 
359
+ #: admin/admin.php:675 admin/admin.php:1345 admin/admin.php:1600
360
+ #: admin/models/votes.php:1599
361
  msgid "Question"
362
  msgstr ""
363
 
364
+ #: admin/admin.php:676 admin/admin.php:1342 admin/admin.php:1347
365
+ #: admin/admin.php:1597 admin/admin.php:1602 admin/models/logs.php:463
366
+ #: admin/models/logs.php:467 admin/models/votes.php:1601
367
  #: admin/views/polls/add/elements.php:107
368
  #: admin/views/polls/add/elements.php:181
369
  #: admin/views/polls/edit/elements.php:115
371
  msgid "Answer"
372
  msgstr ""
373
 
374
+ #: admin/admin.php:677 admin/views/logs/view.php:384
375
  #: admin/views/results/votes.php:432
376
  msgid "View Details"
377
  msgstr ""
378
 
379
+ #: admin/admin.php:678
380
  msgid "Hide Details"
381
  msgstr ""
382
 
383
+ #: admin/admin.php:679
384
  msgid "Number of Votes"
385
  msgstr ""
386
 
387
+ #: admin/admin.php:681
388
  msgid "vote"
389
  msgstr ""
390
 
391
+ #: admin/admin.php:682
392
  msgid "votes"
393
  msgstr ""
394
 
395
+ #: admin/admin.php:685
396
  msgid "Got It. Continue with the migration"
397
  msgstr ""
398
 
399
+ #: admin/admin.php:686
400
  msgid "Hold On. I want to change settings"
401
  msgstr ""
402
 
403
+ #: admin/admin.php:687
404
  msgid "Please review your settings before continue"
405
  msgstr ""
406
 
407
+ #: admin/admin.php:688
408
  msgid "Your selection"
409
  msgstr ""
410
 
411
+ #: admin/admin.php:689
412
  msgid ""
413
  "This setting will migrate all data from previous version without any "
414
  "anonymization"
415
  msgstr ""
416
 
417
+ #: admin/admin.php:690
418
  msgid ""
419
  "This setting will migrate all data from previous version but ips will be "
420
  "anonymized"
421
  msgstr ""
422
 
423
+ #: admin/admin.php:691
424
  msgid "This setting will migrate everything except ip addresses. "
425
  msgstr ""
426
 
427
+ #: admin/admin.php:692
428
  msgid "Response:"
429
  msgstr ""
430
 
431
+ #: admin/admin.php:693
432
  msgid "All done."
433
  msgstr ""
434
 
435
+ #: admin/admin.php:694
436
  msgid "Migration started"
437
  msgstr ""
438
 
439
+ #: admin/admin.php:711 admin/views/polls/edit/main.php:14
440
  msgid "Edit Poll"
441
  msgstr ""
442
 
443
+ #: admin/admin.php:715
444
  msgid "View Poll Results"
445
  msgstr ""
446
 
447
+ #: admin/admin.php:728
448
  msgid "View Logs"
449
  msgstr ""
450
 
451
+ #: admin/admin.php:737 admin/views/bans/add.php:4
452
  msgid "Add Ban"
453
  msgstr ""
454
 
455
+ #: admin/admin.php:741 admin/views/bans/edit.php:4
456
  msgid "Edit Ban"
457
  msgstr ""
458
 
459
+ #: admin/admin.php:745
460
  msgid "All Bans"
461
  msgstr ""
462
 
463
+ #: admin/admin.php:856 admin/admin.php:1455
464
  msgid "You don't have sufficient permissions to access this page"
465
  msgstr ""
466
 
467
+ #: admin/admin.php:876
468
  msgid "Poll successfully added"
469
  msgstr ""
470
 
471
+ #: admin/admin.php:885 admin/admin.php:912 admin/admin.php:915
472
+ #: admin/admin.php:935 admin/admin.php:938 admin/admin.php:941
473
+ #: admin/admin.php:988 admin/admin.php:1002 admin/admin.php:1005
474
+ #: admin/admin.php:1008 admin/admin.php:1050 admin/admin.php:1078
475
+ #: admin/admin.php:1297 admin/admin.php:1358 admin/admin.php:1361
476
+ #: admin/admin.php:1364 admin/admin.php:1432 admin/admin.php:1477
477
+ #: admin/admin.php:1480 admin/admin.php:1483 admin/admin.php:1505
478
+ #: admin/admin.php:1508 admin/admin.php:1551 admin/admin.php:1613
479
+ #: admin/admin.php:1616 admin/admin.php:1642 admin/admin.php:1693
480
+ #: admin/admin.php:1713 admin/admin.php:1716 admin/admin.php:1719
481
+ #: admin/admin.php:1766 admin/admin.php:1797 admin/admin.php:1800
482
  #: admin/inc/ClassYopPollImporter4x.php:851
483
  #: admin/inc/ClassYopPollImporter4x.php:948
484
  #: admin/inc/ClassYopPollImporter5x.php:2787
486
  msgid "You are not allowed to perform this action"
487
  msgstr ""
488
 
489
+ #: admin/admin.php:903
490
  msgid "Poll successfully updated"
491
  msgstr ""
492
 
493
+ #: admin/admin.php:930 admin/admin.php:970
494
  msgid "Poll successfully deleted"
495
  msgstr ""
496
 
497
+ #: admin/admin.php:979 admin/models/polls.php:643
498
  msgid "Error deleting poll"
499
  msgid_plural "Error deleting polls"
500
  msgstr[0] ""
501
  msgstr[1] ""
502
 
503
+ #: admin/admin.php:997 admin/admin.php:1032
504
  msgid "Poll successfully cloned"
505
  msgstr ""
506
 
507
+ #: admin/admin.php:1041 admin/models/polls.php:706
508
  msgid "Error cloning poll"
509
  msgid_plural "Error cloning polls"
510
  msgstr[0] ""
511
  msgstr[1] ""
512
 
513
+ #: admin/admin.php:1073
514
  msgid "Votes successfully reset"
515
  msgstr ""
516
 
517
+ #: admin/admin.php:1075 admin/models/polls.php:725
518
  msgid "Error resetting votes"
519
  msgstr ""
520
 
521
+ #: admin/admin.php:1209 admin/admin.php:1248 admin/models/bans.php:411
522
  msgid "Invalid poll"
523
  msgstr ""
524
 
525
+ #: admin/admin.php:1341 admin/admin.php:1596 admin/models/logs.php:462
526
  #: admin/views/custom-field.php:31 admin/views/polls/add/elements.php:15
527
  #: admin/views/polls/edit/elements.php:15
528
  #: admin/views/polls/edit/elements.php:496
531
  msgid "Custom Field"
532
  msgstr ""
533
 
534
+ #: admin/admin.php:1427
535
  msgid "Ban successfully added"
536
  msgstr ""
537
 
538
+ #: admin/admin.php:1472 admin/admin.php:1536
539
  msgid "Ban successfully deleted"
540
  msgstr ""
541
 
542
+ #: admin/admin.php:1500
543
  msgid "Ban successfully updated"
544
  msgstr ""
545
 
546
+ #: admin/admin.php:1543 admin/models/bans.php:388
547
  msgid "Error deleting ban"
548
  msgid_plural "Error deleting bans"
549
  msgstr[0] ""
550
  msgstr[1] ""
551
 
552
+ #: admin/admin.php:1563
553
  msgid "Vote Recorded"
554
  msgstr ""
555
 
556
+ #: admin/admin.php:1568 admin/admin.php:1818
557
  msgid "Invalid data 1"
558
  msgstr ""
559
 
560
+ #: admin/admin.php:1571 admin/admin.php:1821
561
  msgid "Invalid data 2"
562
  msgstr ""
563
 
564
+ #: admin/admin.php:1633 admin/admin.php:1675
565
  msgid "Vote successfully deleted"
566
  msgstr ""
567
 
568
+ #: admin/admin.php:1635 admin/admin.php:1639 admin/admin.php:1684
569
  msgid "Error deleting vote"
570
  msgstr ""
571
 
572
+ #: admin/admin.php:1708 admin/admin.php:1748
573
  msgid "Log successfully deleted"
574
  msgstr ""
575
 
576
+ #: admin/admin.php:1757 admin/models/logs.php:517
577
  msgid "Error deleting log"
578
  msgid_plural "Error deleting logs"
579
  msgstr[0] ""
580
  msgstr[1] ""
581
 
582
+ #: admin/admin.php:1792
583
  msgid "Settings updated"
584
  msgstr ""
585
 
586
+ #: admin/admin.php:1813
587
  msgid "Votes Succesfully Added"
588
  msgstr ""
589
 
590
+ #: admin/admin.php:1835
591
  msgid "Error generating poll"
592
  msgstr ""
593
 
594
+ #: admin/admin.php:1842
595
  msgid "Setting Updated"
596
  msgstr ""
597
 
598
+ #: admin/admin.php:1861
599
  msgid "Guide Sent"
600
  msgstr ""
601
 
722
  msgid "No logs table, skipping."
723
  msgstr ""
724
 
725
+ #: admin/inc/maintenance.php:268
726
  msgid "Click <a href=\""
727
  msgstr ""
728
 
729
+ #: admin/inc/maintenance.php:268
730
  msgid "here"
731
  msgstr ""
732
 
733
+ #: admin/inc/maintenance.php:268
734
  msgid "to start the import."
735
  msgstr ""
736
 
737
  #: admin/models/bans.php:73 admin/models/logs.php:96 admin/models/polls.php:126
738
+ #: admin/models/votes.php:1269
739
  msgid "Previous page"
740
  msgstr ""
741
 
742
  #: admin/models/bans.php:78 admin/models/logs.php:101
743
+ #: admin/models/polls.php:131 admin/models/votes.php:1274
744
  msgid "Next page"
745
  msgstr ""
746
 
793
  msgid "Invalid element id"
794
  msgstr ""
795
 
796
+ #: admin/models/logs.php:434 admin/models/votes.php:1580
797
  msgid "Poll Name"
798
  msgstr ""
799
 
800
+ #: admin/models/logs.php:435 admin/models/votes.php:1581
801
  #: admin/views/bans/add.php:54 admin/views/bans/edit.php:106
802
  #: admin/views/logs/view.php:239 admin/views/logs/view.php:470
803
  #: admin/views/results/votes.php:337 admin/views/results/votes.php:512
804
  msgid "Username"
805
  msgstr ""
806
 
807
+ #: admin/models/logs.php:436 admin/models/votes.php:1582
808
  #: admin/views/bans/add.php:51 admin/views/bans/edit.php:103
809
  #: admin/views/logs/view.php:263 admin/views/logs/view.php:494
810
  #: admin/views/results/votes.php:361 admin/views/results/votes.php:536
811
  msgid "Email"
812
  msgstr ""
813
 
814
+ #: admin/models/logs.php:437 admin/models/votes.php:1583
815
  #: admin/views/logs/view.php:287 admin/views/logs/view.php:518
816
  #: admin/views/results/votes.php:313 admin/views/results/votes.php:488
817
  msgid "User Type"
818
  msgstr ""
819
 
820
+ #: admin/models/logs.php:438 admin/models/votes.php:1584
821
  #: admin/views/bans/add.php:48 admin/views/bans/edit.php:100
822
  msgid "IP"
823
  msgstr ""
824
 
825
+ #: admin/models/logs.php:439 admin/models/votes.php:1585
826
  #: admin/views/logs/view.php:335 admin/views/logs/view.php:566
827
  #: admin/views/results/votes.php:409 admin/views/results/votes.php:584
828
  msgid "Date"
834
  msgid "Message"
835
  msgstr ""
836
 
837
+ #: admin/models/logs.php:441 admin/models/votes.php:1586
838
  msgid "Vote data"
839
  msgstr ""
840
 
841
+ #: admin/models/logs.php:451 admin/models/votes.php:1633
842
+ #: admin/models/votes.php:1666
843
  msgid "Can't open php://output!"
844
  msgstr ""
845
 
846
+ #: admin/models/logs.php:453 admin/models/votes.php:1637
847
+ #: admin/models/votes.php:1673
848
  msgid "Can't write header!"
849
  msgstr ""
850
 
852
  msgid "Can't write logs!"
853
  msgstr ""
854
 
855
+ #: admin/models/logs.php:487 admin/models/votes.php:1646
856
+ #: admin/models/votes.php:1680
857
  msgid "Can't close php://output!"
858
  msgstr ""
859
 
1207
  msgid "Data for \"Votes per user\" is invalid"
1208
  msgstr ""
1209
 
1210
+ #: admin/models/polls.php:2474
1211
  msgid "Number of votes for each question should be the same"
1212
  msgstr ""
1213
 
1214
+ #: admin/models/polls.php:2478 admin/views/settings/view.php:459
1215
  msgid "Invalid Poll"
1216
  msgstr ""
1217
 
1371
  msgid "Invalid answer id"
1372
  msgstr ""
1373
 
1374
+ #: admin/models/votes.php:1589
1375
  msgid "Custom field - "
1376
  msgstr ""
1377
 
1378
+ #: admin/models/votes.php:1642 admin/models/votes.php:1677
1379
  msgid "Can't write votes!"
1380
  msgstr ""
1381
 
public/assets/css/{yop-poll-public-6.4.4.css → yop-poll-public-6.4.5.css} RENAMED
File without changes
public/assets/js/{yop-poll-public-6.4.4.min.js → yop-poll-public-6.4.5.min.js} RENAMED
File without changes
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: https://www.yop-poll.com
4
  Tags: create poll, poll plugin, poll, polls, wordpress poll, vote, voting, survey, polling, yop poll, yop, booth
5
  Requires at least: 3.3
6
  Tested up to: 6.0
7
- Stable tag: 6.4.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.htm
10
 
@@ -119,6 +119,9 @@ You can have only one question per poll.
119
 
120
  == Changelog ==
121
 
 
 
 
122
  = 6.4.4 =
123
  * added sanitization for custom headers
124
  * updated 5.x and 4.x importers
4
  Tags: create poll, poll plugin, poll, polls, wordpress poll, vote, voting, survey, polling, yop poll, yop, booth
5
  Requires at least: 3.3
6
  Tested up to: 6.0
7
+ Stable tag: 6.4.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.htm
10
 
119
 
120
  == Changelog ==
121
 
122
+ = 6.4.5 =
123
+ * fixed issue with blocking voters per day by reseting at midnight instead of 24 hours from the time of the vote
124
+
125
  = 6.4.4 =
126
  * added sanitization for custom headers
127
  * updated 5.x and 4.x importers
yop_poll.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: YOP Poll
4
  Plugin URI: https://yop-poll.com
5
  Description: Use a full option polling functionality to get the answers you need. YOP Poll is the perfect, easy to use poll plugin for your WordPress website.
6
- Version: 6.4.4
7
  Author: yourownprogrammer
8
  Author URI: https://yop-poll.com
9
  License: GPL2
@@ -11,7 +11,7 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
  Domain Path: /languages
12
  Text Domain: yop-poll
13
  */
14
- define( 'YOP_POLL_VERSION', '6.4.4' );
15
  define( 'YOP_POLL_URL', plugin_dir_url( __FILE__ ) );
16
  define( 'YOP_POLL_PATH', plugin_dir_path( __FILE__ ) );
17
  define( 'YOP_POLL_DIR', dirname( plugin_basename( __FILE__ ) ) );
3
  Plugin Name: YOP Poll
4
  Plugin URI: https://yop-poll.com
5
  Description: Use a full option polling functionality to get the answers you need. YOP Poll is the perfect, easy to use poll plugin for your WordPress website.
6
+ Version: 6.4.5
7
  Author: yourownprogrammer
8
  Author URI: https://yop-poll.com
9
  License: GPL2
11
  Domain Path: /languages
12
  Text Domain: yop-poll
13
  */
14
+ define( 'YOP_POLL_VERSION', '6.4.5' );
15
  define( 'YOP_POLL_URL', plugin_dir_url( __FILE__ ) );
16
  define( 'YOP_POLL_PATH', plugin_dir_path( __FILE__ ) );
17
  define( 'YOP_POLL_DIR', dirname( plugin_basename( __FILE__ ) ) );