Changeset 42811 for branches/4.9/src/wp-admin/custom-header.php
- Timestamp:
- 03/09/2018 12:14:20 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 42648,42719
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-admin/custom-header.php
r41937 r42811 720 720 if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { 721 721 wp_die( 722 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .722 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 723 723 '<p>' . __( 'The current theme does not support uploading a custom header image.' ) . '</p>', 724 724 403 … … 878 878 if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { 879 879 wp_die( 880 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .880 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 881 881 '<p>' . __( 'The current theme does not support uploading a custom header image.' ) . '</p>', 882 882 403 … … 886 886 if ( ! empty( $_POST['skip-cropping'] ) && ! ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) ) { 887 887 wp_die( 888 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .888 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 889 889 '<p>' . __( 'The current theme does not support a flexible sized header image.' ) . '</p>', 890 890 403
Note: See TracChangeset
for help on using the changeset viewer.