options_reading_blog_charset

The timeline below displays how wordpress function options_reading_blog_charset has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.2

/**
 * Render the site charset setting.
 *
 * @since 3.5.0
 */
function options_reading_blog_charset()
{
    echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr(get_option('blog_charset')) . '" class="regular-text" />';
    echo '<p class="description">' . __('The <a href="https://wordpress.org/documentation/article/wordpress-glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)') . '</p>';
}

WordPress Version: 5.3

/**
 * Render the site charset setting.
 *
 * @since 3.5.0
 */
function options_reading_blog_charset()
{
    echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr(get_option('blog_charset')) . '" class="regular-text" />';
    echo '<p class="description">' . __('The <a href="https://wordpress.org/support/article/glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)') . '</p>';
}

WordPress Version: 4.5

/**
 * Render the site charset setting.
 *
 * @since 3.5.0
 */
function options_reading_blog_charset()
{
    echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr(get_option('blog_charset')) . '" class="regular-text" />';
    echo '<p class="description">' . __('The <a href="https://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended)') . '</p>';
}

WordPress Version: 4.2

/**
 * Render the blog charset setting.
 *
 * @since 3.5.0
 */
function options_reading_blog_charset()
{
    echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr(get_option('blog_charset')) . '" class="regular-text" />';
    echo '<p class="description">' . __('The <a href="https://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended)') . '</p>';
}

WordPress Version: 3.7

/**
 * Render the blog charset setting.
 *
 * @since 3.5.0
 */
function options_reading_blog_charset()
{
    echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr(get_option('blog_charset')) . '" class="regular-text" />';
    echo '<p class="description">' . __('The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended)') . '</p>';
}