Fixes PHP Warning: Undefined variable $file_meta

- Umlauts and special characters for the meta description extended
- Many thanks for reporting to Laborix
This commit is contained in:
Frank Hochmuth 2023-12-27 18:38:51 +01:00 committed by GitHub
parent f9cc9ad0fe
commit af14f3f906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ global $prepend_keywords;
// IMPORTANT: For non LATIN-1 countries
// ADD additional characters that you want to allow in your meta tags here
$keep_char = "ășțîâÄäÜüÖößſ£¢ÆæëËÏÁáÉéÍíÓóÚúIJijÅ娸ÀàÂÈèÉéÊêÎïÔôÙùÛûÇçÿŸÌìÒò¡¿ªºÑñÃãÕõŠšŽžČčĎďĚěŇňŘřŤťŮůŐőŰűĞğİıŞş";
$keep_char = "€ƒ†‡‰™ŠŒŽ‘’“”•–—˜™š›œžŸ¡¢£¤¥¦ª§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇČĎÈÉÊËĞÌÍÎİÏIJÐŇÑÒÓÔÕÖŘŞŤ×ØÙÚÛŰÜŮÝÞßàáâãäåăæçďčèéêëſğìíîïıijðňñòóôõöřşțť÷øùúûűüůýþÿ✓✔➤➔→➥▶⇒➨★❤♥✘✖✆✈";
$seo_default = array(
'description' => '', // the page description
@ -423,7 +423,7 @@ function seometa_category_id_exists($cat_id) {
return false;
}
function plugin_seometataginfo_head() {
function plugin_seometataginfo_head($file_meta) {
global $fpdb, $fp_params, $fp_config, $smarty;
if (defined('ADMIN_PANEL'))