From 9d18117a9458931be59fda25fe8b5f20ad7f8b61 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 1 Dec 2010 16:34:20 +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/branches/3.0@16646 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 e5c89e071a..878e26e347 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -379,7 +379,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) {