Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP.
See #36913. Built from https://develop.svn.wordpress.org/trunk@37518 git-svn-id: http://core.svn.wordpress.org/trunk@37486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -115,7 +115,7 @@ class WP_oEmbed {
|
||||
self::$early_providers = array();
|
||||
|
||||
/**
|
||||
* Filter the list of whitelisted oEmbed providers.
|
||||
* Filters the list of whitelisted oEmbed providers.
|
||||
*
|
||||
* Since WordPress 4.4, oEmbed discovery is enabled for all users and allows embedding of sanitized
|
||||
* iframes. The providers in this list are whitelisted, meaning they are trusted and allowed to
|
||||
@@ -321,7 +321,7 @@ class WP_oEmbed {
|
||||
return false;
|
||||
|
||||
/**
|
||||
* Filter the HTML returned by the oEmbed provider.
|
||||
* Filters the HTML returned by the oEmbed provider.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
@@ -348,7 +348,7 @@ class WP_oEmbed {
|
||||
);
|
||||
|
||||
/**
|
||||
* Filter oEmbed remote get arguments.
|
||||
* Filters oEmbed remote get arguments.
|
||||
*
|
||||
* @since 4.0.0
|
||||
*
|
||||
@@ -364,7 +364,7 @@ class WP_oEmbed {
|
||||
if ( $html = wp_remote_retrieve_body( $request ) ) {
|
||||
|
||||
/**
|
||||
* Filter the link types that contain oEmbed provider URLs.
|
||||
* Filters the link types that contain oEmbed provider URLs.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
@@ -435,7 +435,7 @@ class WP_oEmbed {
|
||||
$provider = add_query_arg( 'url', urlencode($url), $provider );
|
||||
|
||||
/**
|
||||
* Filter the oEmbed URL to be fetched.
|
||||
* Filters the oEmbed URL to be fetched.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
@@ -598,7 +598,7 @@ class WP_oEmbed {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter the returned oEmbed HTML.
|
||||
* Filters the returned oEmbed HTML.
|
||||
*
|
||||
* Use this filter to add support for custom data types, or to filter the result.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user