Added validate function to check authors field wp-1205