Changeset 22715
- Timestamp:
- 11/20/2012 02:38:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/media-upload.js
r22714 r22715 215 215 defaults: { 216 216 order: 'ASC', 217 orderby: 'post__in',218 217 id: wp.media.view.settings.postId, 219 218 itemtag: 'dl', … … 280 279 if ( attrs.ids && 'post__in' === attrs.orderby ) 281 280 delete attrs.orderby; 281 282 // Remove default attributes from the shortcode. 283 _.each( wp.media.gallery.defaults, function( value, key ) { 284 if ( value === attrs[ key ] ) 285 delete attrs[ key ]; 286 }); 282 287 283 288 shortcode = new wp.shortcode({
Note: See TracChangeset
for help on using the changeset viewer.