Changeset 29283
- Timestamp:
- 07/24/2014 07:34:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r29281 r29283 679 679 <# } #>> 680 680 681 <option value="post" selected> 681 <option value="post" <# if ( ! wp.media.galleryDefaults.link || 'post' == wp.media.galleryDefaults.link ) { 682 #>selected="selected"<# } 683 #>> 682 684 <?php esc_attr_e('Attachment Page'); ?> 683 685 </option> 684 <option value="file" >686 <option value="file" <# if ( 'file' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>> 685 687 <?php esc_attr_e('Media File'); ?> 686 688 </option> 687 <option value="none" >689 <option value="none" <# if ( 'none' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>> 688 690 <?php esc_attr_e('None'); ?> 689 691 </option> … … 696 698 data-setting="columns"> 697 699 <?php for ( $i = 1; $i <= 9; $i++ ) : ?> 698 <option value="<?php echo esc_attr( $i ); ?>" <?php selected( $i, 3 ); ?>> 700 <option value="<?php echo esc_attr( $i ); ?>" <# 701 if ( <?php echo $i ?> == wp.media.galleryDefaults.columns ) { #>selected="selected"<# } 702 #>> 699 703 <?php echo esc_html( $i ); ?> 700 704 </option>
Note: See TracChangeset
for help on using the changeset viewer.