Add check for wp author when connecting a photo