Changeset 33729
- Timestamp:
- 08/25/2015 12:12:59 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/schema.php
r33621 r33729 468 468 'large_size_w' => 1024, 469 469 'large_size_h' => 1024, 470 'image_default_link_type' => ' file',470 'image_default_link_type' => 'none', 471 471 'image_default_size' => '', 472 472 'image_default_align' => '', -
trunk/src/wp-includes/js/media-views.js
r33337 r33729 1183 1183 this._displays = []; 1184 1184 this._defaultDisplaySettings = { 1185 align: defaultProps.align || getUserSetting( 'align', 'none' ),1186 size: defaultProps.size || getUserSetting( 'imgsize', 'medium' ),1187 link: defaultProps.link || getUserSetting( 'urlbutton', 'file' )1185 align: getUserSetting( 'align', defaultProps.align ) || 'none', 1186 size: getUserSetting( 'imgsize', defaultProps.size ) || 'medium', 1187 link: getUserSetting( 'urlbutton', defaultProps.link ) || 'none' 1188 1188 }; 1189 1189 }, -
trunk/src/wp-includes/js/media/controllers/library.js
r33337 r33729 140 140 this._displays = []; 141 141 this._defaultDisplaySettings = { 142 align: defaultProps.align || getUserSetting( 'align', 'none' ),143 size: defaultProps.size || getUserSetting( 'imgsize', 'medium' ),144 link: defaultProps.link || getUserSetting( 'urlbutton', 'file' )142 align: getUserSetting( 'align', defaultProps.align ) || 'none', 143 size: getUserSetting( 'imgsize', defaultProps.size ) || 'medium', 144 link: getUserSetting( 'urlbutton', defaultProps.link ) || 'none' 145 145 }; 146 146 }, -
trunk/src/wp-includes/media-template.php
r33329 r33729 653 653 <option value="file"> 654 654 <# } else { #> 655 <option value="file" selected> 655 <option value="none" selected> 656 <?php esc_attr_e('None'); ?> 657 </option> 658 <option value="file"> 656 659 <# } #> 657 660 <# if ( data.model.canEmbed ) { #> … … 671 674 <option value="custom"> 672 675 <?php esc_attr_e('Custom URL'); ?> 673 </option>674 <option value="none">675 <?php esc_attr_e('None'); ?>676 676 </option> 677 677 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.