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:
@@ -154,6 +154,7 @@ class Checkout_Form_List_Table extends Base_List_Table {
|
||||
|
||||
$new_checkout_form = $checkout_form->duplicate();
|
||||
|
||||
// translators: 1st placeholder is the original form name.
|
||||
$new_name = sprintf(__('Copy of %s', 'wp-multisite-waas'), $checkout_form->get_name());
|
||||
|
||||
$new_checkout_form->set_name($new_name);
|
||||
@@ -178,7 +179,7 @@ class Checkout_Form_List_Table extends Base_List_Table {
|
||||
]
|
||||
);
|
||||
|
||||
wp_redirect($redirect_url);
|
||||
wp_safe_redirect($redirect_url);
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user