Make WordPress Core

Ticket #8714: 8714.2.diff

File 8714.2.diff, 31.6 KB (added by DrewAPicture, 13 years ago)

Mostly standardizes …, some whitespacing in affected blocks

  • wp-admin/edit.php

     
    110110
    111111                                if ( $post_del->post_type == 'attachment' ) {
    112112                                        if ( ! wp_delete_attachment($post_id) )
    113                                                 wp_die( __('Error in deleting...') );
     113                                                wp_die( __( 'Error in deleting…' ) );
    114114                                } else {
    115115                                        if ( !wp_delete_post($post_id) )
    116                                                 wp_die( __('Error in deleting...') );
     116                                                wp_die( __( 'Error in deleting…' ) );
    117117                                }
    118118                                $deleted++;
    119119                        }
  • wp-admin/includes/class-pclzip.php

     
    4848  // 0 : PclZip Class integrated error handling
    4949  // 1 : PclError external library error handling. By enabling this
    5050  //     you must ensure that you have included PclError library.
    51   // [2,...] : reserved for futur use
     51  // [2,...] : reserved for future use
    5252  if (!defined('PCLZIP_ERROR_EXTERNAL')) {
    5353    define( 'PCLZIP_ERROR_EXTERNAL', 0 );
    5454  }
     
    853853  //   The list of the extracted files, with a status of the action.
    854854  //   (see PclZip::listContent() for list entry format)
    855855  // --------------------------------------------------------------------------------
    856   //function extractByIndex($p_index, options...)
     856  // function extractByIndex($p_index, options...)
    857857  function extractByIndex($p_index)
    858858  {
    859859    $v_result=1;
  • wp-admin/includes/class-wp-comments-list-table.php

     
    449449                        $author_url = '';
    450450                $author_url_display = preg_replace( '|http://(www\.)?|i', '', $author_url );
    451451                if ( strlen( $author_url_display ) > 50 )
    452                         $author_url_display = substr( $author_url_display, 0, 49 ) . '...';
     452                        $author_url_display = substr( $author_url_display, 0, 49 ) . '…';
    453453
    454454                echo "<strong>"; comment_author(); echo '</strong><br />';
    455455                if ( !empty( $author_url ) )
  • wp-admin/includes/class-wp-plugin-install-list-table.php

     
    166166                        //Limit description to 400char, and remove any HTML.
    167167                        $description = strip_tags( $plugin['description'] );
    168168                        if ( strlen( $description ) > 400 )
    169                                 $description = mb_substr( $description, 0, 400 ) . '&#8230;';
     169                                $description = mb_substr( $description, 0, 400 ) . '&hellip;';
    170170                        //remove any trailing entities
    171171                        $description = preg_replace( '/&[^;\s]{0,6}$/', '', $description );
    172172                        //strip leading/trailing & multiple consecutive lines
  • wp-admin/includes/class-wp-upgrader.php

     
    4848                /* translators: %s: directory name */
    4949                $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).');
    5050
    51                 $this->strings['download_failed'] = __('Download failed.');
    52                 $this->strings['installing_package'] = __('Installing the latest version&#8230;');
    53                 $this->strings['folder_exists'] = __('Destination folder already exists.');
    54                 $this->strings['mkdir_failed'] = __('Could not create directory.');
    55                 $this->strings['incompatible_archive'] = __('The package could not be installed.');
     51                $this->strings['download_failed'] = __( 'Download failed.' );
     52                $this->strings['installing_package'] = __( 'Installing the latest version&hellip;' );
     53                $this->strings['folder_exists'] = __( 'Destination folder already exists.' );
     54                $this->strings['mkdir_failed'] = __( 'Could not create directory.' );
     55                $this->strings['incompatible_archive'] = __('The package could not be installed.' );
    5656
    57                 $this->strings['maintenance_start'] = __('Enabling Maintenance mode&#8230;');
    58                 $this->strings['maintenance_end'] = __('Disabling Maintenance mode&#8230;');
     57                $this->strings['maintenance_start'] = __( 'Enabling Maintenance mode&hellip;' );
     58                $this->strings['maintenance_end'] = __( 'Disabling Maintenance mode&hellip;' );
    5959        }
    6060
    6161        function fs_connect( $directories = array() ) {
     
    370370        var $show_before = '';
    371371
    372372        function upgrade_strings() {
    373                 $this->strings['up_to_date'] = __('The plugin is at the latest version.');
    374                 $this->strings['no_package'] = __('Update package not available.');
    375                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    376                 $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    377                 $this->strings['deactivate_plugin'] = __('Deactivating the plugin&#8230;');
    378                 $this->strings['remove_old'] = __('Removing the old version of the plugin&#8230;');
    379                 $this->strings['remove_old_failed'] = __('Could not remove the old plugin.');
    380                 $this->strings['process_failed'] = __('Plugin update failed.');
    381                 $this->strings['process_success'] = __('Plugin updated successfully.');
     373                $this->strings['up_to_date'] = __( 'The plugin is at the latest version.' );
     374                $this->strings['no_package'] = __( 'Update package not available.' );
     375                $this->strings['downloading_package'] = __( 'Downloading update from <span class="code">%s</span>&hellip;' );
     376                $this->strings['unpack_package'] = __( 'Unpacking the update&hellip;' );
     377                $this->strings['deactivate_plugin'] = __( 'Deactivating the plugin&hellip;' );
     378                $this->strings['remove_old'] = __( 'Removing the old version of the plugin&hellip;' );
     379                $this->strings['remove_old_failed'] = __( 'Could not remove the old plugin.' );
     380                $this->strings['process_failed'] = __( 'Plugin update failed.' );
     381                $this->strings['process_success'] = __( 'Plugin updated successfully.' );
    382382        }
    383383
    384384        function install_strings() {
    385                 $this->strings['no_package'] = __('Install package not available.');
    386                 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&#8230;');
    387                 $this->strings['unpack_package'] = __('Unpacking the package&#8230;');
    388                 $this->strings['installing_package'] = __('Installing the plugin&#8230;');
    389                 $this->strings['process_failed'] = __('Plugin install failed.');
    390                 $this->strings['process_success'] = __('Plugin installed successfully.');
     385                $this->strings['no_package'] = __( 'Install package not available.' );
     386                $this->strings['downloading_package'] = __( 'Downloading install package from <span class="code">%s</span>&hellip;' );
     387                $this->strings['unpack_package'] = __( 'Unpacking the package&hellip;' );
     388                $this->strings['installing_package'] = __( 'Installing the plugin&hellip;' );
     389                $this->strings['process_failed'] = __( 'Plugin install failed.' );
     390                $this->strings['process_success'] = __( 'Plugin installed successfully.' );
    391391        }
    392392
    393393        function install($package) {
     
    645645        var $bulk = false;
    646646
    647647        function upgrade_strings() {
    648                 $this->strings['up_to_date'] = __('The theme is at the latest version.');
    649                 $this->strings['no_package'] = __('Update package not available.');
    650                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    651                 $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    652                 $this->strings['remove_old'] = __('Removing the old version of the theme&#8230;');
    653                 $this->strings['remove_old_failed'] = __('Could not remove the old theme.');
    654                 $this->strings['process_failed'] = __('Theme update failed.');
    655                 $this->strings['process_success'] = __('Theme updated successfully.');
     648                $this->strings['up_to_date'] = __( 'The theme is at the latest version.' );
     649                $this->strings['no_package'] = __( 'Update package not available.' );
     650                $this->strings['downloading_package'] = __( 'Downloading update from <span class="code">%s</span>&hellip;' );
     651                $this->strings['unpack_package'] = __( 'Unpacking the update&hellip;' );
     652                $this->strings['remove_old'] = __( 'Removing the old version of the theme&hellip;' );
     653                $this->strings['remove_old_failed'] = __( 'Could not remove the old theme.' );
     654                $this->strings['process_failed'] = __( 'Theme update failed.' );
     655                $this->strings['process_success'] = __( 'Theme updated successfully.' );
    656656        }
    657657
    658658        function install_strings() {
    659                 $this->strings['no_package'] = __('Install package not available.');
    660                 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&#8230;');
    661                 $this->strings['unpack_package'] = __('Unpacking the package&#8230;');
    662                 $this->strings['installing_package'] = __('Installing the theme&#8230;');
    663                 $this->strings['process_failed'] = __('Theme install failed.');
    664                 $this->strings['process_success'] = __('Theme installed successfully.');
     659                $this->strings['no_package'] = __( 'Install package not available.' );
     660                $this->strings['downloading_package'] = __( 'Downloading install package from <span class="code">%s</span>&hellip;' );
     661                $this->strings['unpack_package'] = __( 'Unpacking the package&hellip;' );
     662                $this->strings['installing_package'] = __( 'Installing the theme&hellip;' );
     663                $this->strings['process_failed'] = __( 'Theme install failed.' );
     664                $this->strings['process_success'] = __( 'Theme installed successfully.' );
    665665        }
    666666
    667667        function install($package) {
     
    928928class Core_Upgrader extends WP_Upgrader {
    929929
    930930        function upgrade_strings() {
    931                 $this->strings['up_to_date'] = __('WordPress is at the latest version.');
    932                 $this->strings['no_package'] = __('Update package not available.');
    933                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    934                 $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    935                 $this->strings['copy_failed'] = __('Could not copy files.');
     931                $this->strings['up_to_date'] = __( 'WordPress is at the latest version.' );
     932                $this->strings['no_package'] = __( 'Update package not available.' );
     933                $this->strings['downloading_package'] = __( 'Downloading update from <span class="code">%s</span>&hellip;' );
     934                $this->strings['unpack_package'] = __( 'Unpacking the update&hellip;' );
     935                $this->strings['copy_failed'] = __( 'Could not copy files.' );
    936936        }
    937937
    938938        function upgrade($current) {
     
    11061106        function after() {
    11071107                $this->plugin = $this->upgrader->plugin_info();
    11081108                if ( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){
    1109                         show_message(__('Reactivating the plugin&#8230;'));
     1109                        show_message( __( 'Reactivating the plugin&hellip;' ) );
    11101110                        echo '<iframe style="border:0;overflow:hidden" width="100%" height="170px" src="' . wp_nonce_url('update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . $this->plugin, 'activate-plugin_' . $this->plugin) .'"></iframe>';
    11111111                }
    11121112
  • wp-admin/includes/dashboard.php

     
    842842                        $publisher = "<strong>$publisher</strong>";
    843843
    844844                $content = $item->get_content();
    845                 $content = wp_html_excerpt($content, 50) . ' ...';
     845                $content = wp_html_excerpt($content, 50) . ' &hellip;';
    846846
    847847                if ( $link )
    848848                        /* translators: incoming links feed, %1$s is other person, %3$s is content */
     
    10361036 * @return bool False on failure. True on success.
    10371037 */
    10381038function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) {
    1039         $loading = '<p class="widget-loading hide-if-no-js">' . __( 'Loading&#8230;' ) . '</p><p class="hide-if-js">' . __( 'This widget requires JavaScript.' ) . '</p>';
     1039        $loading = '<p class="widget-loading hide-if-no-js">' . __( 'Loading&hellip;' ) . '</p><p class="hide-if-js">' . __( 'This widget requires JavaScript.' ) . '</p>';
    10401040        $doing_ajax = ( defined('DOING_AJAX') && DOING_AJAX );
    10411041
    10421042        if ( empty($check_urls) ) {
  • wp-admin/includes/media.php

     
    317317 *
    318318 * @param unknown_type $content_func
    319319 */
    320 function wp_iframe($content_func /* ... */) {
     320function wp_iframe($content_func) {
    321321        _wp_admin_html_begin();
    322322?>
    323323<title><?php bloginfo('name') ?> &rsaquo; <?php _e('Uploads'); ?> &#8212; <?php _e('WordPress'); ?></title>
  • wp-admin/includes/misc.php

     
    225225        $short_url = str_replace( 'www.', '', $short_url );
    226226        $short_url = untrailingslashit( $short_url );
    227227        if ( strlen( $short_url ) > 35 )
    228                 $short_url = substr( $short_url, 0, 32 ) . '...';
     228                $short_url = substr( $short_url, 0, 32 ) . '&hellip;';
    229229        return $short_url;
    230230}
    231231
  • wp-admin/includes/update-core.php

     
    424424                return new WP_Error( 'mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version ) );
    425425
    426426        // Sanity check the unzipped distribution
    427         apply_filters('update_feedback', __('Verifying the unpacked files&#8230;'));
     427        apply_filters( 'update_feedback', __( 'Verifying the unpacked files&hellip;' ) );
    428428        $distro = '';
    429429        $roots = array( '/wordpress/', '/wordpress-mu/' );
    430430        foreach( $roots as $root ) {
     
    438438                return new WP_Error('insane_distro', __('The update could not be unpacked') );
    439439        }
    440440
    441         apply_filters('update_feedback', __('Installing the latest version&#8230;'));
     441        apply_filters( 'update_feedback', __( 'Installing the latest version&hellip;' ) );
    442442
    443443        // Create maintenance file to signal that we are upgrading
    444444        $maintenance_string = '<?php $upgrading = ' . time() . '; ?>';
     
    521521        }
    522522
    523523        // Upgrade DB with separate request
    524         apply_filters('update_feedback', __('Upgrading database&#8230;'));
     524        apply_filters( 'update_feedback', __( 'Upgrading database&hellip;' ) );
    525525        $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db');
    526526        wp_remote_post($db_upgrade_url, array('timeout' => 60));
    527527
  • wp-admin/includes/upgrade.php

     
    247247
    248248<blockquote>Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my blog. I live in Los Angeles, have a great dog named Jack, and I like pi&#241;a coladas. (And gettin' caught in the rain.)</blockquote>
    249249
    250 ...or something like this:
     250&hellip;or something like this:
    251251
    252252<blockquote>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickies to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.</blockquote>
    253253
  • wp-admin/network.php

     
    103103        $parent_file = 'tools.php';
    104104}
    105105
    106 $network_help = '<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>' .
    107         '<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>' .
    108         '<p>' . __('The next screen for Network Setup 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>' .
    109         '<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>' .
    110         '<p>' . __('Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.') . '</p>' .
    111         '<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 in a future version.') . '</p>' .
    112         '<p><strong>' . __('For more information:') . '</strong></p>' .
    113         '<p>' . __('<a href="http://codex.wordpress.org/Create_A_Network" target="_blank">Documentation on Creating a Network</a>') . '</p>' .
    114         '<p>' . __('<a href="http://codex.wordpress.org/Tools_Network_Screen" target="_blank">Documentation on the Network Screen</a>') . '</p>';
     106$network_help = '<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>' .
     107        '<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>' .
     108        '<p>' . __( 'The next screen for Network Setup 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>' .
     109        '<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>/*&hellip;stop editing&hellip;*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).' ) . '</p>' .
     110        '<p>' . __( 'Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.' ) . '</p>' .
     111        '<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 in a future version.' ) . '</p>' .
     112        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
     113        '<p>' . __( '<a href="http://codex.wordpress.org/Create_A_Network" target="_blank">Documentation on Creating a Network</a>' ) . '</p>' .
     114        '<p>' . __( '<a href="http://codex.wordpress.org/Tools_Network_Screen" target="_blank">Documentation on the Network Screen</a>' ) . '</p>';
    115115
    116116get_current_screen()->add_help_tab( array(
    117117        'id'      => 'network',
  • wp-admin/press-this.php

     
    582582                        </div>
    583583                </div>
    584584
    585                 <div id="waiting" style="display: none"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <?php esc_html_e( 'Loading...' ); ?></div>
     585                <div id="waiting" style="display: none"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <?php esc_html_e( 'Loading&hellip;' ); ?></div>
    586586
    587587                <div id="extra-fields" style="display: none"></div>
    588588
  • wp-admin/setup-config.php

     
    130130                <tr>
    131131                        <th scope="row"><label for="pwd">Password</label></th>
    132132                        <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td>
    133                         <td>...and your MySQL password.</td>
     133                        <td>&hellip;and your MySQL password.</td>
    134134                </tr>
    135135                <tr>
    136136                        <th scope="row"><label for="dbhost">Database Host</label></th>
  • wp-admin/theme-editor.php

     
    123123                        $functions = wp_doc_link_parse( $content );
    124124
    125125                        $docs_select = '<select name="docs-list" id="docs-list">';
    126                         $docs_select .= '<option value="">' . esc_attr__( 'Function Name...' ) . '</option>';
     126                        $docs_select .= '<option value="">' . esc_attr__( 'Function Name&hellip;' ) . '</option>';
    127127                        foreach ( $functions as $function ) {
    128128                                $docs_select .= '<option value="' . esc_attr( urlencode( $function ) ) . '">' . htmlspecialchars( $function ) . '()</option>';
    129129                        }
  • wp-admin/upload.php

     
    9797                                        wp_die( __( 'You are not allowed to move this post to the trash.' ) );
    9898
    9999                                if ( !wp_trash_post( $post_id ) )
    100                                         wp_die( __( 'Error in moving to trash...' ) );
     100                                        wp_die( __( 'Error in moving to trash&hellip;' ) );
    101101                        }
    102102                        $location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location );
    103103                        break;
     
    109109                                        wp_die( __( 'You are not allowed to move this post out of the trash.' ) );
    110110
    111111                                if ( !wp_untrash_post( $post_id ) )
    112                                         wp_die( __( 'Error in restoring from trash...' ) );
     112                                        wp_die( __( 'Error in restoring from trash&hellip;' ) );
    113113                        }
    114114                        $location = add_query_arg( 'untrashed', count( $post_ids ), $location );
    115115                        break;
     
    121121                                        wp_die( __( 'You are not allowed to delete this post.' ) );
    122122
    123123                                if ( !wp_delete_attachment( $post_id_del ) )
    124                                         wp_die( __( 'Error in deleting...' ) );
     124                                        wp_die( __( 'Error in deleting&hellip;' ) );
    125125                        }
    126126                        $location = add_query_arg( 'deleted', count( $post_ids ), $location );
    127127                        break;
  • wp-includes/class-wp-editor.php

     
    3232                        'wpautop' => true, // use wpautop?
    3333                        'media_buttons' => true, // show insert/upload button(s)
    3434                        'textarea_name' => $editor_id, // set the textarea name to something different, square brackets [] can be used here
    35                         'textarea_rows' => get_option('default_post_edit_rows', 10), // rows="..."
     35                        'textarea_rows' => get_option('default_post_edit_rows', 10), // rows="&hellip;"
    3636                        'tabindex' => '',
    3737                        'editor_css' => '', // intended for extra styles for both visual and HTML editors buttons, needs to include the <style> tags, can use "scoped".
    3838                        'editor_class' => '', // add extra class(es) to the editor textarea
  • wp-includes/class-wp-xmlrpc-server.php

     
    35263526
    35273527                                // prevent really long link text
    35283528                                if ( strlen($context[1]) > 100 )
    3529                                         $context[1] = substr($context[1], 0, 100) . '...';
     3529                                        $context[1] = substr($context[1], 0, 100) . '&hellip;';
    35303530
    35313531                                $marker = '<wpcontext>'.$context[1].'</wpcontext>';    // set up our marker
    35323532                                $excerpt= str_replace($context[0], $marker, $excerpt); // swap out the link for our marker
     
    35443544
    35453545                $pagelinkedfrom = str_replace('&', '&amp;', $pagelinkedfrom);
    35463546
    3547                 $context = '[...] ' . esc_html( $excerpt ) . ' [...]';
     3547                $context = '[...] ' . esc_html( $excerpt ) . ' [&hellip;]';
    35483548                $pagelinkedfrom = $wpdb->escape( $pagelinkedfrom );
    35493549
    35503550                $comment_post_ID = (int) $post_ID;
  • 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) ? '&hellip;' : '';
    423423        return apply_filters('get_comment_excerpt', $excerpt);
    424424}
    425425
  • wp-includes/comment.php

     
    17271727        else
    17281728                $excerpt = apply_filters('the_excerpt', $post->post_excerpt);
    17291729        $excerpt = str_replace(']]>', ']]&gt;', $excerpt);
    1730         $excerpt = wp_html_excerpt($excerpt, 252) . '...';
     1730        $excerpt = wp_html_excerpt($excerpt, 252) . '&hellip;';
    17311731
    17321732        $post_title = apply_filters('the_title', $post->post_title, $post->ID);
    17331733        $post_title = strip_tags($post_title);
  • 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&hellip;)', $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) ? '&hellip;' : '';
    17351735                $content = $excerpt;
    17361736        }
    17371737        $content = str_replace(']]>', ']]&gt;', $content);
  • wp-includes/formatting.php

     
    18991899                $text = apply_filters('the_content', $text);
    19001900                $text = str_replace(']]>', ']]&gt;', $text);
    19011901                $excerpt_length = apply_filters('excerpt_length', 55);
    1902                 $excerpt_more = apply_filters('excerpt_more', ' ' . '[...]');
     1902                $excerpt_more = apply_filters('excerpt_more', ' ' . '[&hellip;]');
    19031903                $text = wp_trim_words( $text, $excerpt_length, $excerpt_more );
    19041904        }
    19051905        return apply_filters('wp_trim_excerpt', $text, $raw_excerpt);
  • wp-includes/pluggable.php

     
    10251025                /* translators: 1: comment author, 2: author IP, 3: author domain */
    10261026                $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    10271027                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n";
    1028                 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n";
     1028                $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[&hellip;] %s [&hellip;]', $comment->comment_content ) . "\r\n\r\n";
    10291029                $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n";
    10301030                /* translators: 1: blog name, 2: post title */
    10311031                $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title );
  • wp-includes/post-template.php

     
    181181        global $post, $more, $page, $pages, $multipage, $preview;
    182182
    183183        if ( null === $more_link_text )
    184                 $more_link_text = __( '(more...)' );
     184                $more_link_text = __( '(more&hellip;)' );
    185185
    186186        $output = '';
    187187        $hasTeaser = false;
  • wp-includes/post.php

     
    30883088                $excerpt = strip_tags($post_excerpt ? $post_excerpt : $post_content);
    30893089
    30903090                if (strlen($excerpt) > 255) {
    3091                         $excerpt = substr($excerpt,0,252) . '...';
     3091                        $excerpt = substr($excerpt,0,252) . '&hellip;';
    30923092                }
    30933093
    30943094                $trackback_urls = explode(',', $tb_list);
  • wp-includes/script-loader.php

     
    498498
    499499        wp_localize_script( 'autosave', 'autosaveL10n', array(
    500500                'autosaveInterval' => AUTOSAVE_INTERVAL,
    501                 'savingText' => __('Saving Draft&#8230;'),
    502                 'saveAlert' => __('The changes you made will be lost if you navigate away from this page.')
     501                'savingText' => __( 'Saving Draft...' ),
     502                'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' )
    503503        ) );
    504504
    505505}
  • wp-login.php

     
    227227        $message = apply_filters('retrieve_password_message', $message, $key);
    228228
    229229        if ( $message && !wp_mail($user_email, $title, $message) )
    230                 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') );
     230                wp_die( __( 'The e-mail could not be sent.' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function&hellip;' ) );
    231231
    232232        return true;
    233233}
     
    317317        $user_pass = wp_generate_password( 12, false);
    318318        $user_id = wp_create_user( $sanitized_user_login, $user_pass, $user_email );
    319319        if ( ! $user_id ) {
    320                 $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' ) ) );
     320                $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn&#8217;t register you&hellip; please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) );
    321321                return $errors;
    322322        }
    323323
  • 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 ) . '&hellip;';
     91        $excerpt = wp_html_excerpt( $excerpt, 252 ) . '&hellip;';
    9292
    9393        $comment_post_ID = (int) $tb_id;
    9494        $comment_author = $blog_name;