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:
@ -45,9 +45,9 @@ foreach ($admin_actions as $action => $handlers) {
|
||||
foreach ($handlers as $handler => $priority) {
|
||||
if ( ! has_action($action, $handler) && function_exists($handler)) {
|
||||
add_action($action, $handler, $priority);
|
||||
} // end foreach;
|
||||
} // end foreach;
|
||||
} // end foreach;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
do_action('wu_checkout_scripts');
|
||||
|
||||
|
Reference in New Issue
Block a user