From 1f7977d4c20ed1f9debc342285c48b1612adc77c Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 1 Apr 2022 08:30:07 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for function descriptions in `WP_Embed` class, per the documentation standards. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@53046 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-embed.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/class-wp-embed.php b/src/wp-includes/class-wp-embed.php index d93ea7c01e..61f1cc3517 100644 --- a/src/wp-includes/class-wp-embed.php +++ b/src/wp-includes/class-wp-embed.php @@ -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, * this function removes all existing shortcodes, registers the [embed] shortcode, @@ -55,8 +55,8 @@ class WP_Embed { * * @global array $shortcode_tags * - * @param string $content Content to parse - * @return string Content with shortcode parsed + * @param string $content Content to parse. + * @return string Content with shortcode parsed. */ public function run_shortcode( $content ) { 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. */ @@ -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 *