Docs: Use third-person singular verbs for function descriptions in WP_Embed class, per the documentation standards.

See #54729.

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


git-svn-id: http://core.svn.wordpress.org/trunk@52635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-04-01 08:32:03 +00:00
parent 14e965a8d6
commit f9c1c14c76
2 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ class WP_Embed {
} }
/** /**
* Process the [embed] shortcode. * Processes the [embed] shortcode.
* *
* Since the [embed] shortcode needs to be run earlier than other shortcodes, * Since the [embed] shortcode needs to be run earlier than other shortcodes,
* this function removes all existing shortcodes, registers the [embed] shortcode, * this function removes all existing shortcodes, registers the [embed] shortcode,
@ -55,8 +55,8 @@ class WP_Embed {
* *
* @global array $shortcode_tags * @global array $shortcode_tags
* *
* @param string $content Content to parse * @param string $content Content to parse.
* @return string Content with shortcode parsed * @return string Content with shortcode parsed.
*/ */
public function run_shortcode( $content ) { public function run_shortcode( $content ) {
global $shortcode_tags; global $shortcode_tags;
@ -376,7 +376,7 @@ class WP_Embed {
} }
/** /**
* Delete all oEmbed caches. Unused by core as of 4.0.0. * Deletes all oEmbed caches. Unused by core as of 4.0.0.
* *
* @param int $post_ID Post ID to delete the caches for. * @param int $post_ID Post ID to delete the caches for.
*/ */
@ -491,7 +491,7 @@ class WP_Embed {
} }
/** /**
* Find the oEmbed cache post ID for a given cache key. * Finds the oEmbed cache post ID for a given cache key.
* *
* @since 4.9.0 * @since 4.9.0
* *

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.0-alpha-53045'; $wp_version = '6.0-alpha-53046';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.