mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP.
See #36913. git-svn-id: https://develop.svn.wordpress.org/trunk@37488 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -32,7 +32,7 @@ if ( empty($option_page) ) {
|
||||
} else {
|
||||
|
||||
/**
|
||||
* Filter the capability required when using the Settings API.
|
||||
* Filters 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.
|
||||
@@ -124,7 +124,7 @@ if ( !is_multisite() ) {
|
||||
$whitelist_options['general'][] = 'new_admin_email';
|
||||
|
||||
/**
|
||||
* Filter whether the post-by-email functionality is enabled.
|
||||
* Filters whether the post-by-email functionality is enabled.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
@@ -135,7 +135,7 @@ if ( !is_multisite() ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter the options white list.
|
||||
* Filters the options white list.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user