Prep Plugin for release on WordPress.org
Escape everything that should be escaped. Add nonce checks where needed. Sanitize all inputs. Apply Code style changes across the codebase. Correct many deprecation notices. Optimize load order of many filters.
This commit is contained in:
1 parent
f05ab77418
commit
a815fdf179
290 files changed
+2999
-3269
No files matched your search
@@ -200,7 +200,7 @@ class Signup_Field_Payment extends Base_Signup_Field {
|
||||
],
|
||||
'wrapper_html_attr' => [
|
||||
'v-cloak' => 1,
|
||||
'v-show' => sprintf('%s.includes(gateway) && order.should_collect_payment && order.has_recurring', json_encode($auto_renewable_gateways)),
|
||||
'v-show' => sprintf('%s.includes(gateway) && order.should_collect_payment && order.has_recurring', wp_json_encode($auto_renewable_gateways)),
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user