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/class-wp-xmlrpc-server.php

    r23952 r24207  
    54235423                // prevent really long link text
    54245424                if ( strlen($context[1]) > 100 )
    5425                     $context[1] = substr($context[1], 0, 100) . '...';
     5425                    $context[1] = substr($context[1], 0, 100) . '…';
    54265426
    54275427                $marker = '<wpcontext>'.$context[1].'</wpcontext>';    // set up our marker
     
    54415441        $pagelinkedfrom = str_replace('&', '&amp;', $pagelinkedfrom);
    54425442
    5443         $context = '[...] ' . esc_html( $excerpt ) . ' [...]';
     5443        $context = '[&#8230;] ' . esc_html( $excerpt ) . ' [&#8230;]';
    54445444        $pagelinkedfrom = $wpdb->escape( $pagelinkedfrom );
    54455445
Note: See TracChangeset for help on using the changeset viewer.