Oh dear, need admin_notices instead of wpseo_all_admin_notices of course as this notice will more likely display on a post save. Moved function to more appropriate file too.