Skip to content

Commit

Permalink
Update functions.php
Browse files Browse the repository at this point in the history
utf-8 instead of utc-8
Thanks, Paul.
  • Loading branch information
bbannon authored Nov 1, 2023
1 parent 3d0255b commit 777aceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5557,7 +5557,7 @@ function remember_this_view ( $view = false ) {
*
* @param string $doc_title
*
* @global string charset Usually 'utc-8'.
* @global string charset Usually 'utf-8'.
* @global string lang User's browser language preference.
* @global string LANGUAGE What we think the user wants.
*
Expand All @@ -5566,7 +5566,7 @@ function remember_this_view ( $view = false ) {
function send_doctype ( $doc_title = '' ) {
global $charset, $lang, $LANGUAGE;

$charset = ( translate ( 'charset' ) ?: 'utc-8' );
$charset = ( translate ( 'charset' ) ?: 'utf-8' );
$lang = ( languageToAbbrev ( $LANGUAGE ) ?: $_COOKIE['lang'] ?: 'en' );

return "<!DOCTYPE html>
Expand Down

0 comments on commit 777aceb

Please sign in to comment.