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:
Daryl Koopersmith 2013-01-03 06:09:09 +00:00
parent f0a8acc6b6
commit 781ab16abe

View File

@ -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'
}, },