WP-2235 Removed unneeded code. We now remove the edit button for all media forms.