WordPress.org

Make WordPress Core

Changeset 11991


Ignore:
Timestamp:
10/01/2009 05:54:24 PM (9 years ago)
Author:
ryan
Message:

Improve inline documentation for register_setting(). Props filosofo. fixes #10368

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin.php

    r11971 r11991  
    991991 * @since 2.7.0
    992992 *
    993  * @param string $option_group A settings group name.  Can be anything.
     993 * @param string $option_group A settings group name.  Should correspond to a whitelisted option key name.
     994 *  Default whitelisted option key names include "general," "discussion," and "reading," among others.
    994995 * @param string $option_name The name of an option to sanitize and save.
    995996 * @param unknown_type $sanitize_callback A callback function that sanitizes the option's value.
Note: See TracChangeset for help on using the changeset viewer.