Pinking shears

git-svn-id: https://develop.svn.wordpress.org/trunk@25880 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2013-10-23 14:37:54 +00:00
parent b10ef05fb1
commit 30f822b8ee
31 changed files with 124 additions and 124 deletions

View File

@@ -30,15 +30,15 @@ if ( empty($option_page) ) // This is for back compat and will eventually be rem
$option_page = 'options';
else
/**
* Filter the capability required when using the Settings API.
*
* By default, the options groups for all registered settings require the manage_options capability.
* This filter is required to change the capability required for a certain options page.
*
/**
* Filter the capability required when using the Settings API.
*
* By default, the options groups for all registered settings require the manage_options capability.
* This filter is required to change the capability required for a certain options page.
*
* @since 3.2.0
*
* @param string $capability The capability used for the page, which is manage_options by default.
*
* @param string $capability The capability used for the page, which is manage_options by default.
*/
$capability = apply_filters( "option_page_capability_{$option_page}", $capability );
@@ -106,7 +106,7 @@ if ( !is_multisite() ) {
} else {
$whitelist_options['general'][] = 'new_admin_email';
$whitelist_options['general'][] = 'WPLANG';
/**
* Toggle post-by-email functionality.
*
@@ -119,8 +119,8 @@ if ( !is_multisite() ) {
}
/**
* Filter the options white list.
*
* Filter the options white list.
*
* @since 2.7.0
*
* @param array White list options.