*/ public function scan(): array { $html = $this->fetch_home(); $third = array(); $forms = 0; $inline = 0; $blocked = 0; $error = ''; if ( is_wp_error( $html ) ) { // Guardo el motivo: sin él, un diagnóstico que no pudo leer el sitio // informaría igual y parecería haber mirado algo. $error = (string) $html->get_error_message(); $html = ''; } if ( is_string( $html ) && '' !== $html ) { $third = Script_Blocker::detect( $html ); $forms = (int) preg_match_all( '#