Changeset 30199
- Timestamp:
- 11/03/2014 05:58:14 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r29977 r30199 1745 1745 * Default whitelisted option key names include "general," "discussion," and "reading," among others. 1746 1746 * @param string $option_name The name of an option to sanitize and save. 1747 * @param unknown_type $sanitize_callback A callback function that sanitizes the option's value. 1748 * @return unknown 1747 * @param callable $sanitize_callback A callback function that sanitizes the option's value. 1749 1748 */ 1750 1749 function register_setting( $option_group, $option_name, $sanitize_callback = '' ) { … … 1771 1770 * @since 2.7.0 1772 1771 * 1773 * @param unknown_type $option_group 1774 * @param unknown_type $option_name 1775 * @param unknown_type $sanitize_callback 1776 * @return unknown 1772 * @param string $option_group 1773 * @param string $option_name 1774 * @param callable $sanitize_callback 1777 1775 */ 1778 1776 function unregister_setting( $option_group, $option_name, $sanitize_callback = '' ) { … … 1801 1799 * @since 2.7.0 1802 1800 * 1803 * @param unknown_type$options1804 * @return unknown1801 * @param array $options 1802 * @return array 1805 1803 */ 1806 1804 function option_update_filter( $options ) { … … 1819 1817 * @since 2.7.0 1820 1818 * 1821 * @param unknown_type$new_options1822 * @param unknown_type$options1823 * @return unknown1819 * @param array $new_options 1820 * @param string|array $options 1821 * @return array 1824 1822 */ 1825 1823 function add_option_whitelist( $new_options, $options = '' ) { … … 1850 1848 * @since 2.7.0 1851 1849 * 1852 * @param unknown_type$del_options1853 * @param unknown_type$options1854 * @return unknown1850 * @param array $del_options 1851 * @param string|array $options 1852 * @return array 1855 1853 */ 1856 1854 function remove_option_whitelist( $del_options, $options = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.