{"id":1131626,"date":"2016-06-24T10:54:52","date_gmt":"2016-06-24T17:54:52","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds\/"},"modified":"2016-07-11T14:01:51","modified_gmt":"2016-07-11T21:01:51","slug":"%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/","title":{"rendered":"\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds"},"content":{"rendered":"<p>We have heard from a few folks about a bug with our recent 4.2.1 update of Events Calendar Pro.<\/p>\n<p>Essentially, what happens is that if you try pasting a YouTube, Vimeo, or other common oEmbed , what gets generated is <em>not<\/em> the video or GitHub Gist that you expect\u2014instead, an event embed gets posted.<\/p>\n<p>We are working on a proper fix for this and will publish it as soon as possible. In the meantime, we have a temporary code snippet that should help. Try pasting this snippet into your theme&#8217;s <em>functions.php<\/em> file:<\/p>\n<p><code><br \/>\n\/**<br \/>\n* Avoid a problem with Events Calendar PRO 4.2 which can inadvertently<br \/>\n* break oembeds.<br \/>\n*\/<br \/>\nfunction undo_recurrence_oembed_logic() {<br \/>\nif ( ! class_exists( 'Tribe__Events__Pro__Main' ) ) return;<\/code><\/p>\n<p>$pro_object = Tribe__Events__Pro__Main::instance();<br \/>\n$pro_callback = array( $pro_object, &#8216;oembed_request_post_id_for_recurring_events&#8217; );<\/p>\n<p>remove_filter( &#8216;oembed_request_post_id&#8217;, $pro_callback );<br \/>\n}<\/p>\n<p>add_action( &#8216;init&#8217;, &#8216;undo_recurrence_oembed_logic&#8217; );<\/p>\n<p>We&#8217;re sorry for the trouble! Hopefully this snippet helps for now; stay tuned for the proper fix.<\/p>\n","protected":false},"template":"","class_list":["post-1131626","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/\u26a0\ufe0f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds -\" \/>\n<meta property=\"og:description\" content=\"We have heard from a few folks about a bug with our recent 4.2.1 update of Events Calendar Pro. Essentially, what happens is that if you try pasting a YouTube, Vimeo, or other common oEmbed , what gets generated is not the video or GitHub Gist that you expect\u2014instead, an event embed gets posted. We [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/\u26a0\ufe0f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-11T21:01:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/\",\"name\":\"\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-06-24T17:54:52+00:00\",\"dateModified\":\"2016-07-11T21:01:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/\u26a0\ufe0f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/","og_locale":"en_US","og_type":"article","og_title":"\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds -","og_description":"We have heard from a few folks about a bug with our recent 4.2.1 update of Events Calendar Pro. Essentially, what happens is that if you try pasting a YouTube, Vimeo, or other common oEmbed , what gets generated is not the video or GitHub Gist that you expect\u2014instead, an event embed gets posted. We [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/\u26a0\ufe0f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/","article_modified_time":"2016-07-11T21:01:51+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/","name":"\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-06-24T17:54:52+00:00","dateModified":"2016-07-11T21:01:51+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/%e2%9a%a0%ef%b8%8f-known-issue-with-events-calendar-pro-4-2-1-and-oembeds__trashed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"\u26a0\ufe0f Known Issue with Events Calendar Pro 4.2.1 and oEmbeds"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1131626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1131626\/revisions"}],"predecessor-version":[{"id":1136267,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1131626\/revisions\/1136267"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1131626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}