From 9d44f5c57daf0aace2bd04bb2b231e7785f1e4c4 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Wed, 10 Oct 2012 23:55:45 +0000 Subject: [PATCH] Add caption and title default values for the attachment view template. see #21390, #21807. git-svn-id: http://core.svn.wordpress.org/trunk@22174 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/media-views.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index 3c5436db58..19238fd913 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -413,7 +413,9 @@ type: '', subtype: '', icon: '', - filename: '' + filename: '', + caption: '', + title: '' }); options.buttons = this.buttons;