Ticket #19174: 19174.patch
File 19174.patch, 1.2 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/media.php
2001 2001 <p class="hide-if-no-js"><label> 2002 2002 <input name="image_resize" type="checkbox" id="image_resize" value="true"<?php echo $checked; ?> /> 2003 2003 <?php 2004 /* translators: %1$s is link start tag, %2$s is link end tag, %3$d is width, %4$d is height*/ 2005 printf( __( 'Scale images to match the large size selected in %1$simage options%2$s (%3$d × %4$d).' ), $a, $end, (int) get_option( 'large_size_w', '1024' ), (int) get_option( 'large_size_h', '1024' ) ); 2004 print( __( 'Scale down large images' ) ); 2006 2005 ?> 2007 2006 </label></p> 2007 <p class="hide-if-no-js"> 2008 2008 <?php 2009 /* translators: %1$s is link start tag, %2$s is link end tag, %3$d is width, %4$d is height*/ 2010 printf( __( 'Images will be proportionally resized to the large size selected in %1$simage options%2$s (%3$d × %4$d) if they are bigger.' ), $a, $end, (int) get_option( 'large_size_w', '1024' ), (int) get_option( 'large_size_h', '1024' ) ); 2011 ?> 2012 </p> 2013 <?php 2009 2014 } 2010 2015 2011 2016 add_action( 'post-upload-ui', 'media_upload_max_image_resize' );