Changeset 42719 for trunk/src/wp-admin/custom-header.php
- Timestamp:
- 02/19/2018 02:12:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-header.php
r42648 r42719 759 759 if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { 760 760 wp_die( 761 '<h1>' . __( ' An error has occurred.' ) . '</h1>' .761 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 762 762 '<p>' . __( 'The current theme does not support uploading a custom header image.' ) . '</p>', 763 763 403 … … 923 923 if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { 924 924 wp_die( 925 '<h1>' . __( ' An error has occurred.' ) . '</h1>' .925 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 926 926 '<p>' . __( 'The current theme does not support uploading a custom header image.' ) . '</p>', 927 927 403 … … 931 931 if ( ! empty( $_POST['skip-cropping'] ) && ! ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) ) { 932 932 wp_die( 933 '<h1>' . __( ' An error has occurred.' ) . '</h1>' .933 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 934 934 '<p>' . __( 'The current theme does not support a flexible sized header image.' ) . '</p>', 935 935 403
Note: See TracChangeset
for help on using the changeset viewer.