|Reported by:||nacin||Owned by:|
Introduce register_settings() as a wrapper for register_setting().
Currently, you need to loop on register_setting(), or some try to use the add_option_whitelist function or filters (which was originally introduced partially as a private helper and partially for bulk adds -- http://mu.wordpress.org/forums/topic/7415, #11730). It's ugly. We can make it better.
Untested patch. It takes either array( option, option, option ) or array( option => callback, option => callback ).