Opened 4 years ago

#10850 new feature request

Make register_setting available on the front-end

Reported by: neoxx Owned by: ryan
Priority: normal Milestone: Future Release
Component: Security Version: 2.8.4
Severity: normal Keywords: register_setting, query_vars, $_POST, $_GET
Cc:

Description

hi,

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?

greetz,
berny

Change History (0)

Note: See TracTickets for help on using tickets.