Changeset 25880 for trunk/src/wp-admin/options.php
- Timestamp:
- 10/23/2013 02:37:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options.php
r25616 r25880 31 31 else 32 32 33 /** 34 * Filter the capability required when using the Settings API. 35 * 36 * By default, the options groups for all registered settings require the manage_options capability. 37 * This filter is required to change the capability required for a certain options page. 38 * 33 /** 34 * Filter the capability required when using the Settings API. 35 * 36 * By default, the options groups for all registered settings require the manage_options capability. 37 * This filter is required to change the capability required for a certain options page. 38 * 39 39 * @since 3.2.0 40 * 41 * @param string $capability The capability used for the page, which is manage_options by default. 40 * 41 * @param string $capability The capability used for the page, which is manage_options by default. 42 42 */ 43 43 $capability = apply_filters( "option_page_capability_{$option_page}", $capability ); … … 107 107 $whitelist_options['general'][] = 'new_admin_email'; 108 108 $whitelist_options['general'][] = 'WPLANG'; 109 109 110 110 /** 111 111 * Toggle post-by-email functionality. … … 120 120 121 121 /** 122 * Filter the options white list. 123 * 122 * Filter the options white list. 123 * 124 124 * @since 2.7.0 125 125 *
Note: See TracChangeset
for help on using the changeset viewer.