From 07b37cdb6bbc77fefd151edc9cc273ef16719d4f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 8 Oct 2020 09:25:01 +0000 Subject: [PATCH] Twenty Ten: Docs: Fix typo in `twentyten_custom_excerpt_more()` DocBlock. Update `@return` tag for `twentyten_auto_excerpt_more()` for consistency with Twenty Eleven. See #51477, #50768. git-svn-id: https://develop.svn.wordpress.org/trunk@49106 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyten/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyten/functions.php b/src/wp-content/themes/twentyten/functions.php index eaecf2538e..ec790e2d41 100644 --- a/src/wp-content/themes/twentyten/functions.php +++ b/src/wp-content/themes/twentyten/functions.php @@ -341,7 +341,7 @@ endif; * @since Twenty Ten 1.0 * * @param string $more The Read More text. - * @return string An ellipsis. + * @return string The filtered Read More text. */ function twentyten_auto_excerpt_more( $more ) { if ( ! is_admin() ) { @@ -359,7 +359,7 @@ add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' ); * * @since Twenty Ten 1.0 * - * @param string $output The "Coninue Reading" link. + * @param string $output The "Continue Reading" link. * @return string Excerpt with a pretty "Continue Reading" link. */ function twentyten_custom_excerpt_more( $output ) {