Plugin Directory


Ignore:
Timestamp:
06/17/2024 08:07:34 AM (10 months ago)
Author:
tickera
Message:
  • Additional admin side security measures on bulk delete tickets. Only admin accounts can execute the function.
Location:
tickera-event-ticketing-system/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • tickera-event-ticketing-system/trunk/changelog.txt

    r3101656 r3103413  
    11Plugin Name: Tickera
    22Author: 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.
    36
    47= 3.5.2.8 12/06/2024 =
  • tickera-event-ticketing-system/trunk/js/admin.js

    r3093199 r3103413  
    11311131
    11321132            await $.post( tc_vars.ajaxUrl, {
    1133                 action: 'tc_dl_delete_tickets',
     1133                action: 'tc_delete_tickets',
     1134                nonce: tc_vars.ajaxNonce,
    11341135                event_ids: $('#tc_dl_event_filter select').chosen().val(),
    11351136                delete_orders: $( 'input[name="delete_orders"]:checked' ).val(),
  • tickera-event-ticketing-system/trunk/languages/tc.pot

    r3101656 r3103413  
    33msgstr ""
    44"Project-Id-Version: Tickera\n"
    5 "POT-Creation-Date: 2024-06-12 10:53+0200\n"
     5"POT-Creation-Date: 2024-06-17 09:56+0200\n"
    66"PO-Revision-Date: 2018-08-29 11:17+0200\n"
    77"Last-Translator: \n"
     
    568568msgstr ""
    569569
    570 #: includes/addons/better-orders/index.php:194 tickera.php:4700
     570#: includes/addons/better-orders/index.php:194 tickera.php:4713
    571571msgid "Paid"
    572572msgstr ""
     
    576576msgstr ""
    577577
    578 #: includes/addons/better-orders/index.php:196 tickera.php:4707
     578#: includes/addons/better-orders/index.php:196 tickera.php:4720
    579579msgid "Cancelled"
    580580msgstr ""
    581581
    582 #: includes/addons/better-orders/index.php:197 tickera.php:4714
     582#: includes/addons/better-orders/index.php:197 tickera.php:4727
    583583msgid "Refunded"
    584584msgstr ""
     
    756756
    757757#: includes/addons/delete-info/includes/admin-pages/settings-tickera_delete_info.php:72
    758 #: includes/classes/class.events.php:14 tickera.php:3115 tickera.php:4509
    759 #: tickera.php:4510
     758#: includes/classes/class.events.php:14 tickera.php:3128 tickera.php:4522
     759#: tickera.php:4523
    760760msgid "Events"
    761761msgstr ""
     
    13001300#: includes/classes/class.shortcodes.php:197
    13011301#: includes/classes/class.visual_composer_shortcodes.php:16
    1302 #: includes/widgets/cart-widget.php:14 tickera.php:1775 tickera.php:1802
    1303 #: tickera.php:2247
     1302#: includes/widgets/cart-widget.php:14 tickera.php:1788 tickera.php:1815
     1303#: tickera.php:2260
    13041304msgid "Cart"
    13051305msgstr ""
     
    19171917
    19181918#: includes/admin-pages/discount_codes.php:190
    1919 #: includes/classes/class.discounts.php:15 tickera.php:3117
     1919#: includes/classes/class.discounts.php:15 tickera.php:3130
    19201920msgid "Discount Codes"
    19211921msgstr ""
     
    19361936#: includes/classes/class.ticket_templates-new.php:440
    19371937#: includes/classes/class.ticket_templates.php:363
    1938 #: includes/classes/class.tickets.php:250 tickera.php:4514 tickera.php:4555
    1939 #: tickera.php:4595 tickera.php:4618 tickera.php:4658 tickera.php:4735
     1938#: 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
    19401940msgid "Edit"
    19411941msgstr ""
     
    22162216
    22172217#: includes/admin-pages/settings-api.php:198
    2218 #: includes/classes/class.api_keys.php:14 tickera.php:4590
     2218#: includes/classes/class.api_keys.php:14 tickera.php:4603
    22192219msgid "API Keys"
    22202220msgstr ""
     
    22592259msgstr ""
    22602260
    2261 #: includes/admin-pages/settings.php:15 tickera.php:3118 tickera.php:3205
     2261#: includes/admin-pages/settings.php:15 tickera.php:3131 tickera.php:3218
    22622262msgid "Settings"
    22632263msgstr ""
     
    22982298msgstr ""
    22992299
    2300 #: includes/admin-pages/ticket_templates.php:176 tickera.php:3116
     2300#: includes/admin-pages/ticket_templates.php:176 tickera.php:3129
    23012301msgid "Ticket Templates"
    23022302msgstr ""
     
    23432343#: includes/classes/class.orders.php:326
    23442344#: includes/classes/class.tickets_instances.php:92
    2345 #: includes/general-functions.php:1831 tickera.php:4551
     2345#: includes/general-functions.php:1831 tickera.php:4564
    23462346msgid "Ticket"
    23472347msgstr ""
     
    26282628#: includes/classes/class.shortcode_builder.php:233
    26292629#: includes/classes/class.shortcodes.php:72
    2630 #: includes/classes/class.shortcodes.php:169 tickera.php:2533
     2630#: includes/classes/class.shortcodes.php:169 tickera.php:2546
    26312631msgid "Add to Cart"
    26322632msgstr ""
     
    26442644#: includes/classes/class.shortcode_builder.php:263
    26452645#: includes/classes/class.shortcodes.php:67
    2646 #: includes/classes/class.shortcodes.php:174 tickera.php:2534
     2646#: includes/classes/class.shortcodes.php:174 tickera.php:2547
    26472647msgid "Tickets are sold out."
    26482648msgstr ""
     
    28722872msgstr ""
    28732873
    2874 #: includes/classes/class.orders.php:14 tickera.php:4656
     2874#: includes/classes/class.orders.php:14 tickera.php:4669
    28752875msgid "Orders"
    28762876msgstr ""
     
    30143014msgstr ""
    30153015
    3016 #: includes/classes/class.payment_gateways.php:386 tickera.php:4442
     3016#: includes/classes/class.payment_gateways.php:386 tickera.php:4455
    30173017msgid "Your transaction has been canceled."
    30183018msgstr ""
     
    40774077msgstr ""
    40784078
    4079 #: includes/classes/class.tickets_instances.php:14 tickera.php:4613
     4079#: includes/classes/class.tickets_instances.php:14 tickera.php:4626
    40804080msgid "Attendees & Tickets"
    40814081msgstr ""
    40824082
    4083 #: includes/classes/class.tickets_instances.php:37 tickera.php:4614
     4083#: includes/classes/class.tickets_instances.php:37 tickera.php:4627
    40844084msgid "Attendee"
    40854085msgstr ""
    40864086
    40874087#: includes/classes/class.tickets_instances.php:74
    4088 #: includes/general-functions.php:1834 tickera.php:2346 tickera.php:4657
     4088#: includes/general-functions.php:1834 tickera.php:2359 tickera.php:4670
    40894089msgid "Order"
    40904090msgstr ""
     
    48344834#: includes/templates/page-process-payment.php:24
    48354835#: includes/templates/page-process-payment.php:37
    4836 #: includes/templates/page-process-payment.php:54 tickera.php:2021
     4836#: includes/templates/page-process-payment.php:54 tickera.php:2034
    48374837msgid "Sorry, something went wrong."
    48384838msgstr ""
     
    57995799msgstr ""
    58005800
    5801 #: includes/gateways/paygate.php:181 tickera.php:4954
     5801#: includes/gateways/paygate.php:181 tickera.php:4967
    58025802msgid "Something went wrong. Please try again."
    58035803msgstr ""
     
    97139713
    97149714#: includes/general-functions.php:3935 includes/widgets/cart-widget.php:62
    9715 #: tickera.php:2581
     9715#: tickera.php:2594
    97169716msgid "The cart is empty"
    97179717msgstr ""
     
    1026110261msgstr ""
    1026210262
    10263 #: tickera.php:791
     10263#: tickera.php:802
    1026410264msgid "I hereby declare that I am 16 years or older"
    1026510265msgstr ""
    1026610266
    10267 #: tickera.php:1017
     10267#: tickera.php:1028
    1026810268msgid "Action is not allowed on paid orders."
    1026910269msgstr ""
    1027010270
    10271 #: tickera.php:1036
     10271#: tickera.php:1047
    1027210272msgid "Seating chart update is currently not allowed."
    1027310273msgstr ""
    1027410274
    10275 #: tickera.php:1065
     10275#: tickera.php:1076
    1027610276msgid "Invalid action. Nonce did not matched."
    1027710277msgstr ""
    1027810278
    10279 #: tickera.php:1134
     10279#: tickera.php:1145
    1028010280msgctxt "Page slug"
    1028110281msgid "tickets-cart"
    1028210282msgstr ""
    1028310283
    10284 #: tickera.php:1135
     10284#: tickera.php:1146
    1028510285msgctxt "Page title"
    1028610286msgid "Cart"
    1028710287msgstr ""
    1028810288
    10289 #: tickera.php:1139
     10289#: tickera.php:1150
    1029010290msgctxt "Page slug"
    1029110291msgid "tickets-payment"
    1029210292msgstr ""
    1029310293
    10294 #: tickera.php:1140
     10294#: tickera.php:1151
    1029510295msgctxt "Page title"
    1029610296msgid "Payment"
    1029710297msgstr ""
    1029810298
    10299 #: tickera.php:1144
     10299#: tickera.php:1155
    1030010300msgctxt "Page slug"
    1030110301msgid "tickets-order-confirmation"
    1030210302msgstr ""
    1030310303
    10304 #: tickera.php:1145
     10304#: tickera.php:1156
    1030510305msgctxt "Page title"
    1030610306msgid "Payment Confirmation"
    1030710307msgstr ""
    1030810308
    10309 #: tickera.php:1149
     10309#: tickera.php:1160
    1031010310msgctxt "Page slug"
    1031110311msgid "tickets-order-details"
    1031210312msgstr ""
    1031310313
    10314 #: tickera.php:1150
     10314#: tickera.php:1161
    1031510315msgctxt "Page title"
    1031610316msgid "Order Details"
    1031710317msgstr ""
    1031810318
    10319 #: tickera.php:1154
     10319#: tickera.php:1165
    1032010320msgctxt "Page slug"
    1032110321msgid "tickets-process-payment"
    1032210322msgstr ""
    1032310323
    10324 #: tickera.php:1155
     10324#: tickera.php:1166
    1032510325msgctxt "Page title"
    1032610326msgid "Process Payment"
    1032710327msgstr ""
    1032810328
    10329 #: tickera.php:1159
     10329#: tickera.php:1170
    1033010330msgctxt "Page slug"
    1033110331msgid "tickets-ipn-payment"
    1033210332msgstr ""
    1033310333
    10334 #: tickera.php:1160
     10334#: tickera.php:1171
    1033510335msgctxt "Page title"
    1033610336msgid "IPN"
    1033710337msgstr ""
    1033810338
    10339 #: tickera.php:1396 tickera.php:1492
     10339#: tickera.php:1409 tickera.php:1505
    1034010340msgid "Default"
    1034110341msgstr ""
    1034210342
    10343 #: tickera.php:1517
     10343#: tickera.php:1530
    1034410344msgid " is almost ready. "
    1034510345msgstr ""
    1034610346
    10347 #: tickera.php:1518
     10347#: tickera.php:1531
    1034810348#, php-format
    1034910349msgid "You must %s to something other than the default for it to work."
    1035010350msgstr ""
    1035110351
    10352 #: tickera.php:1518
     10352#: tickera.php:1531
    1035310353msgid "update your permalink structure"
    1035410354msgstr ""
    1035510355
    10356 #: tickera.php:1549
     10356#: tickera.php:1562
    1035710357#, php-format
    1035810358msgid "It is recommended to turn off both %s and %s on a production site."
    1035910359msgstr ""
    1036010360
    10361 #: tickera.php:1550 tickera.php:1555
     10361#: tickera.php:1563 tickera.php:1568
    1036210362#, php-format
    1036310363msgid " Remove %s line from wp-config.php file."
    1036410364msgstr ""
    1036510365
    10366 #: tickera.php:1551 tickera.php:1559
     10366#: tickera.php:1564 tickera.php:1572
    1036710367#, php-format
    1036810368msgid ""
     
    1037110371msgstr ""
    1037210372
    10373 #: tickera.php:1554 tickera.php:1558
     10373#: tickera.php:1567 tickera.php:1571
    1037410374#, php-format
    1037510375msgid "It is recommended to turn off %s on a production site."
    1037610376msgstr ""
    1037710377
    10378 #: tickera.php:2044
     10378#: tickera.php:2057
    1037910379#, php-format
    1038010380msgid " %sPlease try again.%s"
    1038110381msgstr ""
    1038210382
    10383 #: tickera.php:2159
     10383#: tickera.php:2172
    1038410384#, php-format
    1038510385msgid "Redirecting to %s payment page..."
    1038610386msgstr ""
    1038710387
    10388 #: tickera.php:2161
     10388#: tickera.php:2174
    1038910389msgid "Continue »"
    1039010390msgstr ""
    1039110391
    10392 #: tickera.php:2161
     10392#: tickera.php:2174
    1039310393msgid "Continue Checkout »"
    1039410394msgstr ""
    1039510395
    10396 #: tickera.php:2271
     10396#: tickera.php:2284
    1039710397msgid "Payment"
    1039810398msgstr ""
    1039910399
    10400 #: tickera.php:2323
     10400#: tickera.php:2336
    1040110401msgid "Process Payment"
    1040210402msgstr ""
    1040310403
    10404 #: tickera.php:2369
     10404#: tickera.php:2382
    1040510405msgid "Confirmation"
    1040610406msgstr ""
    1040710407
    10408 #: tickera.php:2650 tickera.php:2735
     10408#: tickera.php:2663 tickera.php:2748
    1040910409#, php-format
    1041010410msgid "\"%s\" tickets are sold out"
    1041110411msgstr ""
    1041210412
    10413 #: tickera.php:2701
     10413#: tickera.php:2714
    1041410414#, php-format
    1041510415msgid "Minimum order quantity for \"%s\" is %d"
    1041610416msgstr ""
    1041710417
    10418 #: tickera.php:2726
     10418#: tickera.php:2739
    1041910419#, php-format
    1042010420msgid "Maximum order quantity for \"%s\" is %d"
    1042110421msgstr ""
    1042210422
    10423 #: tickera.php:2734
     10423#: tickera.php:2747
    1042410424#, php-format
    1042510425msgid "Only %d \"%s\" %s left"
    1042610426msgstr ""
    1042710427
    10428 #: tickera.php:2734
     10428#: tickera.php:2747
    1042910429msgid "tickets"
    1043010430msgstr ""
    1043110431
    10432 #: tickera.php:2734
     10432#: tickera.php:2747
    1043310433msgid "ticket"
    1043410434msgstr ""
    1043510435
    10436 #: tickera.php:2751
     10436#: tickera.php:2764
    1043710437#, php-format
    1043810438msgid "\"%s\" You have reached the maximum number of purchases of this ticket"
    1043910439msgstr ""
    1044010440
    10441 #: tickera.php:2820
     10441#: tickera.php:2833
    1044210442msgid "All fields marked with * are required."
    1044310443msgstr ""
    1044410444
    10445 #: tickera.php:2965
     10445#: tickera.php:2978
    1044610446msgid "here"
    1044710447msgstr ""
    1044810448
    10449 #: tickera.php:2973
     10449#: tickera.php:2986
    1045010450#, php-format
    1045110451msgid "You can check your order status %s."
    1045210452msgstr ""
    1045310453
    10454 #: tickera.php:2977
     10454#: tickera.php:2990
    1045510455#, php-format
    1045610456msgid "You can check your order status and download tickets %s."
    1045710457msgstr ""
    1045810458
    10459 #: tickera.php:3085
     10459#: tickera.php:3098
    1046010460#, php-format
    1046110461msgid ""
     
    1046310463msgstr ""
    1046410464
    10465 #: tickera.php:3518
     10465#: tickera.php:3531
    1046610466msgid "IPN"
    1046710467msgstr ""
    1046810468
    10469 #: tickera.php:3682
     10469#: tickera.php:3695
    1047010470msgid "Something went wrong. Cart data is not available"
    1047110471msgstr ""
    1047210472
    10473 #: tickera.php:3692
     10473#: tickera.php:3705
    1047410474msgid ""
    1047510475"Something went wrong. The order with the same ID already exists. Please try "
     
    1047710477msgstr ""
    1047810478
    10479 #: tickera.php:4437
     10479#: tickera.php:4450
    1048010480msgid "Order cancelled by client."
    1048110481msgstr ""
    1048210482
    10483 #: tickera.php:4511 tickera.php:4552 tickera.php:4592 tickera.php:4732
     10483#: tickera.php:4524 tickera.php:4565 tickera.php:4605 tickera.php:4745
    1048410484msgid "Create new"
    1048510485msgstr ""
    1048610486
    10487 #: tickera.php:4512
     10487#: tickera.php:4525
    1048810488msgid "Create new event"
    1048910489msgstr ""
    1049010490
    10491 #: tickera.php:4513
     10491#: tickera.php:4526
    1049210492msgid "Edit events"
    1049310493msgstr ""
    1049410494
    10495 #: tickera.php:4515
     10495#: tickera.php:4528
    1049610496msgid "New event"
    1049710497msgstr ""
    1049810498
    10499 #: tickera.php:4516
     10499#: tickera.php:4529
    1050010500msgid "View event"
    1050110501msgstr ""
    1050210502
    10503 #: tickera.php:4517
     10503#: tickera.php:4530
    1050410504msgid "Search events"
    1050510505msgstr ""
    1050610506
    10507 #: tickera.php:4518
     10507#: tickera.php:4531
    1050810508msgid "No events found"
    1050910509msgstr ""
    1051010510
    10511 #: tickera.php:4519
     10511#: tickera.php:4532
    1051210512msgid "No events found in the trash"
    1051310513msgstr ""
    1051410514
    10515 #: tickera.php:4520
     10515#: tickera.php:4533
    1051610516msgid "View Event"
    1051710517msgstr ""
    1051810518
    10519 #: tickera.php:4550
     10519#: tickera.php:4563
    1052010520msgid "Ticket Types"
    1052110521msgstr ""
    1052210522
    10523 #: tickera.php:4553
     10523#: tickera.php:4566
    1052410524msgid "Create new ticket type"
    1052510525msgstr ""
    1052610526
    10527 #: tickera.php:4554
     10527#: tickera.php:4567
    1052810528msgid "Edit Ticket"
    1052910529msgstr ""
    1053010530
    10531 #: tickera.php:4556
     10531#: tickera.php:4569
    1053210532msgid "New ticket"
    1053310533msgstr ""
    1053410534
    10535 #: tickera.php:4557
     10535#: tickera.php:4570
    1053610536msgid "View ticket"
    1053710537msgstr ""
    1053810538
    10539 #: tickera.php:4558
     10539#: tickera.php:4571
    1054010540msgid "Search tickets"
    1054110541msgstr ""
    1054210542
    10543 #: tickera.php:4559
     10543#: tickera.php:4572
    1054410544msgid "No tickets found"
    1054510545msgstr ""
    1054610546
    10547 #: tickera.php:4560
     10547#: tickera.php:4573
    1054810548msgid "No tickets found in the trash"
    1054910549msgstr ""
    1055010550
    10551 #: tickera.php:4561
     10551#: tickera.php:4574
    1055210552msgid "View Ticket"
    1055310553msgstr ""
    1055410554
    10555 #: tickera.php:4591
     10555#: tickera.php:4604
    1055610556msgid "API keys"
    1055710557msgstr ""
    1055810558
    10559 #: tickera.php:4593
     10559#: tickera.php:4606
    1056010560msgid "Create new API keys"
    1056110561msgstr ""
    1056210562
    10563 #: tickera.php:4594
     10563#: tickera.php:4607
    1056410564msgid "Edit API keys"
    1056510565msgstr ""
    1056610566
    10567 #: tickera.php:4596
     10567#: tickera.php:4609
    1056810568msgid "New API key"
    1056910569msgstr ""
    1057010570
    10571 #: tickera.php:4597 tickera.php:4601
     10571#: tickera.php:4610 tickera.php:4614
    1057210572msgid "View API key"
    1057310573msgstr ""
    1057410574
    10575 #: tickera.php:4598
     10575#: tickera.php:4611
    1057610576msgid "Search API keys"
    1057710577msgstr ""
    1057810578
    10579 #: tickera.php:4599
     10579#: tickera.php:4612
    1058010580msgid "No API keys found"
    1058110581msgstr ""
    1058210582
    10583 #: tickera.php:4600
     10583#: tickera.php:4613
    1058410584msgid "No API keys found in the trash"
    1058510585msgstr ""
    1058610586
    10587 #: tickera.php:4615
     10587#: tickera.php:4628
    1058810588msgid "Create Attendee"
    1058910589msgstr ""
    1059010590
    10591 #: tickera.php:4616
     10591#: tickera.php:4629
    1059210592msgid "Create New Attendee"
    1059310593msgstr ""
    1059410594
    10595 #: tickera.php:4617
     10595#: tickera.php:4630
    1059610596msgid "Check-in details"
    1059710597msgstr ""
    1059810598
    10599 #: tickera.php:4619
     10599#: tickera.php:4632
    1060010600msgid "New Attendee"
    1060110601msgstr ""
    1060210602
    10603 #: tickera.php:4620 tickera.php:4624
     10603#: tickera.php:4633 tickera.php:4637
    1060410604msgid "View attendee"
    1060510605msgstr ""
    1060610606
    10607 #: tickera.php:4621
     10607#: tickera.php:4634
    1060810608msgid "Search attendees"
    1060910609msgstr ""
    1061010610
    10611 #: tickera.php:4622
     10611#: tickera.php:4635
    1061210612msgid "No attendees found"
    1061310613msgstr ""
    1061410614
    10615 #: tickera.php:4623
     10615#: tickera.php:4636
    1061610616msgid "No attendee records found in the trash"
    1061710617msgstr ""
    1061810618
    10619 #: tickera.php:4659
     10619#: tickera.php:4672
    1062010620msgid "View order"
    1062110621msgstr ""
    1062210622
    10623 #: tickera.php:4660
     10623#: tickera.php:4673
    1062410624msgid "Search orders"
    1062510625msgstr ""
    1062610626
    10627 #: tickera.php:4661
     10627#: tickera.php:4674
    1062810628msgid "No orders found"
    1062910629msgstr ""
    1063010630
    10631 #: tickera.php:4693
     10631#: tickera.php:4706
    1063210632msgid "Received"
    1063310633msgstr ""
    1063410634
    10635 #: tickera.php:4694
     10635#: tickera.php:4707
    1063610636#, php-format
    1063710637msgid "Received <span class=\"count\">(%s)</span>"
     
    1064010640msgstr[1] ""
    1064110641
    10642 #: tickera.php:4701
     10642#: tickera.php:4714
    1064310643#, php-format
    1064410644msgid "Paid <span class=\"count\">(%s)</span>"
     
    1064710647msgstr[1] ""
    1064810648
    10649 #: tickera.php:4708
     10649#: tickera.php:4721
    1065010650#, php-format
    1065110651msgid "Cancelled <span class=\"count\">(%s)</span>"
     
    1065410654msgstr[1] ""
    1065510655
    10656 #: tickera.php:4715
     10656#: tickera.php:4728
    1065710657#, php-format
    1065810658msgid "Refunded <span class=\"count\">(%s)</span>"
     
    1066110661msgstr[1] ""
    1066210662
    10663 #: tickera.php:4722
     10663#: tickera.php:4735
    1066410664msgid "Fraud"
    1066510665msgstr ""
    1066610666
    10667 #: tickera.php:4723
     10667#: tickera.php:4736
    1066810668#, php-format
    1066910669msgid "Fraud <span class=\"count\">(%s)</span>"
     
    1067210672msgstr[1] ""
    1067310673
    10674 #: tickera.php:4730 tickera.php:4731
     10674#: tickera.php:4743 tickera.php:4744
    1067510675msgid "Templates"
    1067610676msgstr ""
    1067710677
    10678 #: tickera.php:4733
     10678#: tickera.php:4746
    1067910679msgid "Create new template"
    1068010680msgstr ""
    1068110681
    10682 #: tickera.php:4734
     10682#: tickera.php:4747
    1068310683msgid "Edit templates"
    1068410684msgstr ""
    1068510685
    10686 #: tickera.php:4736
     10686#: tickera.php:4749
    1068710687msgid "New template"
    1068810688msgstr ""
    1068910689
    10690 #: tickera.php:4737
     10690#: tickera.php:4750
    1069110691msgid "View template"
    1069210692msgstr ""
    1069310693
    10694 #: tickera.php:4738
     10694#: tickera.php:4751
    1069510695msgid "Search templates"
    1069610696msgstr ""
    1069710697
    10698 #: tickera.php:4739
     10698#: tickera.php:4752
    1069910699msgid "No templates found"
    1070010700msgstr ""
    1070110701
    10702 #: tickera.php:4740
     10702#: tickera.php:4753
    1070310703msgid "No templates found in the trash"
    1070410704msgstr ""
    1070510705
    10706 #: tickera.php:4741
     10706#: tickera.php:4754
    1070710707msgid "View Template"
    1070810708msgstr ""
    1070910709
    10710 #: tickera.php:4926
     10710#: tickera.php:4939
    1071110711msgid "Please confirm that you want to delete it permanently?"
    1071210712msgstr ""
    1071310713
    10714 #: tickera.php:4927
     10714#: tickera.php:4940
    1071510715msgid "Order status changed successfully."
    1071610716msgstr ""
    1071710717
    10718 #: tickera.php:4928
     10718#: tickera.php:4941
    1071910719msgid "Order confirmation e-mail has been sent successfully."
    1072010720msgstr ""
    1072110721
    10722 #: tickera.php:4929
     10722#: tickera.php:4942
    1072310723msgid "Sending..."
    1072410724msgstr ""
    1072510725
    10726 #: tickera.php:4930
     10726#: tickera.php:4943
    1072710727msgid "Sent"
    1072810728msgstr ""
    1072910729
    10730 #: tickera.php:4931
     10730#: tickera.php:4944
    1073110731msgid "Failed"
    1073210732msgstr ""
    1073310733
    10734 #: tickera.php:4932
     10734#: tickera.php:4945
    1073510735#, php-format
    1073610736msgid ""
     
    1073910739msgstr ""
    1074010740
    10741 #: tickera.php:4933
     10741#: tickera.php:4946
    1074210742#, php-format
    1074310743msgid ""
     
    1074610746msgstr ""
    1074710747
    10748 #: tickera.php:4934
     10748#: tickera.php:4947
    1074910749msgid ""
    1075010750"Are you sure you want to delete all Ticket Types? You have tickets sold for "
     
    1075210752msgstr ""
    1075310753
    10754 #: tickera.php:4937
     10754#: tickera.php:4950
    1075510755msgid "Please enter at least 3 characters."
    1075610756msgstr ""
    1075710757
    10758 #: tickera.php:4953
     10758#: tickera.php:4966
    1075910759msgid "tickets have been deleted."
    1076010760msgstr ""
    1076110761
    10762 #: tickera.php:4955
     10762#: tickera.php:4968
    1076310763msgid "Please confirm if you want to proceed."
    1076410764msgstr ""
    1076510765
    10766 #: tickera.php:4991
     10766#: tickera.php:5004
    1076710767msgid "This field is required."
    1076810768msgstr ""
    1076910769
    10770 #: tickera.php:4992
     10770#: tickera.php:5005
    1077110771msgid "Please fix this field."
    1077210772msgstr ""
    1077310773
    10774 #: tickera.php:4993
     10774#: tickera.php:5006
    1077510775msgid "Please enter a valid email address."
    1077610776msgstr ""
    1077710777
    10778 #: tickera.php:4994
     10778#: tickera.php:5007
    1077910779msgid "Please enter a valid URL."
    1078010780msgstr ""
    1078110781
    10782 #: tickera.php:4995
     10782#: tickera.php:5008
    1078310783msgid "Please enter a valid date."
    1078410784msgstr ""
    1078510785
    10786 #: tickera.php:4996
     10786#: tickera.php:5009
    1078710787msgid "Please enter a valid date (ISO)."
    1078810788msgstr ""
    1078910789
    10790 #: tickera.php:4997
     10790#: tickera.php:5010
    1079110791msgid "Please enter a valid number."
    1079210792msgstr ""
    1079310793
    10794 #: tickera.php:4998
     10794#: tickera.php:5011
    1079510795msgid "Please enter only digits."
    1079610796msgstr ""
    1079710797
    10798 #: tickera.php:4999
     10798#: tickera.php:5012
    1079910799msgid "Please enter the same value again."
    1080010800msgstr ""
    1080110801
    10802 #: tickera.php:5000
     10802#: tickera.php:5013
    1080310803msgid "Please enter no more than {0} characters."
    1080410804msgstr ""
    1080510805
    10806 #: tickera.php:5001
     10806#: tickera.php:5014
    1080710807msgid "Please enter at least {0} characters."
    1080810808msgstr ""
    1080910809
    10810 #: tickera.php:5002
     10810#: tickera.php:5015
    1081110811msgid "Please enter a value between {0} and {1} characters long."
    1081210812msgstr ""
    1081310813
    10814 #: tickera.php:5003
     10814#: tickera.php:5016
    1081510815msgid "Please enter a value between {0} and {1}."
    1081610816msgstr ""
    1081710817
    10818 #: tickera.php:5004
     10818#: tickera.php:5017
    1081910819msgid "Please enter a value less than or equal to {0}."
    1082010820msgstr ""
    1082110821
    10822 #: tickera.php:5005
     10822#: tickera.php:5018
    1082310823msgid "Please enter a value greater than or equal to {0}."
    1082410824msgstr ""
    1082510825
    10826 #: tickera.php:5006
     10826#: tickera.php:5019
    1082710827msgid "Please enter a multiple of {0}."
    1082810828msgstr ""
    1082910829
    10830 #: tickera.php:5016
     10830#: tickera.php:5029
    1083110831msgid ""
    1083210832"Only customers aged 16 or older are permitted for purchase on this website"
    1083310833msgstr ""
    1083410834
    10835 #: tickera.php:5025
     10835#: tickera.php:5038
    1083610836msgid "In order to continue you need to agree to provide your details."
    1083710837msgstr ""
    1083810838
    10839 #: tickera.php:5032
     10839#: tickera.php:5045
    1084010840msgid "Are you sure you want to remove all tickets from your cart?"
    1084110841msgstr ""
    1084210842
    10843 #: tickera.php:5033
     10843#: tickera.php:5046
    1084410844msgid "Ticket Added!"
    1084510845msgstr ""
    1084610846
    10847 #: tickera.php:5035
     10847#: tickera.php:5048
    1084810848msgid "Adding ticket to cart..."
    1084910849msgstr ""
    1085010850
    10851 #: tickera.php:5036
     10851#: tickera.php:5049
    1085210852msgid "In Your Cart"
    1085310853msgstr ""
    1085410854
    10855 #: tickera.php:5038
     10855#: tickera.php:5051
    1085610856msgid "Please update your cart before to proceed."
    1085710857msgstr ""
    1085810858
    10859 #: tickera.php:5039
     10859#: tickera.php:5052
    1086010860msgid "Please confirm to remove all of the items from your cart."
    1086110861msgstr ""
    1086210862
    10863 #: tickera.php:5044
     10863#: tickera.php:5057
    1086410864msgid "This field is required *"
    1086510865msgstr ""
    1086610866
    10867 #: tickera.php:5045
     10867#: tickera.php:5058
    1086810868msgid "Please use alphanumeric characters only."
    1086910869msgstr ""
    1087010870
    10871 #: tickera.php:5063
     10871#: tickera.php:5076
    1087210872msgid ""
    1087310873"You have both FREE and PREMIUM version of Tickera plugin activated. In order "
  • tickera-event-ticketing-system/trunk/readme.txt

    r3101656 r3103413  
    11=== Tickera - WordPress Event Ticketing === 
    22Contributors: tickera
    3 Tags: event ticketing, e-tickets, event, wordpress events, booking, e-commerce,WooCommerce
     3Tags: event ticketing, e-tickets, event, wordpress events, , e-commerce,WooCommerce
    44Requires at least: 4.1
    55Tested up to: 6.5.3
     
    148148
    149149  == 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.
    150153
    151154= 3.5.2.8 12/06/2024 =
  • tickera-event-ticketing-system/trunk/tickera.php

    r3101656 r3103413  
    77 * Author: Tickera.com
    88 * Author URI: https://tickera.com/
    9  * Version: 3.5.2.8
     9 * Version: 3.5.2.9
    1010 * Text Domain: tc
    1111 * Domain Path: /languages/
     
    1717if ( !class_exists( 'TC' ) ) {
    1818    class TC {
    19         var $version = '3.5.2.8';
     19        var $version = '3.5.2.9';
    2020
    2121        var $title = 'Tickera';
     
    236236            add_action( 'admin_init', array(&$this, 'add_required_capabilities') );
    237237            add_action( 'tc_delete_plugins_data', array($this, 'tc_delete_plugins_data') );
    238             add_action( 'wp_ajax_tc_dl_delete_tickets', array($this, 'tc_dl_delete_tickets') );
     238            add_action( 'wp_ajax_tc_delete_tickets', array($this, 'tc_delete_tickets') );
    239239            add_action( 'admin_notices', array($this, 'bridge_admin_notice') );
    240240            add_action( 'wp_ajax_tc_remove_notification', array(&$this, 'tc_remove_notification') );
     
    757757         * Process Bulk Deletion of Tickets
    758758         * Tickera > Settings > Delete Info > Bulk Delete Tickets
     759         * @since 3.5.2.3
    759760         *
    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                            ],
    779785                        ],
    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                                }
    799810                            } else {
    800811                                if ( get_post( $ticket_instance_id ) ) {
     
    803814                                }
    804815                            }
    805                         } else {
    806                             if ( get_post( $ticket_instance_id ) ) {
    807                                 $prev_deleted++;
    808                                 wp_delete_post( $ticket_instance_id );
    809                             }
    810816                        }
    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                    }
    816822                }
    817823            }
     
    11881194             * Version_compare for backward compatibility
    11891195             * Considering those download url links sent via email prior to updating to 3.5.2.5
     1196             * @since 3.5.2.6
    11901197             *
    1191              * @since 3.5.2.6
     1198             * Adjusted backward compatibility version to 3.5.3.0
     1199             * @since 3.5.2.9
    11921200             */
    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', '<' )) ) {
    11941202                $order_id = wp_get_post_parent_id( $ticket );
    11951203                if ( $order_id ) {
Note: See TracChangeset for help on using the changeset viewer.