mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
The MCE view for galleries needs to read wp.media.galleryDefaults.columns
after [28990].
See #28693. Built from https://develop.svn.wordpress.org/trunk@28991 git-svn-id: http://core.svn.wordpress.org/trunk@28779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1571d3c47c
commit
1637dbe164
@ -377,7 +377,7 @@ window.wp = window.wp || {};
|
||||
|
||||
options = {
|
||||
attachments: attachments,
|
||||
columns: attrs.columns ? parseInt( attrs.columns, 10 ) : 3
|
||||
columns: attrs.columns ? parseInt( attrs.columns, 10 ) : wp.media.galleryDefaults.columns
|
||||
};
|
||||
|
||||
return this.template( options );
|
||||
|
2
wp-includes/js/mce-view.min.js
vendored
2
wp-includes/js/mce-view.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user