run( true ); $brand = get_option( 'evoka_report_brand', '' ); $brand = $brand ? $brand : get_bloginfo( 'name' ); $this->document( $data, $brand ); } /** * Output the report markup. Styling comes entirely from the enqueued * assets/report.css (the badge colour from a grade class), never inlined. * * @param array $data Audit result. * @param string $brand Brand/label for the header. */ private function document( $data, $brand ) { $score = isset( $data['score'] ) ? (int) $data['score'] : 0; $grade = isset( $data['grade'] ) ? $data['grade'] : 'F'; $fixes = isset( $data['fixes'] ) ? $data['fixes'] : array(); $checks = isset( $data['checks'] ) ? $data['checks'] : array(); $site = get_bloginfo( 'name' ); $url = home_url( '/' ); $date = date_i18n( get_option( 'date_format' ) ); ?>



/100 -