Changeset 3103413 for tickera-event-ticketing-system
- Timestamp:
- 06/17/2024 08:07:34 AM (10 months ago)
- Location:
- tickera-event-ticketing-system/trunk
- Files:
-
- 5 edited
-
changelog.txt (modified) (1 diff)
-
js/admin.js (modified) (1 diff)
-
languages/tc.pot (modified) (31 diffs)
-
readme.txt (modified) (2 diffs)
-
tickera.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tickera-event-ticketing-system/trunk/changelog.txt
r3101656 r3103413 1 1 Plugin Name: Tickera 2 2 Author: Tickera.com 3 4 = 3.5.2.9 12/06/2024 = 5 * Additional admin side security measures on bulk delete tickets. Only admin accounts can execute the function. 3 6 4 7 = 3.5.2.8 12/06/2024 = -
tickera-event-ticketing-system/trunk/js/admin.js
r3093199 r3103413 1131 1131 1132 1132 await $.post( tc_vars.ajaxUrl, { 1133 action: 'tc_dl_delete_tickets', 1133 action: 'tc_delete_tickets', 1134 nonce: tc_vars.ajaxNonce, 1134 1135 event_ids: $('#tc_dl_event_filter select').chosen().val(), 1135 1136 delete_orders: $( 'input[name="delete_orders"]:checked' ).val(), -
tickera-event-ticketing-system/trunk/languages/tc.pot
r3101656 r3103413 3 3 msgstr "" 4 4 "Project-Id-Version: Tickera\n" 5 "POT-Creation-Date: 2024-06-1 2 10:53+0200\n"5 "POT-Creation-Date: 2024-06-17 09:56+0200\n" 6 6 "PO-Revision-Date: 2018-08-29 11:17+0200\n" 7 7 "Last-Translator: \n" … … 568 568 msgstr "" 569 569 570 #: includes/addons/better-orders/index.php:194 tickera.php:47 00570 #: includes/addons/better-orders/index.php:194 tickera.php:4713 571 571 msgid "Paid" 572 572 msgstr "" … … 576 576 msgstr "" 577 577 578 #: includes/addons/better-orders/index.php:196 tickera.php:47 07578 #: includes/addons/better-orders/index.php:196 tickera.php:4720 579 579 msgid "Cancelled" 580 580 msgstr "" 581 581 582 #: includes/addons/better-orders/index.php:197 tickera.php:47 14582 #: includes/addons/better-orders/index.php:197 tickera.php:4727 583 583 msgid "Refunded" 584 584 msgstr "" … … 756 756 757 757 #: includes/addons/delete-info/includes/admin-pages/settings-tickera_delete_info.php:72 758 #: includes/classes/class.events.php:14 tickera.php:31 15 tickera.php:4509759 #: tickera.php:45 10758 #: includes/classes/class.events.php:14 tickera.php:3128 tickera.php:4522 759 #: tickera.php:4523 760 760 msgid "Events" 761 761 msgstr "" … … 1300 1300 #: includes/classes/class.shortcodes.php:197 1301 1301 #: includes/classes/class.visual_composer_shortcodes.php:16 1302 #: includes/widgets/cart-widget.php:14 tickera.php:17 75 tickera.php:18021303 #: tickera.php:22 471302 #: includes/widgets/cart-widget.php:14 tickera.php:1788 tickera.php:1815 1303 #: tickera.php:2260 1304 1304 msgid "Cart" 1305 1305 msgstr "" … … 1917 1917 1918 1918 #: includes/admin-pages/discount_codes.php:190 1919 #: includes/classes/class.discounts.php:15 tickera.php:31 171919 #: includes/classes/class.discounts.php:15 tickera.php:3130 1920 1920 msgid "Discount Codes" 1921 1921 msgstr "" … … 1936 1936 #: includes/classes/class.ticket_templates-new.php:440 1937 1937 #: includes/classes/class.ticket_templates.php:363 1938 #: includes/classes/class.tickets.php:250 tickera.php:45 14 tickera.php:45551939 #: tickera.php:4 595 tickera.php:4618 tickera.php:4658 tickera.php:47351938 #: includes/classes/class.tickets.php:250 tickera.php:4527 tickera.php:4568 1939 #: tickera.php:4608 tickera.php:4631 tickera.php:4671 tickera.php:4748 1940 1940 msgid "Edit" 1941 1941 msgstr "" … … 2216 2216 2217 2217 #: includes/admin-pages/settings-api.php:198 2218 #: includes/classes/class.api_keys.php:14 tickera.php:4 5902218 #: includes/classes/class.api_keys.php:14 tickera.php:4603 2219 2219 msgid "API Keys" 2220 2220 msgstr "" … … 2259 2259 msgstr "" 2260 2260 2261 #: includes/admin-pages/settings.php:15 tickera.php:31 18 tickera.php:32052261 #: includes/admin-pages/settings.php:15 tickera.php:3131 tickera.php:3218 2262 2262 msgid "Settings" 2263 2263 msgstr "" … … 2298 2298 msgstr "" 2299 2299 2300 #: includes/admin-pages/ticket_templates.php:176 tickera.php:31 162300 #: includes/admin-pages/ticket_templates.php:176 tickera.php:3129 2301 2301 msgid "Ticket Templates" 2302 2302 msgstr "" … … 2343 2343 #: includes/classes/class.orders.php:326 2344 2344 #: includes/classes/class.tickets_instances.php:92 2345 #: includes/general-functions.php:1831 tickera.php:45 512345 #: includes/general-functions.php:1831 tickera.php:4564 2346 2346 msgid "Ticket" 2347 2347 msgstr "" … … 2628 2628 #: includes/classes/class.shortcode_builder.php:233 2629 2629 #: includes/classes/class.shortcodes.php:72 2630 #: includes/classes/class.shortcodes.php:169 tickera.php:25 332630 #: includes/classes/class.shortcodes.php:169 tickera.php:2546 2631 2631 msgid "Add to Cart" 2632 2632 msgstr "" … … 2644 2644 #: includes/classes/class.shortcode_builder.php:263 2645 2645 #: includes/classes/class.shortcodes.php:67 2646 #: includes/classes/class.shortcodes.php:174 tickera.php:25 342646 #: includes/classes/class.shortcodes.php:174 tickera.php:2547 2647 2647 msgid "Tickets are sold out." 2648 2648 msgstr "" … … 2872 2872 msgstr "" 2873 2873 2874 #: includes/classes/class.orders.php:14 tickera.php:46 562874 #: includes/classes/class.orders.php:14 tickera.php:4669 2875 2875 msgid "Orders" 2876 2876 msgstr "" … … 3014 3014 msgstr "" 3015 3015 3016 #: includes/classes/class.payment_gateways.php:386 tickera.php:44 423016 #: includes/classes/class.payment_gateways.php:386 tickera.php:4455 3017 3017 msgid "Your transaction has been canceled." 3018 3018 msgstr "" … … 4077 4077 msgstr "" 4078 4078 4079 #: includes/classes/class.tickets_instances.php:14 tickera.php:46 134079 #: includes/classes/class.tickets_instances.php:14 tickera.php:4626 4080 4080 msgid "Attendees & Tickets" 4081 4081 msgstr "" 4082 4082 4083 #: includes/classes/class.tickets_instances.php:37 tickera.php:46 144083 #: includes/classes/class.tickets_instances.php:37 tickera.php:4627 4084 4084 msgid "Attendee" 4085 4085 msgstr "" 4086 4086 4087 4087 #: includes/classes/class.tickets_instances.php:74 4088 #: includes/general-functions.php:1834 tickera.php:23 46 tickera.php:46574088 #: includes/general-functions.php:1834 tickera.php:2359 tickera.php:4670 4089 4089 msgid "Order" 4090 4090 msgstr "" … … 4834 4834 #: includes/templates/page-process-payment.php:24 4835 4835 #: includes/templates/page-process-payment.php:37 4836 #: includes/templates/page-process-payment.php:54 tickera.php:20 214836 #: includes/templates/page-process-payment.php:54 tickera.php:2034 4837 4837 msgid "Sorry, something went wrong." 4838 4838 msgstr "" … … 5799 5799 msgstr "" 5800 5800 5801 #: includes/gateways/paygate.php:181 tickera.php:49 545801 #: includes/gateways/paygate.php:181 tickera.php:4967 5802 5802 msgid "Something went wrong. Please try again." 5803 5803 msgstr "" … … 9713 9713 9714 9714 #: includes/general-functions.php:3935 includes/widgets/cart-widget.php:62 9715 #: tickera.php:25 819715 #: tickera.php:2594 9716 9716 msgid "The cart is empty" 9717 9717 msgstr "" … … 10261 10261 msgstr "" 10262 10262 10263 #: tickera.php: 79110263 #: tickera.php:802 10264 10264 msgid "I hereby declare that I am 16 years or older" 10265 10265 msgstr "" 10266 10266 10267 #: tickera.php:10 1710267 #: tickera.php:1028 10268 10268 msgid "Action is not allowed on paid orders." 10269 10269 msgstr "" 10270 10270 10271 #: tickera.php:10 3610271 #: tickera.php:1047 10272 10272 msgid "Seating chart update is currently not allowed." 10273 10273 msgstr "" 10274 10274 10275 #: tickera.php:10 6510275 #: tickera.php:1076 10276 10276 msgid "Invalid action. Nonce did not matched." 10277 10277 msgstr "" 10278 10278 10279 #: tickera.php:11 3410279 #: tickera.php:1145 10280 10280 msgctxt "Page slug" 10281 10281 msgid "tickets-cart" 10282 10282 msgstr "" 10283 10283 10284 #: tickera.php:11 3510284 #: tickera.php:1146 10285 10285 msgctxt "Page title" 10286 10286 msgid "Cart" 10287 10287 msgstr "" 10288 10288 10289 #: tickera.php:11 3910289 #: tickera.php:1150 10290 10290 msgctxt "Page slug" 10291 10291 msgid "tickets-payment" 10292 10292 msgstr "" 10293 10293 10294 #: tickera.php:11 4010294 #: tickera.php:1151 10295 10295 msgctxt "Page title" 10296 10296 msgid "Payment" 10297 10297 msgstr "" 10298 10298 10299 #: tickera.php:11 4410299 #: tickera.php:1155 10300 10300 msgctxt "Page slug" 10301 10301 msgid "tickets-order-confirmation" 10302 10302 msgstr "" 10303 10303 10304 #: tickera.php:11 4510304 #: tickera.php:1156 10305 10305 msgctxt "Page title" 10306 10306 msgid "Payment Confirmation" 10307 10307 msgstr "" 10308 10308 10309 #: tickera.php:11 4910309 #: tickera.php:1160 10310 10310 msgctxt "Page slug" 10311 10311 msgid "tickets-order-details" 10312 10312 msgstr "" 10313 10313 10314 #: tickera.php:11 5010314 #: tickera.php:1161 10315 10315 msgctxt "Page title" 10316 10316 msgid "Order Details" 10317 10317 msgstr "" 10318 10318 10319 #: tickera.php:11 5410319 #: tickera.php:1165 10320 10320 msgctxt "Page slug" 10321 10321 msgid "tickets-process-payment" 10322 10322 msgstr "" 10323 10323 10324 #: tickera.php:11 5510324 #: tickera.php:1166 10325 10325 msgctxt "Page title" 10326 10326 msgid "Process Payment" 10327 10327 msgstr "" 10328 10328 10329 #: tickera.php:11 5910329 #: tickera.php:1170 10330 10330 msgctxt "Page slug" 10331 10331 msgid "tickets-ipn-payment" 10332 10332 msgstr "" 10333 10333 10334 #: tickera.php:11 6010334 #: tickera.php:1171 10335 10335 msgctxt "Page title" 10336 10336 msgid "IPN" 10337 10337 msgstr "" 10338 10338 10339 #: tickera.php:1 396 tickera.php:149210339 #: tickera.php:1409 tickera.php:1505 10340 10340 msgid "Default" 10341 10341 msgstr "" 10342 10342 10343 #: tickera.php:15 1710343 #: tickera.php:1530 10344 10344 msgid " is almost ready. " 10345 10345 msgstr "" 10346 10346 10347 #: tickera.php:15 1810347 #: tickera.php:1531 10348 10348 #, php-format 10349 10349 msgid "You must %s to something other than the default for it to work." 10350 10350 msgstr "" 10351 10351 10352 #: tickera.php:15 1810352 #: tickera.php:1531 10353 10353 msgid "update your permalink structure" 10354 10354 msgstr "" 10355 10355 10356 #: tickera.php:15 4910356 #: tickera.php:1562 10357 10357 #, php-format 10358 10358 msgid "It is recommended to turn off both %s and %s on a production site." 10359 10359 msgstr "" 10360 10360 10361 #: tickera.php:15 50 tickera.php:155510361 #: tickera.php:1563 tickera.php:1568 10362 10362 #, php-format 10363 10363 msgid " Remove %s line from wp-config.php file." 10364 10364 msgstr "" 10365 10365 10366 #: tickera.php:15 51 tickera.php:155910366 #: tickera.php:1564 tickera.php:1572 10367 10367 #, php-format 10368 10368 msgid "" … … 10371 10371 msgstr "" 10372 10372 10373 #: tickera.php:15 54 tickera.php:155810373 #: tickera.php:1567 tickera.php:1571 10374 10374 #, php-format 10375 10375 msgid "It is recommended to turn off %s on a production site." 10376 10376 msgstr "" 10377 10377 10378 #: tickera.php:20 4410378 #: tickera.php:2057 10379 10379 #, php-format 10380 10380 msgid " %sPlease try again.%s" 10381 10381 msgstr "" 10382 10382 10383 #: tickera.php:21 5910383 #: tickera.php:2172 10384 10384 #, php-format 10385 10385 msgid "Redirecting to %s payment page..." 10386 10386 msgstr "" 10387 10387 10388 #: tickera.php:21 6110388 #: tickera.php:2174 10389 10389 msgid "Continue »" 10390 10390 msgstr "" 10391 10391 10392 #: tickera.php:21 6110392 #: tickera.php:2174 10393 10393 msgid "Continue Checkout »" 10394 10394 msgstr "" 10395 10395 10396 #: tickera.php:22 7110396 #: tickera.php:2284 10397 10397 msgid "Payment" 10398 10398 msgstr "" 10399 10399 10400 #: tickera.php:23 2310400 #: tickera.php:2336 10401 10401 msgid "Process Payment" 10402 10402 msgstr "" 10403 10403 10404 #: tickera.php:23 6910404 #: tickera.php:2382 10405 10405 msgid "Confirmation" 10406 10406 msgstr "" 10407 10407 10408 #: tickera.php:26 50 tickera.php:273510408 #: tickera.php:2663 tickera.php:2748 10409 10409 #, php-format 10410 10410 msgid "\"%s\" tickets are sold out" 10411 10411 msgstr "" 10412 10412 10413 #: tickera.php:27 0110413 #: tickera.php:2714 10414 10414 #, php-format 10415 10415 msgid "Minimum order quantity for \"%s\" is %d" 10416 10416 msgstr "" 10417 10417 10418 #: tickera.php:27 2610418 #: tickera.php:2739 10419 10419 #, php-format 10420 10420 msgid "Maximum order quantity for \"%s\" is %d" 10421 10421 msgstr "" 10422 10422 10423 #: tickera.php:27 3410423 #: tickera.php:2747 10424 10424 #, php-format 10425 10425 msgid "Only %d \"%s\" %s left" 10426 10426 msgstr "" 10427 10427 10428 #: tickera.php:27 3410428 #: tickera.php:2747 10429 10429 msgid "tickets" 10430 10430 msgstr "" 10431 10431 10432 #: tickera.php:27 3410432 #: tickera.php:2747 10433 10433 msgid "ticket" 10434 10434 msgstr "" 10435 10435 10436 #: tickera.php:27 5110436 #: tickera.php:2764 10437 10437 #, php-format 10438 10438 msgid "\"%s\" You have reached the maximum number of purchases of this ticket" 10439 10439 msgstr "" 10440 10440 10441 #: tickera.php:28 2010441 #: tickera.php:2833 10442 10442 msgid "All fields marked with * are required." 10443 10443 msgstr "" 10444 10444 10445 #: tickera.php:29 6510445 #: tickera.php:2978 10446 10446 msgid "here" 10447 10447 msgstr "" 10448 10448 10449 #: tickera.php:29 7310449 #: tickera.php:2986 10450 10450 #, php-format 10451 10451 msgid "You can check your order status %s." 10452 10452 msgstr "" 10453 10453 10454 #: tickera.php:29 7710454 #: tickera.php:2990 10455 10455 #, php-format 10456 10456 msgid "You can check your order status and download tickets %s." 10457 10457 msgstr "" 10458 10458 10459 #: tickera.php:30 8510459 #: tickera.php:3098 10460 10460 #, php-format 10461 10461 msgid "" … … 10463 10463 msgstr "" 10464 10464 10465 #: tickera.php:35 1810465 #: tickera.php:3531 10466 10466 msgid "IPN" 10467 10467 msgstr "" 10468 10468 10469 #: tickera.php:36 8210469 #: tickera.php:3695 10470 10470 msgid "Something went wrong. Cart data is not available" 10471 10471 msgstr "" 10472 10472 10473 #: tickera.php:3 69210473 #: tickera.php:3705 10474 10474 msgid "" 10475 10475 "Something went wrong. The order with the same ID already exists. Please try " … … 10477 10477 msgstr "" 10478 10478 10479 #: tickera.php:44 3710479 #: tickera.php:4450 10480 10480 msgid "Order cancelled by client." 10481 10481 msgstr "" 10482 10482 10483 #: tickera.php:45 11 tickera.php:4552 tickera.php:4592 tickera.php:473210483 #: tickera.php:4524 tickera.php:4565 tickera.php:4605 tickera.php:4745 10484 10484 msgid "Create new" 10485 10485 msgstr "" 10486 10486 10487 #: tickera.php:45 1210487 #: tickera.php:4525 10488 10488 msgid "Create new event" 10489 10489 msgstr "" 10490 10490 10491 #: tickera.php:45 1310491 #: tickera.php:4526 10492 10492 msgid "Edit events" 10493 10493 msgstr "" 10494 10494 10495 #: tickera.php:45 1510495 #: tickera.php:4528 10496 10496 msgid "New event" 10497 10497 msgstr "" 10498 10498 10499 #: tickera.php:45 1610499 #: tickera.php:4529 10500 10500 msgid "View event" 10501 10501 msgstr "" 10502 10502 10503 #: tickera.php:45 1710503 #: tickera.php:4530 10504 10504 msgid "Search events" 10505 10505 msgstr "" 10506 10506 10507 #: tickera.php:45 1810507 #: tickera.php:4531 10508 10508 msgid "No events found" 10509 10509 msgstr "" 10510 10510 10511 #: tickera.php:45 1910511 #: tickera.php:4532 10512 10512 msgid "No events found in the trash" 10513 10513 msgstr "" 10514 10514 10515 #: tickera.php:45 2010515 #: tickera.php:4533 10516 10516 msgid "View Event" 10517 10517 msgstr "" 10518 10518 10519 #: tickera.php:45 5010519 #: tickera.php:4563 10520 10520 msgid "Ticket Types" 10521 10521 msgstr "" 10522 10522 10523 #: tickera.php:45 5310523 #: tickera.php:4566 10524 10524 msgid "Create new ticket type" 10525 10525 msgstr "" 10526 10526 10527 #: tickera.php:45 5410527 #: tickera.php:4567 10528 10528 msgid "Edit Ticket" 10529 10529 msgstr "" 10530 10530 10531 #: tickera.php:45 5610531 #: tickera.php:4569 10532 10532 msgid "New ticket" 10533 10533 msgstr "" 10534 10534 10535 #: tickera.php:45 5710535 #: tickera.php:4570 10536 10536 msgid "View ticket" 10537 10537 msgstr "" 10538 10538 10539 #: tickera.php:45 5810539 #: tickera.php:4571 10540 10540 msgid "Search tickets" 10541 10541 msgstr "" 10542 10542 10543 #: tickera.php:45 5910543 #: tickera.php:4572 10544 10544 msgid "No tickets found" 10545 10545 msgstr "" 10546 10546 10547 #: tickera.php:45 6010547 #: tickera.php:4573 10548 10548 msgid "No tickets found in the trash" 10549 10549 msgstr "" 10550 10550 10551 #: tickera.php:45 6110551 #: tickera.php:4574 10552 10552 msgid "View Ticket" 10553 10553 msgstr "" 10554 10554 10555 #: tickera.php:4 59110555 #: tickera.php:4604 10556 10556 msgid "API keys" 10557 10557 msgstr "" 10558 10558 10559 #: tickera.php:4 59310559 #: tickera.php:4606 10560 10560 msgid "Create new API keys" 10561 10561 msgstr "" 10562 10562 10563 #: tickera.php:4 59410563 #: tickera.php:4607 10564 10564 msgid "Edit API keys" 10565 10565 msgstr "" 10566 10566 10567 #: tickera.php:4 59610567 #: tickera.php:4609 10568 10568 msgid "New API key" 10569 10569 msgstr "" 10570 10570 10571 #: tickera.php:4 597 tickera.php:460110571 #: tickera.php:4610 tickera.php:4614 10572 10572 msgid "View API key" 10573 10573 msgstr "" 10574 10574 10575 #: tickera.php:4 59810575 #: tickera.php:4611 10576 10576 msgid "Search API keys" 10577 10577 msgstr "" 10578 10578 10579 #: tickera.php:4 59910579 #: tickera.php:4612 10580 10580 msgid "No API keys found" 10581 10581 msgstr "" 10582 10582 10583 #: tickera.php:46 0010583 #: tickera.php:4613 10584 10584 msgid "No API keys found in the trash" 10585 10585 msgstr "" 10586 10586 10587 #: tickera.php:46 1510587 #: tickera.php:4628 10588 10588 msgid "Create Attendee" 10589 10589 msgstr "" 10590 10590 10591 #: tickera.php:46 1610591 #: tickera.php:4629 10592 10592 msgid "Create New Attendee" 10593 10593 msgstr "" 10594 10594 10595 #: tickera.php:46 1710595 #: tickera.php:4630 10596 10596 msgid "Check-in details" 10597 10597 msgstr "" 10598 10598 10599 #: tickera.php:46 1910599 #: tickera.php:4632 10600 10600 msgid "New Attendee" 10601 10601 msgstr "" 10602 10602 10603 #: tickera.php:46 20 tickera.php:462410603 #: tickera.php:4633 tickera.php:4637 10604 10604 msgid "View attendee" 10605 10605 msgstr "" 10606 10606 10607 #: tickera.php:46 2110607 #: tickera.php:4634 10608 10608 msgid "Search attendees" 10609 10609 msgstr "" 10610 10610 10611 #: tickera.php:46 2210611 #: tickera.php:4635 10612 10612 msgid "No attendees found" 10613 10613 msgstr "" 10614 10614 10615 #: tickera.php:46 2310615 #: tickera.php:4636 10616 10616 msgid "No attendee records found in the trash" 10617 10617 msgstr "" 10618 10618 10619 #: tickera.php:46 5910619 #: tickera.php:4672 10620 10620 msgid "View order" 10621 10621 msgstr "" 10622 10622 10623 #: tickera.php:46 6010623 #: tickera.php:4673 10624 10624 msgid "Search orders" 10625 10625 msgstr "" 10626 10626 10627 #: tickera.php:46 6110627 #: tickera.php:4674 10628 10628 msgid "No orders found" 10629 10629 msgstr "" 10630 10630 10631 #: tickera.php:4 69310631 #: tickera.php:4706 10632 10632 msgid "Received" 10633 10633 msgstr "" 10634 10634 10635 #: tickera.php:4 69410635 #: tickera.php:4707 10636 10636 #, php-format 10637 10637 msgid "Received <span class=\"count\">(%s)</span>" … … 10640 10640 msgstr[1] "" 10641 10641 10642 #: tickera.php:47 0110642 #: tickera.php:4714 10643 10643 #, php-format 10644 10644 msgid "Paid <span class=\"count\">(%s)</span>" … … 10647 10647 msgstr[1] "" 10648 10648 10649 #: tickera.php:47 0810649 #: tickera.php:4721 10650 10650 #, php-format 10651 10651 msgid "Cancelled <span class=\"count\">(%s)</span>" … … 10654 10654 msgstr[1] "" 10655 10655 10656 #: tickera.php:47 1510656 #: tickera.php:4728 10657 10657 #, php-format 10658 10658 msgid "Refunded <span class=\"count\">(%s)</span>" … … 10661 10661 msgstr[1] "" 10662 10662 10663 #: tickera.php:47 2210663 #: tickera.php:4735 10664 10664 msgid "Fraud" 10665 10665 msgstr "" 10666 10666 10667 #: tickera.php:47 2310667 #: tickera.php:4736 10668 10668 #, php-format 10669 10669 msgid "Fraud <span class=\"count\">(%s)</span>" … … 10672 10672 msgstr[1] "" 10673 10673 10674 #: tickera.php:47 30 tickera.php:473110674 #: tickera.php:4743 tickera.php:4744 10675 10675 msgid "Templates" 10676 10676 msgstr "" 10677 10677 10678 #: tickera.php:47 3310678 #: tickera.php:4746 10679 10679 msgid "Create new template" 10680 10680 msgstr "" 10681 10681 10682 #: tickera.php:47 3410682 #: tickera.php:4747 10683 10683 msgid "Edit templates" 10684 10684 msgstr "" 10685 10685 10686 #: tickera.php:47 3610686 #: tickera.php:4749 10687 10687 msgid "New template" 10688 10688 msgstr "" 10689 10689 10690 #: tickera.php:47 3710690 #: tickera.php:4750 10691 10691 msgid "View template" 10692 10692 msgstr "" 10693 10693 10694 #: tickera.php:47 3810694 #: tickera.php:4751 10695 10695 msgid "Search templates" 10696 10696 msgstr "" 10697 10697 10698 #: tickera.php:47 3910698 #: tickera.php:4752 10699 10699 msgid "No templates found" 10700 10700 msgstr "" 10701 10701 10702 #: tickera.php:47 4010702 #: tickera.php:4753 10703 10703 msgid "No templates found in the trash" 10704 10704 msgstr "" 10705 10705 10706 #: tickera.php:47 4110706 #: tickera.php:4754 10707 10707 msgid "View Template" 10708 10708 msgstr "" 10709 10709 10710 #: tickera.php:49 2610710 #: tickera.php:4939 10711 10711 msgid "Please confirm that you want to delete it permanently?" 10712 10712 msgstr "" 10713 10713 10714 #: tickera.php:49 2710714 #: tickera.php:4940 10715 10715 msgid "Order status changed successfully." 10716 10716 msgstr "" 10717 10717 10718 #: tickera.php:49 2810718 #: tickera.php:4941 10719 10719 msgid "Order confirmation e-mail has been sent successfully." 10720 10720 msgstr "" 10721 10721 10722 #: tickera.php:49 2910722 #: tickera.php:4942 10723 10723 msgid "Sending..." 10724 10724 msgstr "" 10725 10725 10726 #: tickera.php:49 3010726 #: tickera.php:4943 10727 10727 msgid "Sent" 10728 10728 msgstr "" 10729 10729 10730 #: tickera.php:49 3110730 #: tickera.php:4944 10731 10731 msgid "Failed" 10732 10732 msgstr "" 10733 10733 10734 #: tickera.php:49 3210734 #: tickera.php:4945 10735 10735 #, php-format 10736 10736 msgid "" … … 10739 10739 msgstr "" 10740 10740 10741 #: tickera.php:49 3310741 #: tickera.php:4946 10742 10742 #, php-format 10743 10743 msgid "" … … 10746 10746 msgstr "" 10747 10747 10748 #: tickera.php:49 3410748 #: tickera.php:4947 10749 10749 msgid "" 10750 10750 "Are you sure you want to delete all Ticket Types? You have tickets sold for " … … 10752 10752 msgstr "" 10753 10753 10754 #: tickera.php:49 3710754 #: tickera.php:4950 10755 10755 msgid "Please enter at least 3 characters." 10756 10756 msgstr "" 10757 10757 10758 #: tickera.php:49 5310758 #: tickera.php:4966 10759 10759 msgid "tickets have been deleted." 10760 10760 msgstr "" 10761 10761 10762 #: tickera.php:49 5510762 #: tickera.php:4968 10763 10763 msgid "Please confirm if you want to proceed." 10764 10764 msgstr "" 10765 10765 10766 #: tickera.php: 499110766 #: tickera.php:5004 10767 10767 msgid "This field is required." 10768 10768 msgstr "" 10769 10769 10770 #: tickera.php: 499210770 #: tickera.php:5005 10771 10771 msgid "Please fix this field." 10772 10772 msgstr "" 10773 10773 10774 #: tickera.php: 499310774 #: tickera.php:5006 10775 10775 msgid "Please enter a valid email address." 10776 10776 msgstr "" 10777 10777 10778 #: tickera.php: 499410778 #: tickera.php:5007 10779 10779 msgid "Please enter a valid URL." 10780 10780 msgstr "" 10781 10781 10782 #: tickera.php: 499510782 #: tickera.php:5008 10783 10783 msgid "Please enter a valid date." 10784 10784 msgstr "" 10785 10785 10786 #: tickera.php: 499610786 #: tickera.php:5009 10787 10787 msgid "Please enter a valid date (ISO)." 10788 10788 msgstr "" 10789 10789 10790 #: tickera.php: 499710790 #: tickera.php:5010 10791 10791 msgid "Please enter a valid number." 10792 10792 msgstr "" 10793 10793 10794 #: tickera.php: 499810794 #: tickera.php:5011 10795 10795 msgid "Please enter only digits." 10796 10796 msgstr "" 10797 10797 10798 #: tickera.php: 499910798 #: tickera.php:5012 10799 10799 msgid "Please enter the same value again." 10800 10800 msgstr "" 10801 10801 10802 #: tickera.php:50 0010802 #: tickera.php:5013 10803 10803 msgid "Please enter no more than {0} characters." 10804 10804 msgstr "" 10805 10805 10806 #: tickera.php:50 0110806 #: tickera.php:5014 10807 10807 msgid "Please enter at least {0} characters." 10808 10808 msgstr "" 10809 10809 10810 #: tickera.php:50 0210810 #: tickera.php:5015 10811 10811 msgid "Please enter a value between {0} and {1} characters long." 10812 10812 msgstr "" 10813 10813 10814 #: tickera.php:50 0310814 #: tickera.php:5016 10815 10815 msgid "Please enter a value between {0} and {1}." 10816 10816 msgstr "" 10817 10817 10818 #: tickera.php:50 0410818 #: tickera.php:5017 10819 10819 msgid "Please enter a value less than or equal to {0}." 10820 10820 msgstr "" 10821 10821 10822 #: tickera.php:50 0510822 #: tickera.php:5018 10823 10823 msgid "Please enter a value greater than or equal to {0}." 10824 10824 msgstr "" 10825 10825 10826 #: tickera.php:50 0610826 #: tickera.php:5019 10827 10827 msgid "Please enter a multiple of {0}." 10828 10828 msgstr "" 10829 10829 10830 #: tickera.php:50 1610830 #: tickera.php:5029 10831 10831 msgid "" 10832 10832 "Only customers aged 16 or older are permitted for purchase on this website" 10833 10833 msgstr "" 10834 10834 10835 #: tickera.php:50 2510835 #: tickera.php:5038 10836 10836 msgid "In order to continue you need to agree to provide your details." 10837 10837 msgstr "" 10838 10838 10839 #: tickera.php:50 3210839 #: tickera.php:5045 10840 10840 msgid "Are you sure you want to remove all tickets from your cart?" 10841 10841 msgstr "" 10842 10842 10843 #: tickera.php:50 3310843 #: tickera.php:5046 10844 10844 msgid "Ticket Added!" 10845 10845 msgstr "" 10846 10846 10847 #: tickera.php:50 3510847 #: tickera.php:5048 10848 10848 msgid "Adding ticket to cart..." 10849 10849 msgstr "" 10850 10850 10851 #: tickera.php:50 3610851 #: tickera.php:5049 10852 10852 msgid "In Your Cart" 10853 10853 msgstr "" 10854 10854 10855 #: tickera.php:50 3810855 #: tickera.php:5051 10856 10856 msgid "Please update your cart before to proceed." 10857 10857 msgstr "" 10858 10858 10859 #: tickera.php:50 3910859 #: tickera.php:5052 10860 10860 msgid "Please confirm to remove all of the items from your cart." 10861 10861 msgstr "" 10862 10862 10863 #: tickera.php:50 4410863 #: tickera.php:5057 10864 10864 msgid "This field is required *" 10865 10865 msgstr "" 10866 10866 10867 #: tickera.php:50 4510867 #: tickera.php:5058 10868 10868 msgid "Please use alphanumeric characters only." 10869 10869 msgstr "" 10870 10870 10871 #: tickera.php:50 6310871 #: tickera.php:5076 10872 10872 msgid "" 10873 10873 "You have both FREE and PREMIUM version of Tickera plugin activated. In order " -
tickera-event-ticketing-system/trunk/readme.txt
r3101656 r3103413 1 1 === Tickera - WordPress Event Ticketing === 2 2 Contributors: tickera 3 Tags: event ticketing, e-tickets, event, wordpress events, booking, e-commerce,WooCommerce3 Tags: event ticketing, e-tickets, event, wordpress events, , e-commerce,WooCommerce 4 4 Requires at least: 4.1 5 5 Tested up to: 6.5.3 … … 148 148 149 149 == Changelog == 150 151 = 3.5.2.9 12/06/2024 = 152 * Additional admin side security measures on bulk delete tickets. Only admin accounts can execute the function. 150 153 151 154 = 3.5.2.8 12/06/2024 = -
tickera-event-ticketing-system/trunk/tickera.php
r3101656 r3103413 7 7 * Author: Tickera.com 8 8 * Author URI: https://tickera.com/ 9 * Version: 3.5.2. 89 * Version: 3.5.2.9 10 10 * Text Domain: tc 11 11 * Domain Path: /languages/ … … 17 17 if ( !class_exists( 'TC' ) ) { 18 18 class TC { 19 var $version = '3.5.2. 8';19 var $version = '3.5.2.9'; 20 20 21 21 var $title = 'Tickera'; … … 236 236 add_action( 'admin_init', array(&$this, 'add_required_capabilities') ); 237 237 add_action( 'tc_delete_plugins_data', array($this, 'tc_delete_plugins_data') ); 238 add_action( 'wp_ajax_tc_d l_delete_tickets', array($this, 'tc_dl_delete_tickets') );238 add_action( 'wp_ajax_tc_delete_tickets', array($this, 'tc_delete_tickets') ); 239 239 add_action( 'admin_notices', array($this, 'bridge_admin_notice') ); 240 240 add_action( 'wp_ajax_tc_remove_notification', array(&$this, 'tc_remove_notification') ); … … 757 757 * Process Bulk Deletion of Tickets 758 758 * Tickera > Settings > Delete Info > Bulk Delete Tickets 759 * @since 3.5.2.3 759 760 * 760 * @since 3.5.2.3 761 */ 762 function tc_dl_delete_tickets() { 763 $page = ( isset( $_POST['page'] ) ? (int) $_POST['page'] : 1 ); 764 $post_per_page = apply_filters( 'tc_dl_post_per_page', 20 ); 765 $delete_orders = ( isset( $_POST['delete_orders'] ) ? $_POST['delete_orders'] : 'no' ); 766 $events_ids = ( isset( $_POST['event_ids'] ) ? $_POST['event_ids'] : [] ); 767 $prev_deleted = ( isset( $_POST['prev_deleted'] ) ? (int) $_POST['prev_deleted'] : 0 ); 768 if ( $events_ids ) { 769 // Collection of Attendee's Tickets 770 $ticket_instances = get_posts( [ 771 'post_type' => 'tc_tickets_instances', 772 'post_status' => 'any', 773 'meta_query' => [ 774 'relation' => 'AND', 775 [ 776 'key' => 'event_id', 777 'value' => $events_ids, 778 'compare' => 'IN', 761 * Rename "tc_dl_delete_tickets function" to "tc_delete_tickets" 762 * Rename filter hook "tc_dl_post_per_page" to "tc_delete_tickets_post_per_page" 763 * Applied nonce 764 * @since 3.5.2.9 765 */ 766 function tc_delete_tickets() { 767 if ( $_POST && isset( $_POST['nonce'] ) && wp_verify_nonce( sanitize_key( $_POST['nonce'] ), 'tc_ajax_nonce' ) && current_user_can( 'manage_options' ) ) { 768 $page = ( isset( $_POST['page'] ) ? (int) $_POST['page'] : 1 ); 769 $post_per_page = apply_filters( 'tc_delete_tickets_post_per_page', 20 ); 770 $delete_orders = ( isset( $_POST['delete_orders'] ) ? $_POST['delete_orders'] : 'no' ); 771 $events_ids = ( isset( $_POST['event_ids'] ) ? $_POST['event_ids'] : [] ); 772 $prev_deleted = ( isset( $_POST['prev_deleted'] ) ? (int) $_POST['prev_deleted'] : 0 ); 773 if ( $events_ids ) { 774 // Collection of Attendee's Tickets 775 $ticket_instances = get_posts( [ 776 'post_type' => 'tc_tickets_instances', 777 'post_status' => 'any', 778 'meta_query' => [ 779 'relation' => 'AND', 780 [ 781 'key' => 'event_id', 782 'value' => $events_ids, 783 'compare' => 'IN', 784 ], 779 785 ], 780 ], 781 'fields' => 'ids', 782 'paged' => 1, 783 'posts_per_page' => $post_per_page, 784 ] ); 785 if ( $ticket_instances ) { 786 // Delete Attendee's Tickets 787 foreach ( $ticket_instances as $ticket_instance_id ) { 788 $order_id = wp_get_post_parent_id( $ticket_instance_id ); 789 if ( 'yes' == $delete_orders ) { 790 if ( $order_id && get_post( $order_id ) ) { 791 $associated_tickets = get_posts( [ 792 'post_type' => 'tc_tickets_instances', 793 'post_parent' => $order_id, 794 'fields' => 'ids', 795 'posts_per_page' => -1, 796 ] ); 797 $prev_deleted = $prev_deleted + count( $associated_tickets ); 798 wp_delete_post( $order_id ); 786 'fields' => 'ids', 787 'paged' => 1, 788 'posts_per_page' => $post_per_page, 789 ] ); 790 if ( $ticket_instances ) { 791 // Delete Attendee's Tickets 792 foreach ( $ticket_instances as $ticket_instance_id ) { 793 $order_id = wp_get_post_parent_id( $ticket_instance_id ); 794 if ( 'yes' == $delete_orders ) { 795 if ( $order_id && get_post( $order_id ) ) { 796 $associated_tickets = get_posts( [ 797 'post_type' => 'tc_tickets_instances', 798 'post_parent' => $order_id, 799 'fields' => 'ids', 800 'posts_per_page' => -1, 801 ] ); 802 $prev_deleted = $prev_deleted + count( $associated_tickets ); 803 wp_delete_post( $order_id ); 804 } else { 805 if ( get_post( $ticket_instance_id ) ) { 806 $prev_deleted++; 807 wp_delete_post( $ticket_instance_id ); 808 } 809 } 799 810 } else { 800 811 if ( get_post( $ticket_instance_id ) ) { … … 803 814 } 804 815 } 805 } else {806 if ( get_post( $ticket_instance_id ) ) {807 $prev_deleted++;808 wp_delete_post( $ticket_instance_id );809 }810 816 } 811 }812 $resposne = [];813 $resposne['page'] = $page;814 $resposne['deleted'] = $prev_deleted;815 wp_send_json( $resposne );817 $resposne = []; 818 $resposne['page'] = $page; 819 $resposne['deleted'] = $prev_deleted; 820 wp_send_json( $resposne ); 821 } 816 822 } 817 823 } … … 1188 1194 * Version_compare for backward compatibility 1189 1195 * Considering those download url links sent via email prior to updating to 3.5.2.5 1196 * @since 3.5.2.6 1190 1197 * 1191 * @since 3.5.2.6 1198 * Adjusted backward compatibility version to 3.5.3.0 1199 * @since 3.5.2.9 1192 1200 */ 1193 if ( !empty( $order_key ) && !empty( $ticket ) && (!empty( $nonce ) && hash_equals( wp_hash( $ticket . $order_key ), $nonce ) || version_compare( $this->version, '3.5. 2.7', '<' )) ) {1201 if ( !empty( $order_key ) && !empty( $ticket ) && (!empty( $nonce ) && hash_equals( wp_hash( $ticket . $order_key ), $nonce ) || version_compare( $this->version, '3.5.3.0', '<' )) ) { 1194 1202 $order_id = wp_get_post_parent_id( $ticket ); 1195 1203 if ( $order_id ) {
Note: See TracChangeset
for help on using the changeset viewer.