fix BuddyPress privacy issue after media edit