{"id":118,"date":"2016-08-09T10:49:13","date_gmt":"2016-08-09T15:49:13","guid":{"rendered":"https:\/\/easydigitaldownloads.com\/development\/?p=118"},"modified":"2021-12-15T15:31:18","modified_gmt":"2021-12-15T21:31:18","slug":"software-licensing-version-3-4-8","status":"publish","type":"post","link":"https:\/\/easydigitaldownloads.com\/development\/2016\/08\/09\/software-licensing-version-3-4-8\/","title":{"rendered":"Software Licensing version 3.4.8"},"content":{"rendered":"<p>If you&#8217;re a Software Licensing customer, you may have noticed we released version 3.4.8 of the extension. This is on the larger side of a minor release, tackling just over 30 issues, mainly bug fixes with some new enhancements as well. While most of these changes are pretty minor, there are a few substantial changes we wanted to call out for you.<\/p>\n<h5>Deprecate _edd_sl_site_count post meta<\/h5>\n<p>This post meta item was found to be created with a license, but never updated or used to calculate the number of sites. We&#8217;ve written an upgrade routine to remove these entries and also a backwards compatibility check so that if it is requested, a proper site count is returned using the helper function <code>edd_software_licensing()-&gt;get_site_count()<\/code>. When <code>WP_DEBUG<\/code> is enabled, a deprecated notice will show.<\/p>\n<h5>Updated Sample Theme<\/h5>\n<p>We made a few changes to the sample theme to improve it&#8217;s reliability in showing the update counts properly. Please update your themes with the new version of the updater.<\/p>\n<h5>Updated Sample Plugin<\/h5>\n<p>The Sample plugin has been updated including the primary class <code>EDD_SL_Plugin_Updater<\/code>. The new version is 1.6.4 and is included in the sample plugin, and fixes some issues with using the updater on a network enabled site. If you use this class in your plugin, you&#8217;ll want to update it.<\/p>\n<h5>Sample Theme\/Plugin error handling<\/h5>\n<p>Both the theme and plugin examples have been improved to include inline error handling. If a license fails to activate or deactivate, error messages will be shown as an Admin Notice to the user. This will make debugging customer activation issues much easier. You&#8217;ll need to take a look at the samples and implement them in your customer activation and deactivation methods.<\/p>\n<h5>Manage Sites template changes<\/h5>\n<p>We&#8217;ve updated the customer facing <em>Manage Sites<\/em> view. It now includes the license key and product the license is for, making it easier for your customers to know which key they are working with. If you&#8217;ve modified this template, they will be overwritten by this update. If you&#8217;re using our templating methods, and want the changes, you&#8217;ll need to update your custom template in your own theme.<\/p>\n<h5>Retroactive Licensing Rewrite<\/h5>\n<p>The process for generating missing license keys has been greatly improved. Previously we ran 3 different routines depending on if you wanted to generate keys for a download, payment, or the entire store. This caused some pain points as each was slightly different and sometimes caused improper license key generation. With 3.4.8, we&#8217;ve rewritten this entire process to use the same routine in the <code>Downloads&amp;rarro;Tools<\/code> section. By consolidating these tools into a single one, we&#8217;ve vastly improved it&#8217;s reliability.<\/p>\n<p>Those are the big changes in store for this version. Here is the remainder of the changes:<\/p>\n<ul>\n<li>Added Grunt tasks to the project to generate .pot and minified asset files.<\/li>\n<li>Better clarification of error messages in API response.<\/li>\n<li>Do not show upgrades for a download when a license key is part of a bundle.<\/li>\n<li>Improve license activation limit label.<\/li>\n<li>Add Tool Tips to all Settings.<\/li>\n<li>Error message is incorrect when trying to add upgrade and renewal to the cart.<\/li>\n<li>Removed script for unused selector in [edd_license_keys].<\/li>\n<li>Add filter for check_item_name.<\/li>\n<li>Custom date ranges break when crossing year boundary in reporting.<\/li>\n<li>Lifetime licenses claim to expire today.<\/li>\n<li>Fix undefined indexes by relying on EDD_Payment for data.<\/li>\n<li>edd_sl_override_history_content doesn&#8217;t check if main query or in_the_loop.<\/li>\n<li>Multiple upgrades for the same license are able to be added to the cart.<\/li>\n<li>Translation issue in the {expiration} shortcode.<\/li>\n<li>Improve check_item_name method.<\/li>\n<li>edd_get_success_page_url() is deprecated.<\/li>\n<li>Create table data even when payment record has no products.<\/li>\n<li>Fix typo in sample theme license.<\/li>\n<li>Clarify that renewal_link is a full HTML link, introduce renewal_url.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re a Software Licensing customer, you may have noticed we released version 3.4.8 of the extension. This is on the larger side of a minor release, tackling just over 30 issues, mainly bug fixes with some new enhancements as well. While most of these changes are pretty minor, there are a few substantial changes we wanted to call out for you.<\/p>\n","protected":false},"author":650,"featured_media":0,"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-118","post","type-post","status-publish","format-standard","hentry","category-extensions","tag-software-licensing"],"_links":{"self":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/118","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=118"}],"version-history":[{"count":2,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":1114,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/118\/revisions\/1114"}],"wp:attachment":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}