mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
285b882f55
I think the logic for setting og:image in social plugin is to be used site wide when no other is defined, but currently it's set too early in header so for example if we looking at news item which have some images, the social plugin og:image is grabed first by fb sharer since it came first in page output. My modification check if there is og:image defined and if there is already, skips adding the social plugin one.