Reviewed & tested by the community
Project:
Omega
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Nov 2015 at 17:25 UTC
Updated:
4 Jun 2019 at 11:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jtwalters commentedHere's a patch.
Comment #3
jtwalters commentedAdding an isset check for avoiding PHP notices.
Comment #4
steinmb commentedThis is allow us to use the #attribute instead of resorting to drupa_add_js()? Sorry, I'm not a js developer.
Comment #5
jtwalters commentedThis patch simply allows you to use a custom type attribute on a script tag/element. It doesn't matter how you add the script tag. Omega is being too opinionated about removing the type attribute.
Comment #6
BarisW commentedLooks good!
This also enabled Omega themes to use the application/ld+json type.
Comment #7
tbenice commentedJust endorsing getting this in a release. I have to do some hackity stuff to make this work for google social profiles (ld+json).
Thanks!
Comment #8
damienmckennaFYI this is a useful fix for sites using Schema.org Metatag (schema_metatag).