<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[12533] trunk/wp-admin: Consitent use of ?\226?\128?
 \166 Fixes #10374 props demetris.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/12533">12533</a></dd>
<dt>Author</dt> <dd>westi</dd>
<dt>Date</dt> <dd>2009-12-24 09:46:57 +0000 (Thu, 24 Dec 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>Consitent use of ?\226?\128?\166 Fixes <a href="http://trac.wordpress.org/ticket/10374">#10374</a> props demetris.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminimportlivejournalphp">trunk/wp-admin/import/livejournal.php</a></li>
<li><a href="#trunkwpadminincludesclasswpupgraderphp">trunk/wp-admin/includes/class-wp-upgrader.php</a></li>
<li><a href="#trunkwpadminincludesupdatecorephp">trunk/wp-admin/includes/update-core.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminimportlivejournalphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/import/livejournal.php (12532 => 12533)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/import/livejournal.php        2009-12-24 09:30:12 UTC (rev 12532)
+++ trunk/wp-admin/import/livejournal.php        2009-12-24 09:46:57 UTC (rev 12533)
</span><span class="lines">@@ -842,7 +842,7 @@
</span><span class="cx">                 $this-&gt;ixr = new IXR_Client( $this-&gt;ixr_url, false, 80, 30 );
</span><span class="cx"> 
</span><span class="cx">                 echo '&lt;div id=&quot;ljapi-status&quot;&gt;';
</span><del>-                echo '&lt;h3&gt;' . __( 'Downloading Comments' ) . '&lt;/h3&gt;';
</del><ins>+                echo '&lt;h3&gt;' . __( 'Downloading Comments&amp;#8230;' ) . '&lt;/h3&gt;';
</ins><span class="cx">                 echo '&lt;p&gt;' . __( 'Now we will download your comments so we can import them (this could take a &lt;strong&gt;long&lt;/strong&gt; time if you have lots of comments)...' ) . '&lt;/p&gt;';
</span><span class="cx">                 ob_flush(); flush();
</span><span class="cx"> 
</span><span class="lines">@@ -890,7 +890,7 @@
</span><span class="cx">                 update_option( 'ljapi_step', 3 );
</span><span class="cx"> 
</span><span class="cx">                 echo '&lt;div id=&quot;ljapi-status&quot;&gt;';
</span><del>-                echo '&lt;h3&gt;' . __( 'Threading Comments' ) . '&lt;/h3&gt;';
</del><ins>+                echo '&lt;h3&gt;' . __( 'Threading Comments&amp;#8230;' ) . '&lt;/h3&gt;';
</ins><span class="cx">                 echo '&lt;p&gt;' . __( 'We are now re-building the threading of your comments (this can also take a while if you have lots of comments)...' ) . '&lt;/p&gt;';
</span><span class="cx">                 ob_flush(); flush();
</span><span class="cx"> 
</span><span class="lines">@@ -963,12 +963,12 @@
</span><span class="cx">                         });
</span><span class="cx"> 
</span><span class="cx">                         function ljapi_msg() {
</span><del>-                                str = '&lt;?php _e( &quot;Continuing in %d&quot; ) ?&gt;';
</del><ins>+                                str = '&lt;?php _e( &quot;Continuing in %d&amp;#8230;&quot; ) ?&gt;';
</ins><span class="cx">                                 jQuery( '#&lt;?php echo $msg ?&gt;' ).text( str.replace( /%d/, next_counter ) );
</span><span class="cx">                                 if ( next_counter &lt;= 0 ) {
</span><span class="cx">                                         if ( jQuery( '#&lt;?php echo $id ?&gt;' ).length ) {
</span><span class="cx">                                                 jQuery( &quot;#&lt;?php echo $id ?&gt; input[type='submit']&quot; ).hide();
</span><del>-                                                str = '&lt;?php _e( &quot;Continuing&quot; ) ?&gt; &lt;img src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; id=&quot;processing&quot; align=&quot;top&quot; /&gt;';
</del><ins>+                                                str = '&lt;?php _e( &quot;Continuing&amp;#8230;&quot; ) ?&gt; &lt;img src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; id=&quot;processing&quot; align=&quot;top&quot; /&gt;';
</ins><span class="cx">                                                 jQuery( '#&lt;?php echo $msg ?&gt;' ).html( str );
</span><span class="cx">                                                 jQuery( '#&lt;?php echo $id ?&gt;' ).submit();
</span><span class="cx">                                                 return;
</span><span class="lines">@@ -991,7 +991,7 @@
</span><span class="cx">                         });
</span><span class="cx"> 
</span><span class="cx">                         function ljapi_msg() {
</span><del>-                                str = '&lt;?php _e( &quot;Continuing in %d&quot; ) ?&gt;';
</del><ins>+                                str = '&lt;?php _e( &quot;Continuing in %d&amp;#8230;&quot; ) ?&gt;';
</ins><span class="cx">                                 jQuery( '#&lt;?php echo $msg ?&gt;' ).text( str.replace( /%d/, next_counter ) );
</span><span class="cx">                                 if ( next_counter &lt;= 0 ) {
</span><span class="cx">                                         if ( jQuery( '#&lt;?php echo $id ?&gt;' ).length ) {
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpupgraderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-upgrader.php (12532 => 12533)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-upgrader.php        2009-12-24 09:30:12 UTC (rev 12532)
+++ trunk/wp-admin/includes/class-wp-upgrader.php        2009-12-24 09:46:57 UTC (rev 12533)
</span><span class="lines">@@ -51,13 +51,13 @@
</span><span class="cx">                 $this-&gt;strings['fs_no_folder'] = __('Unable to locate needed folder (%s).');
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;strings['download_failed'] = __('Download failed.');
</span><del>-                $this-&gt;strings['installing_package'] = __('Installing the latest version.');
</del><ins>+                $this-&gt;strings['installing_package'] = __('Installing the latest version&amp;#8230;');
</ins><span class="cx">                 $this-&gt;strings['folder_exists'] = __('Destination folder already exists.');
</span><span class="cx">                 $this-&gt;strings['mkdir_failed'] = __('Could not create directory.');
</span><span class="cx">                 $this-&gt;strings['bad_package'] = __('Incompatible Archive');
</span><span class="cx"> 
</span><del>-                $this-&gt;strings['maintenance_start'] = __('Enabling Maintenance mode.');
-                $this-&gt;strings['maintenance_end'] = __('Disabling Maintenance mode.');
</del><ins>+                $this-&gt;strings['maintenance_start'] = __('Enabling Maintenance mode&amp;#8230;');
+                $this-&gt;strings['maintenance_end'] = __('Disabling Maintenance mode&amp;#8230;');
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function fs_connect( $directories = array() ) {
</span><span class="lines">@@ -366,22 +366,22 @@
</span><span class="cx">         function upgrade_strings() {
</span><span class="cx">                 $this-&gt;strings['up_to_date'] = __('The plugin is at the latest version.');
</span><span class="cx">                 $this-&gt;strings['no_package'] = __('Upgrade package not available.');
</span><del>-                $this-&gt;strings['downloading_package'] = __('Downloading update from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;.');
-                $this-&gt;strings['unpack_package'] = __('Unpacking the update.');
-                $this-&gt;strings['deactivate_plugin'] = __('Deactivating the plugin.');
-                $this-&gt;strings['remove_old'] = __('Removing the old version of the plugin.');
</del><ins>+                $this-&gt;strings['downloading_package'] = __('Downloading update from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;&amp;#8230;');
+                $this-&gt;strings['unpack_package'] = __('Unpacking the update&amp;#8230;');
+                $this-&gt;strings['deactivate_plugin'] = __('Deactivating the plugin&amp;#8230;');
+                $this-&gt;strings['remove_old'] = __('Removing the old version of the plugin&amp;#8230;');
</ins><span class="cx">                 $this-&gt;strings['remove_old_failed'] = __('Could not remove the old plugin.');
</span><del>-                $this-&gt;strings['process_failed'] = __('Plugin upgrade Failed.');
</del><ins>+                $this-&gt;strings['process_failed'] = __('Plugin upgrade failed.');
</ins><span class="cx">                 $this-&gt;strings['process_success'] = __('Plugin upgraded successfully.');
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function install_strings() {
</span><span class="cx">                 $this-&gt;strings['no_package'] = __('Install package not available.');
</span><del>-                $this-&gt;strings['downloading_package'] = __('Downloading install package from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;.');
-                $this-&gt;strings['unpack_package'] = __('Unpacking the package.');
-                $this-&gt;strings['installing_package'] = __('Installing the plugin.');
-                $this-&gt;strings['process_failed'] = __('Plugin Install Failed.');
-                $this-&gt;strings['process_success'] = __('Plugin Installed successfully.');
</del><ins>+                $this-&gt;strings['downloading_package'] = __('Downloading install package from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;&amp;#8230;');
+                $this-&gt;strings['unpack_package'] = __('Unpacking the package&amp;#8230;');
+                $this-&gt;strings['installing_package'] = __('Installing the plugin&amp;#8230;');
+                $this-&gt;strings['process_failed'] = __('Plugin install failed.');
+                $this-&gt;strings['process_success'] = __('Plugin installed successfully.');
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function install($package) {
</span><span class="lines">@@ -592,21 +592,21 @@
</span><span class="cx">         function upgrade_strings() {
</span><span class="cx">                 $this-&gt;strings['up_to_date'] = __('The theme is at the latest version.');
</span><span class="cx">                 $this-&gt;strings['no_package'] = __('Upgrade package not available.');
</span><del>-                $this-&gt;strings['downloading_package'] = __('Downloading update from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;.');
-                $this-&gt;strings['unpack_package'] = __('Unpacking the update.');
-                $this-&gt;strings['remove_old'] = __('Removing the old version of the theme.');
</del><ins>+                $this-&gt;strings['downloading_package'] = __('Downloading update from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;&amp;#8230;');
+                $this-&gt;strings['unpack_package'] = __('Unpacking the update&amp;#8230;');
+                $this-&gt;strings['remove_old'] = __('Removing the old version of the theme&amp;#8230;');
</ins><span class="cx">                 $this-&gt;strings['remove_old_failed'] = __('Could not remove the old theme.');
</span><del>-                $this-&gt;strings['process_failed'] = __('Theme upgrade Failed.');
</del><ins>+                $this-&gt;strings['process_failed'] = __('Theme upgrade failed.');
</ins><span class="cx">                 $this-&gt;strings['process_success'] = __('Theme upgraded successfully.');
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function install_strings() {
</span><span class="cx">                 $this-&gt;strings['no_package'] = __('Install package not available.');
</span><del>-                $this-&gt;strings['downloading_package'] = __('Downloading install package from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;.');
-                $this-&gt;strings['unpack_package'] = __('Unpacking the package.');
-                $this-&gt;strings['installing_package'] = __('Installing the theme.');
-                $this-&gt;strings['process_failed'] = __('Theme Install Failed.');
-                $this-&gt;strings['process_success'] = __('Theme Installed successfully.');
</del><ins>+                $this-&gt;strings['downloading_package'] = __('Downloading install package from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;&amp;#8230;');
+                $this-&gt;strings['unpack_package'] = __('Unpacking the package&amp;#8230;');
+                $this-&gt;strings['installing_package'] = __('Installing the theme&amp;#8230;');
+                $this-&gt;strings['process_failed'] = __('Theme install failed.');
+                $this-&gt;strings['process_success'] = __('Theme installed successfully.');
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function install($package) {
</span><span class="lines">@@ -749,8 +749,8 @@
</span><span class="cx">         function upgrade_strings() {
</span><span class="cx">                 $this-&gt;strings['up_to_date'] = __('WordPress is at the latest version.');
</span><span class="cx">                 $this-&gt;strings['no_package'] = __('Upgrade package not available.');
</span><del>-                $this-&gt;strings['downloading_package'] = __('Downloading update from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;.');
-                $this-&gt;strings['unpack_package'] = __('Unpacking the update.');
</del><ins>+                $this-&gt;strings['downloading_package'] = __('Downloading update from &lt;span class=&quot;code&quot;&gt;%s&lt;/span&gt;&amp;#8230;');
+                $this-&gt;strings['unpack_package'] = __('Unpacking the update&amp;#8230;');
</ins><span class="cx">                 $this-&gt;strings['copy_failed'] = __('Could not copy files.');
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -913,7 +913,7 @@
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;plugin = $this-&gt;upgrader-&gt;plugin_info();
</span><span class="cx">                 if( !empty($this-&gt;plugin) &amp;&amp; !is_wp_error($this-&gt;result) &amp;&amp; $this-&gt;plugin_active ){
</span><del>-                        show_message(__('Attempting reactivation of the plugin'));
</del><ins>+                        show_message(__('Reactivating the plugin&amp;#8230;'));
</ins><span class="cx">                         echo '&lt;iframe style=&quot;border:0;overflow:hidden&quot; width=&quot;100%&quot; height=&quot;170px&quot; src=&quot;' . wp_nonce_url('update.php?action=activate-plugin&amp;plugin=' . $this-&gt;plugin, 'activate-plugin_' . $this-&gt;plugin) .'&quot;&gt;&lt;/iframe&gt;';
</span><span class="cx">                 }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesupdatecorephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/update-core.php (12532 => 12533)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/update-core.php        2009-12-24 09:30:12 UTC (rev 12532)
+++ trunk/wp-admin/includes/update-core.php        2009-12-24 09:46:57 UTC (rev 12533)
</span><span class="lines">@@ -235,14 +235,14 @@
</span><span class="cx">                 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 ) );
</span><span class="cx"> 
</span><span class="cx">         // Sanity check the unzipped distribution
</span><del>-        apply_filters('update_feedback', __('Verifying the unpacked files'));
</del><ins>+        apply_filters('update_feedback', __('Verifying the unpacked files&amp;#8230;'));
</ins><span class="cx">         if ( !$wp_filesystem-&gt;exists($from . '/wordpress/wp-settings.php') || !$wp_filesystem-&gt;exists($from . '/wordpress/wp-admin/admin.php') ||
</span><span class="cx">                 !$wp_filesystem-&gt;exists($from . '/wordpress/wp-includes/functions.php') ) {
</span><span class="cx">                 $wp_filesystem-&gt;delete($from, true);
</span><span class="cx">                 return new WP_Error('insane_distro', __('The update could not be unpacked') );
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        apply_filters('update_feedback', __('Installing the latest version'));
</del><ins>+        apply_filters('update_feedback', __('Installing the latest version&amp;#8230;'));
</ins><span class="cx"> 
</span><span class="cx">         // Create maintenance file to signal that we are upgrading
</span><span class="cx">         $maintenance_string = '&lt;?php $upgrading = ' . time() . '; ?&gt;';
</span><span class="lines">@@ -267,7 +267,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         // Upgrade DB with separate request
</span><del>-        apply_filters('update_feedback', __('Upgrading database'));
</del><ins>+        apply_filters('update_feedback', __('Upgrading database&amp;#8230;'));
</ins><span class="cx">         $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db');
</span><span class="cx">         wp_remote_post($db_upgrade_url, array('timeout' =&gt; 60));
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>