From 5f15bf9db2a2c9e5f367b513387dc813ad20f683 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 1 Dec 2010 20:41:47 +0000 Subject: [PATCH] Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621 git-svn-id: http://svn.automattic.com/wordpress/trunk@16669 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index d5eb526933..d59aba3d92 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -383,7 +383,7 @@ function media_buttons() { add_action( 'media_buttons', 'media_buttons' ); function _media_button($title, $icon, $type) { - return "$title"; + return "$title"; } function get_upload_iframe_src($type) {