Make WordPress Core


Ignore:
Timestamp:
02/19/2018 02:12:41 AM (7 years ago)
Author:
peterwilsoncc
Message:

General: Further improve error messages following [42648].

Props kristastevens, melchoyce.
Fixes #38332 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r42678 r42719  
    448448
    449449        if ( ! $message ) {
    450             $message = __( 'An error has occurred.' );
     450            $message = __( 'Something went wrong.' );
    451451        }
    452452
     
    513513            } else {
    514514                wp_die(
    515                     '<h1>' . __( 'You don&#8217;t have permission to do this.' ) . '</h1>' .
     515                    '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
    516516                    '<p>' . __( 'Sorry, you are not allowed to customize this site.' ) . '</p>',
    517517                    403
Note: See TracChangeset for help on using the changeset viewer.