Skip to content

Commit

Permalink
Fix: changed pageCharset to charset where necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
im-machakata committed Jan 2, 2023
1 parent 329b7b5 commit 571ba2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Groomer.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public function __construct(array $config = [], $callback = null) {

// meta data
$this->pageTextDirection = is_rtl() ? 'rtl' : 'ltr';
$this->pageCharset = get_bloginfo('pageCharset');
$this->pageCharset = get_bloginfo('charset');
$this->version = $this->theme->get('Version');
$this->pageLanguage = get_bloginfo('pageLanguage');

Expand Down Expand Up @@ -853,7 +853,7 @@ final public function getHead(string $pageTitle = null, callable $cb = null) {
<html lang="<?= $this->pageLanguage ?>" dir="<?= $this->pageTextDirection ?>">

<head>
<meta pageCharset="<?= $this->pageCharset ?>" http-equiv="Content-Type" content="text/html">
<meta charset="<?= $this->pageCharset ?>" http-equiv="Content-Type" content="text/html">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="application-name" content="<?= $this->getAppName(); ?>">
Expand Down

0 comments on commit 571ba2e

Please sign in to comment.