[wp-trac] [WordPress Trac] #28947: Updating translations... Footer out of place.

WordPress Trac noreply at wordpress.org
Tue Jul 29 08:13:58 UTC 2014


#28947: Updating translations... Footer out of place.
-----------------------------+-----------------------
 Reporter:  avryl            |       Owner:  ocean90
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  4.0
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+-----------------------
Changes (by ocean90):

 * keywords:   => needs-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 When updating a plugin and translations are updated too you have another
 stray closing div tag.


 Source snippet of the iframe:
 {{{
 <p>The update process is starting. This process may take a while on some
 hosts, so please be patient.</p>
 <p>Enabling Maintenance mode…</p>
 <h4>Updating Plugin WordPress Importer (1/1) <span class="spinner
 waiting-1"></span></h4>
 <script type="text/javascript">jQuery('.waiting-1').css("display",
 "inline-block");</script>
 <div class="update-messages hide-if-js" id="progress-1">
         <p>
         Downloading update from <span
 class="code">https://downloads.wordpress.org/plugin/wordpress-
 importer.0.6.1.zip</span>…<br />
         Unpacking the update…<br />
         Installing the latest version…<br />
         Removing the old version of the plugin…<br />
         Plugin updated successfully.<br />
         </p>
 </div>
 <div class="updated">
         <p>WordPress Importer updated successfully. <a
 onclick="jQuery('#progress-1').toggle();jQuery('span', this).toggle();
 return false;" href="#" class="hide-if-no-js"><span>Show
 Details</span><span class="hidden">Hide Details</span>.</a></p>
 </div>
 <script type="text/javascript">jQuery('.waiting-1').hide();</script>
 <script type="text/javascript">
         if ( window.postMessage && JSON ) {
                 window.parent.postMessage( JSON.stringify( { action:
 "decrementUpdateCount", upgradeType: "plugin" } ),
 window.location.protocol + "//" + window.location.hostname );
         }
 </script>
 <p>Disabling Maintenance mode…</p>
 <p>Some of your translations need updating. Sit tight for a few more
 seconds while we update them as well.</p>
 <div class="update-messages lp-show-latest">
         <h4>Updating translations for WordPress (ar)…</h4>
         <p>Downloading translation from <span
 class="code">https://global.wordpress.org/builds/core/4.0-alpha/ar.zip</span>…</p>
         <p>Unpacking the update…</p>
         <p>Installing the latest version…</p>
         <p>Translation updated successfully.</p>
 </div>
 <script type="text/javascript">
         (function( wp ) {
                 if ( wp && wp.updates.decrementCount ) {
                         wp.updates.decrementCount( "translation" );
                 }
         })( window.wp );
 </script>
 </div> // Not needed
 <p>All updates have been completed.</p>
 <p><a href="http://develop.wp.dev/wp-admin/plugins.php" title="Go to
 plugins page" target="_parent">Return to Plugins page</a> | <a
 href="http://develop.wp.dev/wp-admin/update-core.php" title="Go to
 WordPress Updates page" target="_parent">Return to WordPress
 Updates</a></p>
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28947#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list