From f9c1c14c765be61809fcbad5d5df2de344b215ff Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 1 Apr 2022 08:32:03 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-embed.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/class-wp-embed.php b/wp-includes/class-wp-embed.php index d93ea7c01e..61f1cc3517 100644 --- a/wp-includes/class-wp-embed.php +++ b/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 * diff --git a/wp-includes/version.php b/wp-includes/version.php index e05c4e13b6..9361f1725c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.