Ryte_Reports::get_response_error_result_description()privateYoast 1.0

Returns the description for when the health check got an error response from Ryte.

{} Это метод класса: Ryte_Reports{}

Хуков нет.


Строку. The description.


// private - только в коде основоного (родительского) класса
$result = $this->get_response_error_result_description( $error_response );
$error_response(массив) (обязательный)
The error response from Ryte.

Код Ryte_Reports::get_response_error_result_description() Yoast 19.2

private function get_response_error_result_description( $error_response ) {
	return sprintf(
		/* translators: %1$s: Expands to 'Ryte', %2$s: Expands to 'Yoast SEO'. */
			esc_html__( '%1$s offers a free indexability check for %2$s users. The request to %1$s to check whether your site can be found by search engines failed due to an error.', 'wordpress-seo' ),
			'Yoast SEO'
		/* translators: 1: The Ryte response raw error code, if any. 2: The error message. 3: The WordPress error code, if any. */
			__( 'Error details: %1$s %2$s %3$s', 'wordpress-seo' ),