Ticket #35101: 35101.diff
File 35101.diff, 650 bytes (added by , 9 years ago) |
---|
-
media-views.js
1182 1182 var defaultProps = wp.media.view.settings.defaultProps; 1183 1183 this._displays = []; 1184 1184 this._defaultDisplaySettings = { 1185 align: getUserSetting( 'align', defaultProps.align )|| 'none',1186 size: getUserSetting( 'imgsize', defaultProps.size )|| 'medium',1187 link: getUserSetting( 'urlbutton', defaultProps.link )|| 'none'1185 align: defaultProps.align || 'none', 1186 size: defaultProps.size || 'medium', 1187 link: defaultProps.link || 'none' 1188 1188 }; 1189 1189 }, 1190 1190