WordPress.org

Make WordPress Core

Changeset 28991


Ignore:
Timestamp:
07/04/2014 02:05:22 AM (5 years ago)
Author:
wonderboymusic
Message:

The MCE view for galleries needs to read wp.media.galleryDefaults.columns after [28990].

See #28693.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/mce-view.js

    r28919 r28991  
    378378                options = {
    379379                    attachments: attachments,
    380                     columns: attrs.columns ? parseInt( attrs.columns, 10 ) : 3
     380                    columns: attrs.columns ? parseInt( attrs.columns, 10 ) : wp.media.galleryDefaults.columns
    381381                };
    382382
Note: See TracChangeset for help on using the changeset viewer.