Make WordPress Core


Ignore:
Timestamp:
02/08/2025 03:51:03 PM (13 months ago)
Author:
audrasjb
Message:

Administration: Error messages improvements in WP Admin.

This changeset improves a bunch of WP-Admin error messages, notably replacing the good old cryptic "Something went wrong" message with more helpful information.

Props peterwilsoncc, netweb, karmatosed, JoshuaWold, mrtortai, audrasjb, sukhendu2002, joedolson.
See #43622.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/revision.php

    r59306 r59789  
    467467    <script id="tmpl-revisions-diff" type="text/html">
    468468        <div class="loading-indicator"><span class="spinner"></span></div>
    469         <div class="diff-error"><?php _e( 'Sorry, something went wrong. The requested comparison could not be loaded.' ); ?></div>
     469        <div class="diff-error"><?php _e( 'An error occurred while loading the comparison. Please refresh the page and try again.' ); ?></div>
    470470        <div class="diff">
    471471        <# _.each( data.fields, function( field ) { #>
Note: See TracChangeset for help on using the changeset viewer.