{"id":66587,"date":"2013-09-18T06:54:19","date_gmt":"2013-09-18T13:54:19","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/"},"modified":"2015-07-07T06:28:44","modified_gmt":"2015-07-07T13:28:44","slug":"the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/","title":{"rendered":"The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods"},"content":{"rendered":"<p>My theme requires Select2 version 3.4.1. <\/p>\n<p>The plugin is using Select2 3.2 (outdated) and is calling the &#8216;.disable()&#8217; method the version dependency should be increased to 3.4.x and disable should be changed to &#8216;.enable(false)&#8217;.<\/p>\n<p>This (or potentially something else) also causes the Select2 textbox to show &#8216;undefined&#8217; and not hide the original dropdown as you can seen in the screencast: https:\/\/dl.dropboxusercontent.com\/u\/13675289\/tribe-filters-select2-wrong-version.mov<\/p>\n","protected":false},"template":"","class_list":["post-66587","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>The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods -<\/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\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods -\" \/>\n<meta property=\"og:description\" content=\"My theme requires Select2 version 3.4.1. The plugin is using Select2 3.2 (outdated) and is calling the &#8216;.disable()&#8217; method the version dependency should be increased to 3.4.x and disable should be changed to &#8216;.enable(false)&#8217;. This (or potentially something else) also causes the Select2 textbox to show &#8216;undefined&#8217; and not hide the original dropdown as you [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-07-07T13:28:44+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/\",\"name\":\"The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2013-09-18T13:54:19+00:00\",\"dateModified\":\"2015-07-07T13:28:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/#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\":\"September 2013 Filters Bar Beta\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/september-2013-filters-bar-beta\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods\"}]},{\"@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":"The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods -","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\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/","og_locale":"en_US","og_type":"article","og_title":"The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods -","og_description":"My theme requires Select2 version 3.4.1. The plugin is using Select2 3.2 (outdated) and is calling the &#8216;.disable()&#8217; method the version dependency should be increased to 3.4.x and disable should be changed to &#8216;.enable(false)&#8217;. This (or potentially something else) also causes the Select2 textbox to show &#8216;undefined&#8217; and not hide the original dropdown as you [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/","article_modified_time":"2015-07-07T13:28:44+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/","name":"The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2013-09-18T13:54:19+00:00","dateModified":"2015-07-07T13:28:44+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the-plugin-is-using-select2-version-3-2-outdated-and-calls-deprecated-methods\/#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":"September 2013 Filters Bar Beta","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/september-2013-filters-bar-beta\/"},{"@type":"ListItem","position":4,"name":"The plugin is using Select2 version 3.2 (outdated) and calls deprecated methods"}]},{"@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\/66587","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\/66587\/revisions"}],"predecessor-version":[{"id":922994,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/66587\/revisions\/922994"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=66587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}