1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

Fixes #4785 - og:image should be only rendered once. Moved all og meta code out of header_default.php and into social plugin.

This commit is contained in:
Cameron
2022-06-03 09:12:12 -07:00
parent 0ffd69a946
commit d672131d86
4 changed files with 69 additions and 48 deletions

View File

@@ -4106,7 +4106,7 @@ class eResponse
'article:section', 'article:tag', 'article:published_time', 'article:modified_time',
'og:description', 'og:image', 'og:title', 'og:updated_time','og:url', 'og:type'
);
protected $_meta_multiple = array('og:image', 'og:image:width','twitter:image');
protected $_meta_multiple = array();
protected $_meta = array();
protected $_meta_robot_types = array('noindex'=>'NoIndex', 'nofollow'=>'NoFollow','noarchive'=>'NoArchive','noimageindex'=>'NoImageIndex' );
protected $_title_separator = ' » ';