WordPress.org

Make WordPress Core

Ticket #8714: 8714.diff

File 8714.diff, 26.3 KB (added by wojtek.szkutnik, 3 years ago)
  • wp-admin/edit.php

     
    106106 
    107107                                if ( $post_del->post_type == 'attachment' ) { 
    108108                                        if ( ! wp_delete_attachment($post_id) ) 
    109                                                 wp_die( __('Error in deleting...') ); 
     109                                                wp_die( __('Error deleting attachment.') ); 
    110110                                } else { 
    111111                                        if ( !wp_delete_post($post_id) ) 
    112                                                 wp_die( __('Error in deleting...') ); 
     112                                                wp_die( __('Error deleting post.') ); 
    113113                                } 
    114114                                $deleted++; 
    115115                        } 
  • wp-admin/includes/dashboard.php

     
    754754                        $publisher = "<strong>$publisher</strong>"; 
    755755 
    756756                $content = $item->get_content(); 
    757                 $content = wp_html_excerpt($content, 50) . ' ...'; 
     757                $content = wp_html_excerpt($content, 50) . ' &#8230;'; 
    758758 
    759759                if ( $link ) 
    760760                        /* translators: incoming links feed, %1$s is other person, %3$s is content */ 
  • wp-admin/includes/misc.php

     
    225225        if ('/' == substr( $short_url, -1 )) 
    226226                $short_url = substr( $short_url, 0, -1 ); 
    227227        if ( strlen( $short_url ) > 35 ) 
    228                 $short_url = substr( $short_url, 0, 32 ).'...'; 
     228                $short_url = substr( $short_url, 0, 32 ).'&#8230;'; 
    229229        return $short_url; 
    230230} 
    231231 
  • wp-admin/includes/template.php

     
    18041804        if ('/' == substr( $short_url, -1 )) 
    18051805                $short_url = substr( $short_url, 0, -1 ); 
    18061806        if ( strlen( $short_url ) > 35 ) 
    1807                 $short_url = substr( $short_url, 0, 32 ).'...'; 
     1807                $short_url = substr( $short_url, 0, 32 ).'&#8230;'; 
    18081808        $checkbox = ''; 
    18091809        // Check if the user for this row is editable 
    18101810        if ( current_user_can( 'list_users' ) ) { 
     
    20132013                $author_url = ''; 
    20142014        $author_url_display = preg_replace('|http://(www\.)?|i', '', $author_url); 
    20152015        if ( strlen($author_url_display) > 50 ) 
    2016                 $author_url_display = substr($author_url_display, 0, 49) . '...'; 
     2016                $author_url_display = substr($author_url_display, 0, 49) . '&#8230;'; 
    20172017 
    20182018        $ptime = date('G', strtotime( $comment->comment_date ) ); 
    20192019        if ( ( abs(time() - $ptime) ) < 86400 ) 
     
    24452445?> 
    24462446</select> 
    24472447<input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" /> 
    2448 <a href="#postcustomstuff" class="hide-if-no-js" onclick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;"> 
     2448<a href="#postcustomstuff" class="hide-if-no-js" onClick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;"> 
    24492449<span id="enternew"><?php _e('Enter new'); ?></span> 
    24502450<span id="cancelnew" class="hidden"><?php _e('Cancel'); ?></span></a> 
    24512451<?php } else { ?> 
     
    32683268                                <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?> 
    32693269                                <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label> 
    32703270                                <input type="text" id="find-posts-input" name="ps" value="" /> 
    3271                                 <input type="button" onclick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br /> 
     3271                                <input type="button" onClick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br /> 
    32723272 
    32733273                                <?php 
    32743274                                $post_types = get_post_types( array('public' => true), 'objects' ); 
     
    32843284                        <div id="find-posts-response"></div> 
    32853285                </div> 
    32863286                <div class="find-box-buttons"> 
    3287                         <input type="button" class="button alignleft" onclick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" /> 
     3287                        <input type="button" class="button alignleft" onClick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" /> 
    32883288                        <input id="find-posts-submit" type="submit" class="button-primary alignright" value="<?php esc_attr_e('Select'); ?>" /> 
    32893289                </div> 
    32903290        </div> 
  • wp-admin/link-manager.php

     
    187187                if ('/' == substr($short_url, -1)) 
    188188                        $short_url = substr($short_url, 0, -1); 
    189189                if (strlen($short_url) > 35) 
    190                         $short_url = substr($short_url, 0, 32).'...'; 
     190                        $short_url = substr($short_url, 0, 32).'&#8230;'; 
    191191                $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No'); 
    192192                $rating  = $link->link_rating; 
    193193                $style = ($alt % 2) ? '' : ' class="alternate"'; 
  • wp-admin/network.php

     
    9696        '<p>' . __('This screen allows you to configure a network as having subdomains (<code>site1.example.com</code>) or subdirectories (<code>example.com/site1</code>). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it.') . '</p>' . 
    9797        '<p>' . __('Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your install. Fill out the network details, and click install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories).') . '</p>' . 
    9898        '<p>' . __('The next screen for Network will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files.') . '</p>' . 
    99         '<p>' . __('Add a <code>blogs.dir</code> directory under <code>/wp-content</code> and add the designated lines of code to wp-config.php (just before <code>/*...stop editing...*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).') . '</p>' . 
     99        '<p>' . __('Add a <code>blogs.dir</code> directory under <code>/wp-content</code> and add the designated lines of code to wp-config.php (just before <code>/*&#8230;stop editing&#8230;*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).') . '</p>' . 
    100100        '<p>' . __('Refreshing your browser will take you to a screen with an archive of those added lines of code. A set of six links under Super Admin will appear at the top of the main left navigation menu. The multisite network is now enabled.') . '</p>' . 
    101101        '<p>' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed soon in a future version.') . '</p>' . 
    102102        '<p><strong>' . __('For more information:') . '</strong></p>' . 
  • wp-admin/press-this.php

     
    130130                        <h3 class="tb"><label for="this_photo_description"><?php _e('Description') ?></label></h3> 
    131131                        <div class="titlediv"> 
    132132                                <div class="titlewrap"> 
    133                                         <input id="this_photo_description" name="photo_description" class="tbtitle text" onkeypress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/> 
     133                                        <input id="this_photo_description" name="photo_description" class="tbtitle text" onKeyPress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/> 
    134134                                </div> 
    135135                        </div> 
    136136 
     
    159159                        <h3 class="tb"><label for="this_photo"><?php _e('URL') ?></label></h3> 
    160160                        <div class="titlediv"> 
    161161                                <div class="titlewrap"> 
    162                                         <input id="this_photo" name="this_photo" class="tbtitle text" onkeypress="if(event.keyCode==13) image_selector();" /> 
     162                                        <input id="this_photo" name="this_photo" class="tbtitle text" onKeyPress="if(event.keyCode==13) image_selector();" /> 
    163163                                </div> 
    164164                        </div> 
    165165                        <h3 class="tb"><label for="photo_description"><?php _e('Description') ?></label></h3> 
    166166                        <div id="titlediv"> 
    167167                                <div class="titlewrap"> 
    168                                         <input id="this_photo_description" name="photo_description" class="tbtitle text" onkeypress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/> 
     168                                        <input id="this_photo_description" name="photo_description" class="tbtitle text" onKeyPress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/> 
    169169                                </div> 
    170170                        </div> 
    171171 
     
    399399                                        jQuery('#waiting').hide(); 
    400400                                        jQuery('#extra-fields').show(); 
    401401                                } 
    402                                 jQuery('#extra-fields').before('<div id="waiting"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <?php echo esc_js( __( 'Loading...' ) ); ?></div>'); 
     402                                jQuery('#extra-fields').before('<div id="waiting"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <?php echo esc_js( __( 'Loading&#8230;' ) ); ?></div>'); 
    403403 
    404404                                if(photostorage == false) { 
    405405                                        jQuery.ajax({ 
     
    555555        </div> 
    556556        <div class="posting"> 
    557557                <?php if ( isset($posted) && intval($posted) ) { $post_ID = intval($posted); ?> 
    558                 <div id="message" class="updated"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a onclick="window.opener.location.replace(this.href); window.close();" href="<?php echo get_permalink( $post_ID); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $post_ID ); ?>" onclick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit Post'); ?></a> | <a href="#" onclick="window.close();"><?php _e('Close Window'); ?></a></p></div> 
     558                <div id="message" class="updated"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a onClick="window.opener.location.replace(this.href); window.close();" href="<?php echo get_permalink( $post_ID); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $post_ID ); ?>" onClick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit Post'); ?></a> | <a href="#" onClick="window.close();"><?php _e('Close Window'); ?></a></p></div> 
    559559                <?php } ?> 
    560560 
    561561                <div id="titlediv"> 
     
    581581                                <li id="switcher"> 
    582582                                        <?php wp_print_scripts( 'quicktags' ); ?> 
    583583                                        <?php add_filter('the_editor_content', 'wp_richedit_pre'); ?> 
    584                                         <a id="edButtonHTML" onclick="switchEditors.go('content', 'html');"><?php _e('HTML'); ?></a> 
    585                                         <a id="edButtonPreview" class="active" onclick="switchEditors.go('content', 'tinymce');"><?php _e('Visual'); ?></a> 
    586                                         <div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('content')" /></div> 
     584                                        <a id="edButtonHTML" onClick="switchEditors.go('content', 'html');"><?php _e('HTML'); ?></a> 
     585                                        <a id="edButtonPreview" class="active" onClick="switchEditors.go('content', 'tinymce');"><?php _e('Visual'); ?></a> 
     586                                        <div class="zerosize"><input accesskey="e" type="button" onClick="switchEditors.go('content')" /></div> 
    587587                                </li> 
    588588                                <?php } ?> 
    589589                        </ul> 
  • wp-admin/setup-config.php

     
    132132                <tr> 
    133133                        <th scope="row"><label for="pwd">Password</label></th> 
    134134                        <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td> 
    135                         <td>...and MySQL password.</td> 
     135                        <td>&#8230;and MySQL password.</td> 
    136136                </tr> 
    137137                <tr> 
    138138                        <th scope="row"><label for="dbhost">Database Host</label></th> 
  • wp-admin/theme-editor.php

     
    108108                        $functions = wp_doc_link_parse( $content ); 
    109109 
    110110                        $docs_select = '<select name="docs-list" id="docs-list">'; 
    111                         $docs_select .= '<option value="">' . esc_attr__( 'Function Name...' ) . '</option>'; 
     111                        $docs_select .= '<option value="">' . esc_attr__( 'Function Name&#8230;' ) . '</option>'; 
    112112                        foreach ( $functions as $function ) { 
    113113                                $docs_select .= '<option value="' . esc_attr( urlencode( $function ) ) . '">' . htmlspecialchars( $function ) . '()</option>'; 
    114114                        } 
  • wp-admin/upload.php

     
    8888                                        wp_die( __('You are not allowed to move this post to the trash.') ); 
    8989 
    9090                                if ( !wp_trash_post($post_id) ) 
    91                                         wp_die( __('Error in moving to trash...') ); 
     91                                        wp_die( __('Error moving to trash.') ); 
    9292                        } 
    9393                        $location = add_query_arg( array( 'trashed' => count($post_ids), 'ids' => join(',', $post_ids) ), $location ); 
    9494                        break; 
     
    9898                                        wp_die( __('You are not allowed to move this post out of the trash.') ); 
    9999 
    100100                                if ( !wp_untrash_post($post_id) ) 
    101                                         wp_die( __('Error in restoring from trash...') ); 
     101                                        wp_die( __('Error restoring from trash.') ); 
    102102                        } 
    103103                        $location = add_query_arg('untrashed', count($post_ids), $location); 
    104104                        break; 
     
    108108                                        wp_die( __('You are not allowed to delete this post.') ); 
    109109 
    110110                                if ( !wp_delete_attachment($post_id_del) ) 
    111                                         wp_die( __('Error in deleting...') ); 
     111                                        wp_die( __('Error deleting attachment.') ); 
    112112                        } 
    113113                        $location = add_query_arg('deleted', count($post_ids), $location); 
    114114                        break; 
  • wp-content/themes/twentyten/functions.php

     
    251251 * @return string An ellipsis 
    252252 */ 
    253253function twentyten_auto_excerpt_more( $more ) { 
    254         return ' &hellip;' . twentyten_continue_reading_link(); 
     254        return ' &#8230;' . twentyten_continue_reading_link(); 
    255255} 
    256256add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' ); 
    257257 
  • wp-includes/comment-template.php

     
    419419        for ($i=0; $i<$k; $i++) { 
    420420                $excerpt .= $blah[$i] . ' '; 
    421421        } 
    422         $excerpt .= ($use_dotdotdot) ? '...' : ''; 
     422        $excerpt .= ($use_dotdotdot) ? '&#8230;' : ''; 
    423423        return apply_filters('get_comment_excerpt', $excerpt); 
    424424} 
    425425 
  • wp-includes/comment.php

     
    16421642        else 
    16431643                $excerpt = apply_filters('the_excerpt', $post->post_excerpt); 
    16441644        $excerpt = str_replace(']]>', ']]&gt;', $excerpt); 
    1645         $excerpt = wp_html_excerpt($excerpt, 252) . '...'; 
     1645        $excerpt = wp_html_excerpt($excerpt, 252) . '&#8230;'; 
    16461646 
    16471647        $post_title = apply_filters('the_title', $post->post_title); 
    16481648        $post_title = strip_tags($post_title); 
  • wp-includes/default-widgets.php

     
    820820                $desc = str_replace( array("\n", "\r"), ' ', esc_attr( strip_tags( @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option('blog_charset') ) ) ) ); 
    821821                $desc = wp_html_excerpt( $desc, 360 ); 
    822822 
    823                 // Append ellipsis. Change existing [...] to [&hellip;]. 
     823                // Append ellipsis. Change existing [...] to [&#8230;]. 
    824824                if ( '[...]' == substr( $desc, -5 ) ) 
    825825                        $desc = substr( $desc, 0, -5 ) . '[&hellip;]'; 
    826                 elseif ( '[&hellip;]' != substr( $desc, -10 ) ) 
    827                         $desc .= ' [&hellip;]'; 
     826                elseif ( '[&#8230;]' != substr( $desc, -10 ) ) 
     827                        $desc .= ' [&#8230;]'; 
    828828 
    829829                $desc = esc_html( $desc ); 
    830830 
  • wp-includes/deprecated.php

     
    17041704 * @param int $cut Optional. Amount of words to keep for the content. 
    17051705 * @param int $encode_html Optional. How to encode the content. 
    17061706 */ 
    1707 function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { 
     1707function the_content_rss($more_link_text='(more&#8230;)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { 
    17081708        _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed' ); 
    17091709        $content = get_the_content($more_link_text, $stripteaser, $more_file); 
    17101710        $content = apply_filters('the_content_rss', $content); 
     
    17311731                /** @todo Check performance, might be faster to use array slice instead. */ 
    17321732                for ( $i=0; $i<$k; $i++ ) 
    17331733                        $excerpt .= $blah[$i].' '; 
    1734                 $excerpt .= ($use_dotdotdot) ? '...' : ''; 
     1734                $excerpt .= ($use_dotdotdot) ? '&#8230;' : ''; 
    17351735                $content = $excerpt; 
    17361736        } 
    17371737        $content = str_replace(']]>', ']]&gt;', $content); 
  • wp-includes/formatting.php

     
    18311831                $text = str_replace(']]>', ']]&gt;', $text); 
    18321832                $text = strip_tags($text); 
    18331833                $excerpt_length = apply_filters('excerpt_length', 55); 
    1834                 $excerpt_more = apply_filters('excerpt_more', ' ' . '[...]'); 
     1834                $excerpt_more = apply_filters('excerpt_more', ' ' . '[&#8230;]'); 
    18351835                $words = preg_split("/[\n\r\t ]+/", $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY); 
    18361836                if ( count($words) > $excerpt_length ) { 
    18371837                        array_pop($words); 
  • wp-includes/general-template.php

     
    19951995                                $page_links[] = "<a class='page-numbers' href='" . esc_url( apply_filters( 'paginate_links', $link ) ) . "'>$n_display</a>"; 
    19961996                                $dots = true; 
    19971997                        elseif ( $dots && !$show_all ) : 
    1998                                 $page_links[] = "<span class='page-numbers dots'>...</span>"; 
     1998                                $page_links[] = "<span class='page-numbers dots'>&#8230;</span>"; 
    19991999                                $dots = false; 
    20002000                        endif; 
    20012001                endif; 
  • wp-includes/js/tinymce/langs/wp-langs-en.js

     
    4747forward_desc:"Move forward", 
    4848backward_desc:"Move backward", 
    4949absolute_desc:"Toggle absolute positioning", 
    50 content:"New layer..." 
     50content:"New layer&#8230;" 
    5151}, 
    5252save:{ 
    5353save_desc:"Save", 
     
    146146ignore_word:"Ignore word", 
    147147ignore_words:"Ignore all", 
    148148langs:"Languages", 
    149 wait:"Please wait...", 
     149wait:"Please wait&#8230;", 
    150150sug:"Suggestions", 
    151151no_sug:"No suggestions", 
    152152no_mpell:"No misspellings found." 
     
    384384wp_more_desc:"Insert More tag (Alt+Shift+T)", 
    385385wp_page_desc:"Insert Page break (Alt+Shift+P)", 
    386386wp_help_desc:"Help (Alt+Shift+H)", 
    387 wp_more_alt:"More...", 
    388 wp_page_alt:"Next page...", 
     387wp_more_alt:"More&#8230;", 
     388wp_page_alt:"Next page&#8230;", 
    389389add_media:"Add Media", 
    390390add_image:"Add an Image", 
    391391add_video:"Add Video", 
  • wp-includes/js/tinymce/langs/wp-langs.php

     
    7070forward_desc:"' . mce_escape( __('Move forward') ) . '", 
    7171backward_desc:"' . mce_escape( __('Move backward') ) . '", 
    7272absolute_desc:"' . mce_escape( __('Toggle absolute positioning') ) . '", 
    73 content:"' . mce_escape( __('New layer...') ) . '" 
     73content:"' . mce_escape( __('New layer&#8230;') ) . '" 
    7474}, 
    7575save:{ 
    7676save_desc:"' . mce_escape( __('Save') ) . '", 
     
    169169ignore_word:"' . mce_escape( __('Ignore word') ) . '", 
    170170ignore_words:"' . mce_escape( __('Ignore all') ) . '", 
    171171langs:"' . mce_escape( __('Languages') ) . '", 
    172 wait:"' . mce_escape( __('Please wait...') ) . '", 
     172wait:"' . mce_escape( __('Please wait&#8230;') ) . '", 
    173173sug:"' . mce_escape( __('Suggestions') ) . '", 
    174174no_sug:"' . mce_escape( __('No suggestions') ) . '", 
    175175no_mpell:"' . mce_escape( __('No misspellings found.') ) . '" 
     
    407407wp_more_desc:"' . mce_escape( __('Insert More Tag') ) . ' (Alt+Shift+T)", 
    408408wp_page_desc:"' . mce_escape( __('Insert Page break') ) . ' (Alt+Shift+P)", 
    409409wp_help_desc:"' . mce_escape( __('Help') ) . ' (Alt+Shift+H)", 
    410 wp_more_alt:"' . mce_escape( __('More...') ) . '", 
    411 wp_page_alt:"' . mce_escape( __('Next page...') ) . '", 
     410wp_more_alt:"' . mce_escape( __('More&#8230;') ) . '", 
     411wp_page_alt:"' . mce_escape( __('Next page&#8230;') ) . '", 
    412412add_media:"' . mce_escape( __('Add Media') ) . '", 
    413413add_image:"' . mce_escape( __('Add an Image') ) . '", 
    414414add_video:"' . mce_escape( __('Add Video') ) . '", 
  • wp-includes/pluggable.php

     
    10421042                /* translators: 1: comment author, 2: author IP, 3: author domain */ 
    10431043                $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    10441044                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    1045                 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n"; 
     1045                $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[&#8230;] %s [&#8230;]', $comment->comment_content ) . "\r\n\r\n"; 
    10461046                $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; 
    10471047                /* translators: 1: blog name, 2: post title */ 
    10481048                $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title ); 
  • wp-includes/post-template.php

     
    184184        global $id, $post, $more, $page, $pages, $multipage, $preview; 
    185185 
    186186        if ( null === $more_link_text ) 
    187                 $more_link_text = __( '(more...)' ); 
     187                $more_link_text = __( '(more&#8230;)' ); 
    188188 
    189189        $output = ''; 
    190190        $hasTeaser = false; 
  • wp-includes/post.php

     
    28272827                $excerpt = strip_tags($post_excerpt ? $post_excerpt : $post_content); 
    28282828 
    28292829                if (strlen($excerpt) > 255) { 
    2830                         $excerpt = substr($excerpt,0,252) . '...'; 
     2830                        $excerpt = substr($excerpt,0,252) . '&#8230;'; 
    28312831                } 
    28322832 
    28332833                $trackback_urls = explode(',', $tb_list); 
  • wp-includes/script-loader.php

     
    379379                $scripts->add_data( 'set-post-thumbnail', 'group', 1 ); 
    380380                $scripts->localize( 'set-post-thumbnail', 'setPostThumbnailL10n', array( 
    381381                        'setThumbnail' => __( 'Use as featured image' ), 
    382                         'saving' => __( 'Saving...' ), 
     382                        'saving' => __( 'Saving&#8230;' ), 
    383383                        'error' => __( 'Could not set that as the thumbnail image. Try a different attachment.' ), 
    384384                        'done' => __( 'Done' ) 
    385385                ) ); 
  • wp-login.php

     
    205205        $message = apply_filters('retrieve_password_message', $message, $key); 
    206206 
    207207        if ( $message && !wp_mail($user_email, $title, $message) ) 
    208                 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') ); 
     208                wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') ); 
    209209 
    210210        return true; 
    211211} 
     
    257257        $message = apply_filters('password_reset_message', $message, $new_pass); 
    258258 
    259259        if ( $message && !wp_mail($user->user_email, $title, $message) ) 
    260                 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') ); 
     260                wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') ); 
    261261 
    262262        wp_password_change_notification($user); 
    263263 
     
    307307        $user_pass = wp_generate_password(); 
    308308        $user_id = wp_create_user( $sanitized_user_login, $user_pass, $user_email ); 
    309309        if ( ! $user_id ) { 
    310                 $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) ); 
     310                $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn&#8217;t register your account. Please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) ); 
    311311                return $errors; 
    312312        } 
    313313 
  • wp-trackback.php

     
    8787        if ( !pings_open($tb_id) ) 
    8888                trackback_response(1, 'Sorry, trackbacks are closed for this item.'); 
    8989 
    90         $title =  wp_html_excerpt( $title, 250 ).'...'; 
    91         $excerpt = wp_html_excerpt( $excerpt, 252 ).'...'; 
     90        $title =  wp_html_excerpt( $title, 250 ).'&#8230;'; 
     91        $excerpt = wp_html_excerpt( $excerpt, 252 ).'&#8230;'; 
    9292 
    9393        $comment_post_ID = (int) $tb_id; 
    9494        $comment_author = $blog_name; 
  • xmlrpc.php

     
    32523252 
    32533253                                // prevent really long link text 
    32543254                                if ( strlen($context[1]) > 100 ) 
    3255                                         $context[1] = substr($context[1], 0, 100) . '...'; 
     3255                                        $context[1] = substr($context[1], 0, 100) . '&#8230;'; 
    32563256 
    32573257                                $marker = '<wpcontext>'.$context[1].'</wpcontext>';    // set up our marker 
    32583258                                $excerpt= str_replace($context[0], $marker, $excerpt); // swap out the link for our marker 
     
    32703270 
    32713271                $pagelinkedfrom = str_replace('&', '&amp;', $pagelinkedfrom); 
    32723272 
    3273                 $context = '[...] ' . esc_html( $excerpt ) . ' [...]'; 
     3273                $context = '[&#8230;] ' . esc_html( $excerpt ) . ' [&#8230;]'; 
    32743274                $pagelinkedfrom = $wpdb->escape( $pagelinkedfrom ); 
    32753275 
    32763276                $comment_post_ID = (int) $post_ID;