mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Don't include the default columns="3" in a gallery shortcode.
Shortcode attributes are strings; fix a variable type error in wp.media.gallery defaults. props adamsilverstein. see #22919. git-svn-id: http://core.svn.wordpress.org/trunk@23247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f0a8acc6b6
commit
781ab16abe
@ -167,7 +167,7 @@
|
|||||||
itemtag: 'dl',
|
itemtag: 'dl',
|
||||||
icontag: 'dt',
|
icontag: 'dt',
|
||||||
captiontag: 'dd',
|
captiontag: 'dd',
|
||||||
columns: 3,
|
columns: '3',
|
||||||
size: 'thumbnail',
|
size: 'thumbnail',
|
||||||
orderby: 'menu_order ID'
|
orderby: 'menu_order ID'
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user