WordPress.org

Make WordPress Core

Changeset 33305


Ignore:
Timestamp:
07/17/2015 04:06:42 AM (3 years ago)
Author:
dd32
Message:

Updates: Display the failure reason in addition to 'Update Failed', allows for debugging by site owners.

Merges the behaviour of [32779] to the 4.2 branch without a string change.
See #32435, #32473

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/src/wp-admin/js/updates.js

    r33304 r33305  
    264264        }
    265265        $message.removeClass( 'updating-message' );
    266         $message.text( wp.updates.l10n.updateFailed );
     266        $message.html( wp.updates.l10n.updateFailed + ': ' + response.error );
    267267        wp.a11y.speak( wp.updates.l10n.updateFailed );
    268268
Note: See TracChangeset for help on using the changeset viewer.