- Timestamp:
- 02/08/2025 03:51:03 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.