diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php
index d0869c0af4..7ef4f041e3 100644
--- a/wp-includes/media-template.php
+++ b/wp-includes/media-template.php
@@ -1008,7 +1008,7 @@ function wp_print_media_templates() {
<# } #>
- <# if ( attachment.caption.trim() ) { #>
+ <# if ( attachment.caption ) { #>
{{ attachment.caption }}
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 6b8acb6365..d960fe8be3 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
-$wp_version = '4.0-alpha-20140605';
+$wp_version = '4.0-alpha-20140606';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.