mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714.
git-svn-id: https://develop.svn.wordpress.org/trunk@24207 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -393,8 +393,8 @@ function comment_date( $d = '', $comment_ID = 0 ) {
|
||||
/**
|
||||
* Retrieve the excerpt of the current comment.
|
||||
*
|
||||
* Will cut each word and only output the first 20 words with '...' at the end.
|
||||
* If the word count is less than 20, then no truncating is done and no '...'
|
||||
* Will cut each word and only output the first 20 words with '…' at the end.
|
||||
* If the word count is less than 20, then no truncating is done and no '…'
|
||||
* will appear.
|
||||
*
|
||||
* @since 1.5.0
|
||||
@@ -419,7 +419,7 @@ function get_comment_excerpt( $comment_ID = 0 ) {
|
||||
for ($i=0; $i<$k; $i++) {
|
||||
$excerpt .= $blah[$i] . ' ';
|
||||
}
|
||||
$excerpt .= ($use_dotdotdot) ? '...' : '';
|
||||
$excerpt .= ($use_dotdotdot) ? '…' : '';
|
||||
return apply_filters('get_comment_excerpt', $excerpt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user