Opened 4 years ago
Make register_setting available on the front-end
|Reported by:||neoxx||Owned by:||ryan|
|Severity:||normal||Keywords:||register_setting, query_vars, $_POST, $_GET|
since 2.7.0 we have the function register_setting($option_group, $option_name, $sanitize_callback = '') in /wp-admin/plugin.php to securely handle handed over $_POST variables in the admin menu.
afaik, besides of the usage of query_vars (which only work for $_GET variables) we have no counterpart to register_setting on the front-end. imho, we could increase the security and usability of forms and their variables if we would provide a similar functionality in wp-includes.
what do you think?