From 1280773f4d90700b648edb948d90676a8d437d13 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 29 Mar 2013 12:17:52 +0000 Subject: [PATCH] Gallery is a no-UI post format. git-svn-id: http://core.svn.wordpress.org/trunk@23863 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/post-formats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/js/post-formats.js b/wp-admin/js/post-formats.js index f389da93c2..4ee97a446a 100644 --- a/wp-admin/js/post-formats.js +++ b/wp-admin/js/post-formats.js @@ -1,7 +1,7 @@ window.wp = window.wp || {}; (function($) { - var container, mediaFrame, lastMimeType, lastMenu, mediaPreview, noUIFormats = ['standard', 'chat', 'status', 'aside']; + var container, mediaFrame, lastMimeType, lastMenu, mediaPreview, noUIFormats = ['standard', 'chat', 'status', 'aside', 'gallery']; function switchFormatClass( format ) { container.get(0).className = container.get(0).className.replace( /\bwp-format-[^ ]+/, '' );