Files
Testing/tbb/wp-content/plugins/wordpress-seo/admin/config-ui/fields/class-field-google-search-console-intro.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

35 lines
1.2 KiB
PHP

<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\ConfigurationUI
*/
/**
* Class WPSEO_Config_Field_Google_Search_Console_Intro.
*/
class WPSEO_Config_Field_Google_Search_Console_Intro extends WPSEO_Config_Field {
/**
* WPSEO_Config_Field_Social_Profiles_Intro constructor.
*/
public function __construct() {
parent::__construct( 'googleSearchConsoleIntro', 'HTML' );
$html =
sprintf(
/* translators: %1$s is the plugin name. %2$s is a link start tag to a Yoast help page, %3$s is the link closing tag. */
esc_html__( '%1$s integrates with Google Search Console, a must-have tool for site owners. It provides you with information about the health of your site. Don\'t have a Google account or is your site not activated yet? Find out %2$show to connect Google Search Console to your site%3$s.', 'wordpress-seo' ),
'Yoast SEO',
'<a href="' . esc_url( WPSEO_Shortlinker::get( 'https://yoa.st/1ex' ) ) . '" target="_blank">',
'</a>'
);
$disclaimer = __( 'Note: we don\'t store your data in any way and don\'t have full access to your account. Your privacy is safe with us.', 'wordpress-seo' );
$html = '<p>' . $html . '</p><small>' . esc_html( $disclaimer ) . '</small>';
$this->set_property( 'html', $html );
}
}