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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user