Changeset 30356 for trunk/src/wp-admin/custom-header.php
- Timestamp:
- 11/16/2014 06:15:29 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-header.php
r30327 r30356 740 740 check_admin_referer('custom-header-upload', '_wpnonce-custom-header-upload'); 741 741 if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) 742 wp_die( __( 'Cheatin’ uh?' ) );742 wp_die( __( 'Cheatin’ uh?' ), 403 ); 743 743 744 744 if ( empty( $_POST ) && isset( $_GET['file'] ) ) { … … 891 891 892 892 if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) 893 wp_die( __( 'Cheatin’ uh?' ) );893 wp_die( __( 'Cheatin’ uh?' ), 403 ); 894 894 895 895 if ( ! empty( $_POST['skip-cropping'] ) && ! ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) ) 896 wp_die( __( 'Cheatin’ uh?' ) );896 wp_die( __( 'Cheatin’ uh?' ), 403 ); 897 897 898 898 if ( $_POST['oitar'] > 1 ) {
Note: See TracChangeset
for help on using the changeset viewer.