WordPress.org

Make WordPress Core

Ticket #10368: misleading_register_setting_doc.10368.diff

File misleading_register_setting_doc.10368.diff, 728 bytes (added by filosofo, 6 years ago)
  • wp-admin/includes/plugin.php

     
    10031003 * 
    10041004 * @since 2.7.0 
    10051005 * 
    1006  * @param string $option_group A settings group name.  Can be anything. 
     1006 * @param string $option_group A settings group name.  Should correspond to a whitelisted option key name. 
     1007 *      Default whitelisted option key names include "general," "discussion," and "reading," among others.  
    10071008 * @param string $option_name The name of an option to sanitize and save. 
    10081009 * @param unknown_type $sanitize_callback A callback function that sanitizes the option's value. 
    10091010 * @return unknown