From 30e0d4173fae7434282f429b8718199093544d92 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 1 Oct 2009 17:54:24 +0000 Subject: [PATCH] Improve inline documentation for register_setting(). Props filosofo. fixes #10368 git-svn-id: https://develop.svn.wordpress.org/trunk@11991 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/plugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index ae75f2dbde..7e99a07127 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -990,7 +990,8 @@ function user_can_access_admin_page() { * * @since 2.7.0 * - * @param string $option_group A settings group name. Can be anything. + * @param string $option_group A settings group name. Should correspond to a whitelisted option key name. + * Default whitelisted option key names include "general," "discussion," and "reading," among others. * @param string $option_name The name of an option to sanitize and save. * @param unknown_type $sanitize_callback A callback function that sanitizes the option's value. * @return unknown