Docs: Adjust third-person singular verbs in DocBlock summaries for oEmbed functions introduced in [34903].

See #34227.

Built from https://develop.svn.wordpress.org/trunk@34970


git-svn-id: http://core.svn.wordpress.org/trunk@34935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-10-08 22:50:25 +00:00
parent fa3b23dc0d
commit 8c35f77cdb
2 changed files with 15 additions and 14 deletions

View File

@ -365,7 +365,7 @@ function wp_oembed_add_discovery_links() {
}
/**
* Add the necessary JavaScript to communicate with the embedded iframes.
* Adds the necessary JavaScript to communicate with the embedded iframes.
*
* @since 4.4.0
*/
@ -375,7 +375,7 @@ function wp_oembed_add_host_js() {
/**
* Get the URL to embed a specific post in an iframe.
* Retrieves the URL to embed a specific post in an iframe.
*
* @since 4.4.0
*
@ -407,10 +407,9 @@ function get_post_embed_url( $post = null ) {
}
/**
* Get the oEmbed endpoint URL for a given permalink.
* Retrieves the oEmbed endpoint URL for a given permalink.
*
* Pass an empty string as the first argument
* to get the endpoint base URL.
* Pass an empty string as the first argument to get the endpoint base URL.
*
* @since 4.4.0
*
@ -445,7 +444,7 @@ function get_oembed_endpoint_url( $permalink = '', $format = 'json' ) {
}
/**
* Get the embed code for a specific post.
* Retrieves the embed code for a specific post.
*
* @since 4.4.0
*
@ -492,7 +491,7 @@ JS;
);
/**
* Filters the oEmbed HTML output.
* Filter the oEmbed HTML output.
*
* @since 4.4.0
*
@ -505,7 +504,7 @@ JS;
}
/**
* Get the oEmbed response data for a given post.
* Retrieves the oEmbed response data for a given post.
*
* @since 4.4.0
*
@ -628,7 +627,7 @@ function get_oembed_response_data_rich( $data, $post, $width, $height ) {
*
* @since 4.4.0
*
* @param string $format The oEmbed response format. Accepts 'json', 'xml'.
* @param string $format The oEmbed response format. Accepts 'json' or 'xml'.
* @return string The format, either 'xml' or 'json'. Default 'json'.
*/
function wp_oembed_ensure_format( $format ) {
@ -675,7 +674,7 @@ function _oembed_create_xml( $data, $node = null ) {
}
/**
* Filters the returned oEmbed HTML.
* Filters the given oEmbed HTML.
*
* If the $url isn't on the trusted providers list,
* we need to filter the HTML heavily for security.
@ -762,7 +761,9 @@ function wp_oembed_excerpt_more( $more_string ) {
}
/**
* Display the post excerpt for the embed template.
* Displays the post excerpt for the embed template.
*
* Intended to be used in 'The Loop'.
*
* @since 4.4.0
*/
@ -796,7 +797,7 @@ function wp_oembed_excerpt_attachment( $content ) {
}
/**
* Print the CSS in the embed iframe header.
* Prints the CSS in the embed iframe header.
*
* @since 4.4.0
*/
@ -827,7 +828,7 @@ function print_oembed_embed_styles() {
}
/**
* Print the CSS in the embed iframe header.
* Prints the CSS in the embed iframe header.
*
* @since 4.4.0
*/

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34969';
$wp_version = '4.4-alpha-34970';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.