You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uw_google_calendar_embed_to_shortcode() function is supposed to convert a google calendar iframe into a shortcode, but it actually attempts to transform any content that contains either an iframe tag or a link to google.com/calendar.
The regex will succeed on any google url, so for example this map embed:
The uw_google_calendar_embed_to_shortcode() function is supposed to convert a google calendar iframe into a shortcode, but it actually attempts to transform any content that contains either an iframe tag or a link to google.com/calendar.
The regex will succeed on any google url, so for example this map embed:
<iframe src="https://www.google.com/maps/d/embed?mid=1k7y_cvcBbZQlqZ-mTiz1JpFQ53J9cyCk" width="640" height="480"></iframe>gets transformed into
[googleapps domain="www" dir="calendar/embed" query="mid=1k7y_cvcBbZQlqZ-mTiz1JpFQ53J9cyCk" width="630" height="480"]
which doesn't work. #164 should fix the problem
The text was updated successfully, but these errors were encountered: