add( $this->inconclusive( Code::CONFIG_INCOMPLETE ) ); return $findings; } /** * Read the fields this check sends, as the save path will store them. * * Each check knows its own fields, so each one casts and checks its own. `Options` stores * every credential field but the SMTP password through `sanitize_text_field()`, and a probe * reading the submitted bytes instead would test a value the site is never going to send. * * A field the wizard's form will not submit empty, arriving empty, is a request no client of * this check produces, so the run stops rather than asking a provider about a value it was * never given. * * @since 4.10.0 * * @param array $config Mailer options as submitted. * * @return array|null Null when a value leaves nothing to probe. */ abstract protected function sanitize_config( $config ); }