Make WordPress Core


Ignore:
Timestamp:
05/08/2013 09:27:31 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r24126 r24207  
    394394 * Retrieve the excerpt of the current comment.
    395395 *
    396  * Will cut each word and only output the first 20 words with '...' at the end.
    397  * If the word count is less than 20, then no truncating is done and no '...'
     396 * Will cut each word and only output the first 20 words with '…' at the end.
     397 * If the word count is less than 20, then no truncating is done and no '…'
    398398 * will appear.
    399399 *
     
    420420        $excerpt .= $blah[$i] . ' ';
    421421    }
    422     $excerpt .= ($use_dotdotdot) ? '...' : '';
     422    $excerpt .= ($use_dotdotdot) ? '…' : '';
    423423    return apply_filters('get_comment_excerpt', $excerpt);
    424424}
Note: See TracChangeset for help on using the changeset viewer.