mirror of
https://github.com/e107inc/e107.git
synced 2025-08-27 16:20:13 +02:00
Fixed Meta-Tag overwrite issue. Changed eResponse to singleton. May correct problems with Facebook app-id and custom og:image. Pages possibly affected: front-page (index.php) and news, custom-page and user pages.
This commit is contained in:
@@ -234,7 +234,8 @@ class social_shortcodes extends e_shortcode
|
||||
|
||||
$defaultUrl = vartrue($this->var['url'], e_REQUEST_URL);
|
||||
$defaultTitle = vartrue($this->var['title'], deftrue('e_PAGETITLE'). " | ". SITENAME);
|
||||
$defaultDiz = vartrue($this->var['description'], e107::getUrl()->response()->getMetaDescription());
|
||||
// $defaultDiz = vartrue($this->var['description'], e107::getUrl()->response()->getMetaDescription());
|
||||
$defaultDiz = vartrue($this->var['description'], e107::getSingleton('eResponse')->getMetaDescription());
|
||||
$defaultTags = vartrue($this->var['tags'],'');
|
||||
|
||||
$tp = e107::getParser();
|
||||
|
Reference in New Issue
Block a user