Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP.
See #36913. Built from https://develop.svn.wordpress.org/trunk@37492 git-svn-id: http://core.svn.wordpress.org/trunk@37460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1031,7 +1031,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
$page_templates += $this->parent()->get_page_templates( $post );
|
||||
|
||||
/**
|
||||
* Filter list of page templates for a theme.
|
||||
* Filters list of page templates for a theme.
|
||||
*
|
||||
* @since 3.9.0
|
||||
* @since 4.4.0 Converted to allow complete control over the `$page_templates` array.
|
||||
@@ -1192,7 +1192,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
*/
|
||||
public static function get_allowed( $blog_id = null ) {
|
||||
/**
|
||||
* Filter the array of themes allowed on the network.
|
||||
* Filters the array of themes allowed on the network.
|
||||
*
|
||||
* Site is provided as context so that a list of network allowed themes can
|
||||
* be filtered further.
|
||||
@@ -1225,7 +1225,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter the array of themes allowed on the network.
|
||||
* Filters the array of themes allowed on the network.
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
@@ -1257,7 +1257,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
|
||||
if ( isset( $allowed_themes[ $blog_id ] ) ) {
|
||||
/**
|
||||
* Filter the array of themes allowed on the site.
|
||||
* Filters the array of themes allowed on the site.
|
||||
*
|
||||
* @since 4.5.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user