diff -r be944660c56a -r 3d72ae0968f4 wp/wp-includes/class-wp-embed.php --- a/wp/wp-includes/class-wp-embed.php Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/class-wp-embed.php Tue Sep 27 16:37:53 2022 +0200 @@ -47,7 +47,7 @@ } /** - * 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 @@ * * @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; @@ -88,9 +88,9 @@ } ?> linkifunknown; $this->linkifunknown = false; - $return = $this->shortcode( array(), $match[2] ); + $return = $this->shortcode( array(), $matches[2] ); $this->linkifunknown = $oldval; - return $match[1] . $return . $match[3]; + return $matches[1] . $return . $matches[3]; } /** @@ -491,7 +491,7 @@ } /** - * 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 *