0 ) { return array( new Result( 'health.status', Result::CRITICAL, /* translators: %d: number of issues */ sprintf( _n( 'Site Health reports %d critical issue', 'Site Health reports %d critical issues', $critical, 'keepwatch' ), $critical ), __( 'Critical issues can affect security or performance.', 'keepwatch' ), $url, __( 'Open Site Health', 'keepwatch' ) ), ); } if ( $recommended > 0 ) { return array( new Result( 'health.status', Result::RECOMMENDED, /* translators: %d: number of improvements */ sprintf( _n( 'Site Health suggests %d improvement', 'Site Health suggests %d improvements', $recommended, 'keepwatch' ), $recommended ), '', $url, __( 'Open Site Health', 'keepwatch' ) ), ); } return array( new Result( 'health.status', Result::GOOD, __( 'Site Health looks good', 'keepwatch' ) ) ); } }