add meta title EOL

This commit is contained in:
2024-03-15 22:21:19 +03:00
parent bc5e0cc75e
commit 801624e554

View File

@@ -574,7 +574,7 @@ function custom_meta_tags() {
$og_tags .= '<meta property="og:url" content="' . esc_url($current_url) . '" />' . PHP_EOL;
}
if (!empty($title)) {
$meta_tags .= '<title>' . esc_html($title) . '</title>';
$meta_tags .= '<title>' . esc_html($title) . '</title>'. PHP_EOL;
$og_tags .= '<meta property="og:title" content="'. esc_html($title) .'" />'. PHP_EOL;
}
if (!empty($description)) {