[wp-trac] [WordPress Trac] #10850: Make register_setting available on the front-end
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 25 09:47:09 UTC 2009
#10850: Make register_setting available on the front-end
-----------------------------+----------------------------------------------
Reporter: neoxx | Owner: ryan
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Security | Version: 2.8.4
Severity: normal | Keywords: register_setting, query_vars, $_POST, $_GET
-----------------------------+----------------------------------------------
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
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10850>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list