Ticket #21407: 21407.diff
| File 21407.diff, 818 bytes (added by DrewAPicture, 10 months ago) |
|---|
-
wp-admin/includes/media.php
1369 1369 $large_size_w = absint( get_option('large_size_w') ); 1370 1370 if( !$large_size_w ) 1371 1371 $large_size_w = 1024; 1372 1373 $dimensions = $args = ''; 1374 1375 $dimensions = array( 1376 'height' => $large_size_h, 1377 'width' => $large_size_w 1378 ); 1379 1380 $args = apply_filters( 'resize_upload_dimensions', $args ); 1381 1382 extract( wp_parse_args( $args, $dimensions ) ); 1372 1383 ?> 1373 var resize_height = <?php echo $large_size_h; ?>, resize_width = <?php echo $large_size_w; ?>, 1384 1385 var resize_height = <?php echo $height; ?>, resize_width = <?php echo $width; ?>, 1374 1386 wpUploaderInit = <?php echo json_encode($plupload_init); ?>; 1375 1387 </script> 1376 1388
