Ticket #40524: 40524.patch
File 40524.patch, 608 bytes (added by , 7 years ago) |
---|
-
media-template.php
737 737 <span><?php _e('Columns'); ?></span> 738 738 <select class="columns" name="columns" 739 739 data-setting="columns"> 740 <?php for ( $i = 1; $i <= 9; $i++ ) : ?>740 <?php for ( $i = 1; $i <= apply_filters( 'gallery_settings_columns_count', 9 ); $i++ ) : ?> 741 741 <option value="<?php echo esc_attr( $i ); ?>" <# 742 742 if ( <?php echo $i ?> == wp.media.galleryDefaults.columns ) { #>selected="selected"<# } 743 743 #>>