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.


git-svn-id: https://develop.svn.wordpress.org/trunk@37492 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2016-05-22 18:14:19 +00:00
parent 5a96c219bf
commit c49afe285c
21 changed files with 96 additions and 96 deletions

View File

@@ -165,7 +165,7 @@ class WP_Embed {
if ( preg_match( $handler['regex'], $url, $matches ) && is_callable( $handler['callback'] ) ) {
if ( false !== $return = call_user_func( $handler['callback'], $matches, $attr, $url, $rawattr ) )
/**
* Filter the returned embed handler.
* Filters the returned embed handler.
*
* @since 2.9.0
*
@@ -193,7 +193,7 @@ class WP_Embed {
$cachekey_time = '_oembed_time_' . $key_suffix;
/**
* Filter the oEmbed TTL value (time to live).
* Filters the oEmbed TTL value (time to live).
*
* @since 4.0.0
*
@@ -220,7 +220,7 @@ class WP_Embed {
if ( ! empty( $cache ) ) {
/**
* Filter the cached oEmbed HTML.
* Filters the cached oEmbed HTML.
*
* @since 2.9.0
*
@@ -236,7 +236,7 @@ class WP_Embed {
}
/**
* Filter whether to inspect the given URL for discoverable link tags.
* Filters whether to inspect the given URL for discoverable link tags.
*
* @since 2.9.0
* @since 4.4.0 The default value changed to true.
@@ -295,7 +295,7 @@ class WP_Embed {
$post_types = get_post_types( array( 'show_ui' => true ) );
/**
* Filter the array of post types to cache oEmbed results for.
* Filters the array of post types to cache oEmbed results for.
*
* @since 2.9.0
*
@@ -365,7 +365,7 @@ class WP_Embed {
$output = ( $this->linkifunknown ) ? '<a href="' . esc_url($url) . '">' . esc_html($url) . '</a>' : $url;
/**
* Filter the returned, maybe-linked embed URL.
* Filters the returned, maybe-linked embed URL.
*
* @since 2.9.0
*