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
This commit is contained in:
parent
31a063b866
commit
07b37cdb6b
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user