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

git-svn-id: http://core.svn.wordpress.org/trunk@24207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2013-05-08 21:27:31 +00:00
parent 5ee1a961a4
commit 57c10eadbb
16 changed files with 26 additions and 26 deletions

View File

@@ -223,7 +223,7 @@ function url_shorten( $url ) {
$short_url = str_replace( array( 'http://', 'www.' ), '', $url );
$short_url = untrailingslashit( $short_url );
if ( strlen( $short_url ) > 35 )
$short_url = substr( $short_url, 0, 32 ) . '...';
$short_url = substr( $short_url, 0, 32 ) . '…';
return $short_url;
}