src/wp-admin/custom-header.php 1 location
|
@@ 890-896 (lines=7) @@
|
887 |
|
); |
888 |
|
} |
889 |
|
|
890 |
|
if ( ! empty( $_POST['skip-cropping'] ) && ! ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) ) { |
891 |
|
wp_die( |
892 |
|
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . |
893 |
|
'<p>' . __( 'The current theme does not support a flexible sized header image.' ) . '</p>', |
894 |
|
403 |
895 |
|
); |
896 |
|
} |
897 |
|
|
898 |
|
if ( $_POST['oitar'] > 1 ) { |
899 |
|
$_POST['x1'] = $_POST['x1'] * $_POST['oitar']; |
src/wp-admin/media-upload.php 1 location
|
@@ 43-49 (lines=7) @@
|
40 |
|
); |
41 |
|
} |
42 |
|
|
43 |
|
if ( ! empty( $_REQUEST['post_id'] ) && ! current_user_can( 'edit_post' , $_REQUEST['post_id'] ) ) { |
44 |
|
wp_die( |
45 |
|
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . |
46 |
|
'<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>', |
47 |
|
403 |
48 |
|
); |
49 |
|
} |
50 |
|
|
51 |
|
// Upload type: image, video, file, ..? |
52 |
|
if ( isset($_GET['type']) ) { |