{"id":129,"date":"2016-12-21T10:12:01","date_gmt":"2016-12-21T16:12:01","guid":{"rendered":"https:\/\/easydigitaldownloads.com\/development\/?p=129"},"modified":"2021-12-15T15:31:17","modified_gmt":"2021-12-15T21:31:17","slug":"edd_sl_plugin_updater-class-updated-to-version-1-6-7","status":"publish","type":"post","link":"https:\/\/easydigitaldownloads.com\/development\/2016\/12\/21\/edd_sl_plugin_updater-class-updated-to-version-1-6-7\/","title":{"rendered":"EDD_SL_Plugin_Updater class updated to version 1.6.7"},"content":{"rendered":"<p><a href=\"https:\/\/easydigitaldownloads.com\/downloads\/software-licensing\" target=\"_blank\" rel=\"noopener\">Software Licensing<\/a> version 3.4.13 was released earlier today and included with it was a new version of the <em>EDD_SL_Plugin_Updater<\/em> class. We&#8217;ve\u00a0incremented the version number of the class to 1.6.7 and included a crucial fix for a severe performance problem that occurred on some sites.<\/p>\n<p>Since version 1.0, we have relied on the <a href=\"https:\/\/codex.wordpress.org\/Transients_API\" target=\"_blank\" rel=\"noopener\">Transients API<\/a>\u00a0to cache responses from the licensing server when checking for updates in the <em>EDD_SL_Plugin_Updater<\/em> class. Occasionally, however, the use of transients resulted in severe performance problems due to a conflict with certain configurations of object caching. When this happened, typically on sites using <a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noopener\">W3 Total Cache<\/a>, the licensing API response caches did not work, resulting in repeated calls to the licensing server. This caused significant performance problems because remote calls to the licensing server would be made on every single page load within the WP admin area.<\/p>\n<p>To resolve the issue, we have moved our caching mechanism over to the <a href=\"https:\/\/developer.wordpress.org\/plugins\/settings\/options-api\/\" target=\"_blank\" rel=\"noopener\">Options API<\/a>, which is not susceptible to conflicts with object caching configurations.<\/p>\n<p>If you would like to see additional details, and exact changes, for this, please refer to <a href=\"https:\/\/github.com\/easydigitaldownloads\/easy-digital-downloads\/issues\/5294\" target=\"_blank\" rel=\"noopener\">issue 5294<\/a> in the main Easy Digital Downloads GitHub repository.<\/p>\n<h3>What you need to do<\/h3>\n<p>If you have used the <em>EDD_SL_Plugin_Updater<\/em> class in any of your own plugins, please incorporate the 1.6.7 version into your plugin and release an update to all customers to help prevent this problem from affecting any\u00a0sites using your plugins.<\/p>\n<p>As long as you have not made changes to the <em>EDD_SL_Plugin_Updater<\/em> class itself, updating to the new version is as simple as replacing the class file.<\/p>\n<p>You can download the new version of the class from <a href=\"https:\/\/easydigitaldownloads.com\/your-account\" target=\"_blank\" rel=\"noopener\">your account page<\/a>. Locate your purchase record for Software Licensing and then download the &#8220;edd-sample-plugin&#8221; file. The latest version of the class is included within that sample plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Software Licensing version 3.4.13 was released earlier today and included with it was a new version of the EDD_SL_Plugin_Updater class. We\u2019ve incremented the version number of the class to 1.6.7 and included a crucial fix for a severe performance problem that occurred on some sites.<\/p>\n","protected":false},"author":650,"featured_media":130,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[8],"class_list":["post-129","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-extensions","tag-software-licensing"],"_links":{"self":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/users\/650"}],"replies":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/comments?post=129"}],"version-history":[{"count":1,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":1112,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/129\/revisions\/1112"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media\/130"}],"wp:attachment":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}