Changeset 59789
- Timestamp:
- 02/08/2025 03:51:03 PM (12 months ago)
- Location:
- trunk/src
- Files:
-
- 12 edited
-
js/_enqueues/admin/tags.js (modified) (1 diff)
-
js/_enqueues/lib/ajax-response.js (modified) (1 diff)
-
js/_enqueues/wp/theme-plugin-editor.js (modified) (1 diff)
-
js/_enqueues/wp/updates.js (modified) (1 diff)
-
wp-admin/customize.php (modified) (1 diff)
-
wp-admin/includes/class-custom-image-header.php (modified) (3 diffs)
-
wp-admin/includes/file.php (modified) (1 diff)
-
wp-admin/includes/revision.php (modified) (1 diff)
-
wp-admin/media-upload.php (modified) (1 diff)
-
wp-admin/network/site-users.php (modified) (1 diff)
-
wp-admin/themes.php (modified) (2 diffs)
-
wp-admin/users.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/tags.js
r53168 r59789 60 60 61 61 } else { 62 $('#ajax-response').empty().append('<div class="error"><p>' + wp.i18n.__( ' Something went wrong.' ) + '</p></div>');62 $('#ajax-response').empty().append('<div class="error"><p>' + wp.i18n.__( 'An error occurred while processing your request. Please try again later.' ) + '</p></div>'); 63 63 tr.children().css('backgroundColor', ''); 64 64 } -
trunk/src/js/_enqueues/lib/ajax-response.js
r58455 r59789 84 84 return !wpAjax.invalidateForm( selector.find('.form-required').filter( function() { return jQuery('input:visible', this).val() === ''; } ) ).length; 85 85 } 86 }, wpAjax || { noPerm: 'Sorry, you are not allowed to do that.', broken: ' Something went wrong.' } );86 }, wpAjax || { noPerm: 'Sorry, you are not allowed to do that.', broken: 'An error occurred while processing your request. Please refresh the page and try again.' } ); 87 87 88 88 // Basic form validation. -
trunk/src/js/_enqueues/wp/theme-plugin-editor.js
r57987 r59789 227 227 { 228 228 code: 'save_error', 229 message: __( ' Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file overFTP.' )229 message: __( 'An error occurred while saving your changes. Please try again. If the problem persists, you may need to manually update the file via FTP.' ) 230 230 }, 231 231 response, -
trunk/src/js/_enqueues/wp/updates.js
r59134 r59789 2334 2334 */ 2335 2335 wp.updates.isValidResponse = function( response, action ) { 2336 var error = __( ' Something went wrong.' ),2336 var error = __( 'An error occurred during the update process. Please try again.' ), 2337 2337 errorMessage; 2338 2338 -
trunk/src/wp-admin/customize.php
r59480 r59789 77 77 if ( in_array( get_post_status( $changeset_post->ID ), array( 'publish', 'trash' ), true ) ) { 78 78 wp_die( 79 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .80 '<p>' . __( ' This changeset cannot be further modified.' ) . '</p>' .79 '<h1>' . __( 'An error occurred while saving your changeset.' ) . '</h1>' . 80 '<p>' . __( 'Please try again or start a new changeset. This changeset cannot be further modified.' ) . '</p>' . 81 81 '<p><a href="' . esc_url( remove_query_arg( 'changeset_uuid' ) ) . '">' . __( 'Customize New Changes' ) . '</a></p>', 82 82 403 -
trunk/src/wp-admin/includes/class-custom-image-header.php
r59554 r59789 831 831 if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { 832 832 wp_die( 833 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .834 '<p>' . __( 'The active theme does not support uploading a custom header image. ' ) . '</p>',833 '<h1>' . __( 'An error occurred while processing your header image.' ) . '</h1>' . 834 '<p>' . __( 'The active theme does not support uploading a custom header image. Please ensure your theme supports custom headers and try again.' ) . '</p>', 835 835 403 836 836 ); … … 1019 1019 if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { 1020 1020 wp_die( 1021 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .1022 '<p>' . __( 'The active theme does not support uploading a custom header image. ' ) . '</p>',1021 '<h1>' . __( 'An error occurred while processing your header image.' ) . '</h1>' . 1022 '<p>' . __( 'The active theme does not support uploading a custom header image. Please ensure your theme supports custom headers and try again.' ) . '</p>', 1023 1023 403 1024 1024 ); … … 1030 1030 ) { 1031 1031 wp_die( 1032 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .1032 '<h1>' . __( 'An error occurred while processing your header image.' ) . '</h1>' . 1033 1033 '<p>' . __( 'The active theme does not support a flexible sized header image.' ) . '</p>', 1034 1034 403 -
trunk/src/wp-admin/includes/file.php
r58975 r59789 636 636 637 637 if ( ! isset( $result['message'] ) ) { 638 $message = __( ' Something went wrong.' );638 $message = __( 'An error occurred. Please try again later.' ); 639 639 } else { 640 640 $message = $result['message']; -
trunk/src/wp-admin/includes/revision.php
r59306 r59789 467 467 <script id="tmpl-revisions-diff" type="text/html"> 468 468 <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> 470 470 <div class="diff"> 471 471 <# _.each( data.fields, function( field ) { #> -
trunk/src/wp-admin/media-upload.php
r56536 r59789 36 36 if ( isset( $action ) && 'edit' === $action && ! $ID ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName 37 37 wp_die( 38 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .39 '<p>' . __( 'Invalid item ID. ' ) . '</p>',38 '<h1>' . __( 'An error occurred during the upload process.' ) . '</h1>' . 39 '<p>' . __( 'Invalid item ID. You can view all media items in the <a href="upload.php">Media Library</a>.' ) . '</p>', 40 40 403 41 41 ); -
trunk/src/wp-admin/network/site-users.php
r59784 r59789 156 156 if ( ! is_user_member_of_blog( $user_id ) ) { 157 157 wp_die( 158 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .158 '<h1>' . __( 'An error occurred.' ) . '</h1>' . 159 159 '<p>' . __( 'One of the selected users is not a member of this site.' ) . '</p>', 160 160 403 -
trunk/src/wp-admin/themes.php
r59784 r59789 25 25 if ( ! $theme->exists() || ! $theme->is_allowed() ) { 26 26 wp_die( 27 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .27 '<h1>' . __( 'An error occurred.' ) . '</h1>' . 28 28 '<p>' . __( 'The requested theme does not exist.' ) . '</p>', 29 29 403 … … 68 68 if ( ! $theme->exists() ) { 69 69 wp_die( 70 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .70 '<h1>' . __( 'An error occurred while deleting the theme.' ) . '</h1>' . 71 71 '<p>' . __( 'The requested theme does not exist.' ) . '</p>', 72 72 403 -
trunk/src/wp-admin/users.php
r59784 r59789 156 156 if ( is_multisite() && ! is_user_member_of_blog( $id ) ) { 157 157 wp_die( 158 '<h1>' . __( ' Something went wrong.' ) . '</h1>' .158 '<h1>' . __( 'An error occurred.' ) . '</h1>' . 159 159 '<p>' . __( 'One of the selected users is not a member of this site.' ) . '</p>', 160 160 403
Note: See TracChangeset
for help on using the changeset viewer.