Add visitor-IP header setting, checkout-button toggles, and configurable timer maximum
- Core\ClientIp: trusted-header resolution for rate limiting behind Cloudflare/proxies - Settings: show/hide Pay Later and Debit/Credit Card (Pay Later off by default) - add_time rule: optional max_timer_seconds (uncapped by default), editable in rule form Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4f92cfdade
commit
e4d9042aba
14 files changed
+278
-16
No files matched your search
@@ -28,7 +28,7 @@ final class Templates {
|
||||
$rules = array();
|
||||
if ( 'subathon' === $key ) {
|
||||
$rules[] = array( 'type' => 'add_time', 'config' => array(
|
||||
'seconds_per_unit' => 60, 'unit_minor' => $one, 'cap_seconds_per_donation' => null, 'max_total_seconds' => null, 'basis' => 'base',
|
||||
'seconds_per_unit' => 60, 'unit_minor' => $one, 'cap_seconds_per_donation' => null, 'max_total_seconds' => null, 'max_timer_seconds' => null, 'basis' => 'base',
|
||||
) );
|
||||
} elseif ( 'counter' === $key ) {
|
||||
$rules[] = array( 'type' => 'counter', 'config' => array(
|
||||
|
||||
Reference in new issue
Block a user