Make WordPress Core


Ignore:
Timestamp:
02/08/2025 03:51:03 PM (4 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/file.php

    r58975 r59789  
    636636
    637637            if ( ! isset( $result['message'] ) ) {
    638                 $message = __( 'Something went wrong.' );
     638                $message = __( 'An error occurred. Please try again later.' );
    639639            } else {
    640640                $message = $result['message'];
Note: See TracChangeset for help on using the changeset viewer.