diff --git a/e107_plugins/linkwords/e_tohtml.php b/e107_plugins/linkwords/e_tohtml.php index d51cbf3eb..ec75a8e13 100755 --- a/e107_plugins/linkwords/e_tohtml.php +++ b/e107_plugins/linkwords/e_tohtml.php @@ -331,7 +331,7 @@ class e_tohtml_linkwords if ($doSamePage || ($newLink != e_SELF.'?'.e_QUERY)) { $linkwd = " href=\"".$newLink."\" "; - if ($this->ext_list[$first]) { $linkrel[] = 'external'; } // Determine external links + if ($this->ext_list[$first]) { $linkrel[] = 'noopener external'; } // Determine external links $lwClass[] = 'lw-link '.$this->customClass; } } diff --git a/e107_plugins/news/news.php b/e107_plugins/news/news.php index c22005276..55f6c9ed2 100644 --- a/e107_plugins/news/news.php +++ b/e107_plugins/news/news.php @@ -703,10 +703,12 @@ class news_front $url = e107::getUrl()->create('news/view/item', $news,'full=1'); e107::meta('og:url',$url); - e107::meta('og:updated_time', strtotime('10 minutes ago')); + $modifiedTime = strtotime('30 minutes ago'); + e107::meta('og:updated_time', $modifiedTime); - e107::meta('article:section',$news['category_name']); - e107::meta('article:modified_time', date('c', $news['news_datestamp'])); + e107::meta('article:section', $news['category_name']); + e107::meta('article:published_time', date('c', $news['news_datestamp'])); + e107::meta('article:modified_time', date('c', $modifiedTime)); if($news['news_meta_keywords'] && !defined('META_KEYWORDS')) diff --git a/e107_plugins/social/e_shortcode.php b/e107_plugins/social/e_shortcode.php index 918924112..1751cc117 100644 --- a/e107_plugins/social/e_shortcode.php +++ b/e107_plugins/social/e_shortcode.php @@ -372,7 +372,7 @@ class social_shortcodes extends e_shortcode $btnClass .= ' social-share-mobile'; } - $opt[$k] = "".$tp->toIcon($val["icon"], array('fw'=>1)).""; + $opt[$k] = "".$tp->toIcon($val["icon"], array('fw'=>1)).""; } // Show only Email, Facebook, Twitter and Google.