From 9bb3e2ca730c4824a764364bc502fee93bf928a3 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sun, 27 Sep 2009 18:54:17 +0000 Subject: [PATCH] Hide "Attach" link for media (which requires JS) if no JS available. (BUGS ON A PLANE!) git-svn-id: https://develop.svn.wordpress.org/trunk@11979 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 4c46386429..6180d0b0a6 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -394,7 +394,7 @@ foreach ($arc_result as $arc_row) { $actions['trash'] = "ID) . "'>" . __('Trash') . ""; $actions['view'] = '' . __('View') . ''; if ( current_user_can('edit_post', $post->ID) ) - $actions['attach'] = ''.__('Attach').''; + $actions['attach'] = ''.__('Attach').''; $actions = apply_filters( 'media_row_actions', $actions, $post ); $action_count = count($actions); $i = 0;