PageRenderTime 29ms CodeModel.GetById 26ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-content/plugins/wordpress-seo/admin/config-ui/fields/class-field-title-intro.php

https://bitbucket.org/carloskikea/helpet
PHP | 29 lines | 13 code | 5 blank | 11 comment | 0 complexity | baa61f4ba9664a844805444e06d20d03 MD5 | raw file
 1<?php
 2/**
 3 * WPSEO plugin file.
 4 *
 5 * @package WPSEO\Admin\ConfigurationUI
 6 */
 7
 8/**
 9 * Class WPSEO_Config_Field_Title_Intro
10 */
11class WPSEO_Config_Field_Title_Intro extends WPSEO_Config_Field {
12
13	/**
14	 * WPSEO_Config_Field_Social_Profiles_Intro constructor.
15	 */
16	public function __construct() {
17		parent::__construct( 'titleIntro', 'HTML' );
18
19		$html = __( 'On this page, you can change the name of your site and choose which
20 separator to use. The separator will display, for instance, between your
21 post title and site name. Symbols are shown in the size they\'ll appear in
22 the search results. Choose the one that fits your brand best or takes up
23 the least space in the snippets.', 'wordpress-seo' );
24
25		$html = '<p>' . esc_html( $html ) . '</p>';
26
27		$this->set_property( 'html', $html );
28	}
29}