Easy Digital Downloads - Version 2.9.26

Version Description

Download this release

Release Info

Developer cklosows
Plugin Icon 128x128 Easy Digital Downloads
Version 2.9.26
Comparing to
See all releases

Code changes from version 2.9.25 to 2.9.26

easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Sandhills Development, LLC
7
  * Author URI: https://sandhillsdev.com
8
- * Version: 2.9.25
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
@@ -25,7 +25,7 @@
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
- * @version 2.9.25
29
  */
30
 
31
  // Exit if accessed directly.
@@ -206,7 +206,7 @@ final class Easy_Digital_Downloads {
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
- define( 'EDD_VERSION', '2.9.25' );
210
  }
211
 
212
  // Plugin Folder Path.
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Sandhills Development, LLC
7
  * Author URI: https://sandhillsdev.com
8
+ * Version: 2.9.26
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.9.26
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.9.26' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/settings/register-settings.php CHANGED
@@ -2254,7 +2254,7 @@ function edd_jilt_callback( $args ) {
2254
 
2255
  <?php endif; ?>
2256
 
2257
- <?php else : ?>
2258
 
2259
  <p>
2260
  <button id="edd-jilt-connect" class="button button-primary">
2254
 
2255
  <?php endif; ?>
2256
 
2257
+ <?php elseif( current_user_can( 'install_plugins' ) ) : ?>
2258
 
2259
  <p>
2260
  <button id="edd-jilt-connect" class="button button-primary">
includes/emails/functions.php CHANGED
@@ -384,7 +384,7 @@ add_action( 'wp_ajax_edd_sendwp_disconnect', 'edd_sendwp_disconnect' );
384
  */
385
  function edd_jilt_remote_install_handler() {
386
 
387
- if ( ! current_user_can( 'manage_shop_settings' ) ) {
388
  wp_send_json_error(
389
  array(
390
  'error' => __( 'You do not have permission to do this.', 'easy-digital-downloads' ),
384
  */
385
  function edd_jilt_remote_install_handler() {
386
 
387
+ if ( ! current_user_can( 'manage_shop_settings' ) || ! current_user_can( 'install_plugins' ) ) {
388
  wp_send_json_error(
389
  array(
390
  'error' => __( 'You do not have permission to do this.', 'easy-digital-downloads' ),
includes/user-functions.php CHANGED
@@ -199,7 +199,7 @@ function edd_get_users_purchased_products( $user = 0, $status = 'complete' ) {
199
  *
200
  * @since 1.0
201
  * @param int $user_id - the ID of the user to check
202
- * @param array $downloads - Array of IDs to check if purchased. If an int is passed, it will be converted to an array
203
  * @param int $variable_price_id - the variable price ID to check for
204
  * @return boolean - true if has purchased, false otherwise
205
  */
199
  *
200
  * @since 1.0
201
  * @param int $user_id - the ID of the user to check
202
+ * @param array|int $downloads - Array of IDs to check if purchased. If an int is passed, it will be converted to an array
203
  * @param int $variable_price_id - the variable price ID to check for
204
  * @return boolean - true if has purchased, false otherwise
205
  */
languages/easy-digital-downloads.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Easy Digital Downloads 2.9.25\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2020-09-03 23:31:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Easy Digital Downloads 2.9.26\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2020-10-02 08:08:32+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -5,9 +5,9 @@ Contributors: easydigitaldownloads, mordauk, sunnyratilal, chriscct7, section214
5
  Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: ecommerce, sell, checkout, payments, stripe
7
  Requires at least: 4.4
8
- Tested up to: 5.5
9
  Requires PHP: 5.3
10
- Stable Tag: 2.9.25
11
  License: GNU Version 2 or Any Later Version
12
 
13
  Sell your digital products the simple way. Easily build an online store complete with a cart system, checkout forms, reports, coupons, and more!
@@ -21,6 +21,7 @@ Easy Digital Downloads is a complete eCommerce solution for selling digital prod
21
  Whether it is [software](https://easydigitaldownloads.com/blog/selling-software/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [documents](https://easydigitaldownloads.com/blog/selling-documents/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [photos](https://easydigitaldownloads.com/blog/selling-photographs/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [ebooks](https://easydigitaldownloads.com/blog/selling-ebooks/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [songs](https://easydigitaldownloads.com/blog/selling-audio-and-music/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [graphics](https://easydigitaldownloads.com/blog/selling-graphics-and-digital-artwork/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [videos](https://easydigitaldownloads.com/blog/selling-videos/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), or any other type of media file, Easy Digital Downloads provides a complete system for effortlessly selling your digital products.
22
 
23
  > Easy Digital Downloads is an invaluable tool that I use throughout my business and for my clients. I love its simplicity yet powerful features and library of useful extensions. EDD stands out as one of the only affordable options for scaling a business centered around providing digital ecommerce sites to its clients.
 
24
  > Mark Hunter - Mark of Approval
25
 
26
  = All the eCommerce features you need =
@@ -28,6 +29,7 @@ Whether it is [software](https://easydigitaldownloads.com/blog/selling-software/
28
  Do you prefer an eCommerce solution which is simple and intuitive or one which is rich in features? Too often that tradeoff is one online sellers need to make. Fortunately, Easy Digital Downloads manages to be easy enough for eCommerce beginners to configure without sacrificing any important functionality.
29
 
30
  > EDD gives me a solid platform out of the box, with the flexibility of being able to customize anything I want or need to. The best of both worlds!
 
31
  > Brian Hogg – SellingPlugins.com
32
 
33
  Here are some of the features supported out-of-the-box:
@@ -69,10 +71,13 @@ Payment gateways supported through free or premium extensions:
69
  * Coinbase
70
 
71
  > What can I say? Stripe is my go-to payment processor and without this add-on I don't know what I would do. Connect EDD to your Stripe account in seconds and you're done! Having a simple test mode toggle is also a valuable development tool. This is another one of my go-to EDD extensions.
 
72
  > Matt Whiteley - Whiteley Designs
73
 
74
  See our [payment gateways category](https://easydigitaldownloads.com/downloads/category/gateways/?utm_source=extensions&utm_medium=description_tab&utm_content=gateways&utm_campaign=readme) in the extensions catalogue for a complete list of supported merchant processors. There are also a large number of additional payment gateways developed and supported by [3rd party developers](https://easydigitaldownloads.com/3rd-party-extensions/#gateways).
75
 
 
 
76
  = Take your store further with extensions =
77
 
78
  With add-on plugins from our [extensions catalogue](https://easydigitaldownloads.com/downloads/?utm_source=extensions&utm_medium=description_tab&utm_content=extensions&utm_campaign=readme) you can super-charge your digital store. Some of our extension highlights include:
@@ -109,6 +114,7 @@ The Easy Digital Downloads API makes it possible for developers to make customiz
109
  ...and much much more!
110
 
111
  > As a developer, Easy Digital Downloads is very pleasant to work with since you can absolutely extend anything available within EDD.
 
112
  > Yudhistira Mauris - WP House
113
 
114
  = Get help =
@@ -120,6 +126,7 @@ Easy Digital Downloads is backed by top-notch technical support from our globall
120
  Easy Digital Downloads is built by [Sandhills Development](https://sandhillsdev.com/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=sandhills&utm_term=description). We make [popular WordPress plugins](https://sandhillsdev.com/projects/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=popular&utm_term=description) used by hundreds of thousands of people just like you. [Get to know us here](https://sandhillsdev.com/about/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=about&utm_term=description)!
121
 
122
  > EDD has been a long standing, rock-solid e-commerce solution for WordPress. The team lives and breathes WordPress, understands the platform, and is embedded in the community.
 
123
  > Joe Casabona - Creator Courses
124
 
125
  = From our blog =
@@ -253,6 +260,10 @@ For most stores, we recommend using the Stripe Payment Gateway.
253
  9. Checkout screen
254
 
255
  == Changelog ==
 
 
 
 
256
  = 2.9.25, September 3, 2020 =
257
  * Fix: Using the registration form on checkout with guest checkout disabled, could result in errors when attempting to purchase.
258
 
5
  Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: ecommerce, sell, checkout, payments, stripe
7
  Requires at least: 4.4
8
+ Tested up to: 5.6.1
9
  Requires PHP: 5.3
10
+ Stable Tag: 2.9.26
11
  License: GNU Version 2 or Any Later Version
12
 
13
  Sell your digital products the simple way. Easily build an online store complete with a cart system, checkout forms, reports, coupons, and more!
21
  Whether it is [software](https://easydigitaldownloads.com/blog/selling-software/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [documents](https://easydigitaldownloads.com/blog/selling-documents/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [photos](https://easydigitaldownloads.com/blog/selling-photographs/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [ebooks](https://easydigitaldownloads.com/blog/selling-ebooks/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [songs](https://easydigitaldownloads.com/blog/selling-audio-and-music/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [graphics](https://easydigitaldownloads.com/blog/selling-graphics-and-digital-artwork/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [videos](https://easydigitaldownloads.com/blog/selling-videos/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), or any other type of media file, Easy Digital Downloads provides a complete system for effortlessly selling your digital products.
22
 
23
  > Easy Digital Downloads is an invaluable tool that I use throughout my business and for my clients. I love its simplicity yet powerful features and library of useful extensions. EDD stands out as one of the only affordable options for scaling a business centered around providing digital ecommerce sites to its clients.
24
+
25
  > Mark Hunter - Mark of Approval
26
 
27
  = All the eCommerce features you need =
29
  Do you prefer an eCommerce solution which is simple and intuitive or one which is rich in features? Too often that tradeoff is one online sellers need to make. Fortunately, Easy Digital Downloads manages to be easy enough for eCommerce beginners to configure without sacrificing any important functionality.
30
 
31
  > EDD gives me a solid platform out of the box, with the flexibility of being able to customize anything I want or need to. The best of both worlds!
32
+
33
  > Brian Hogg – SellingPlugins.com
34
 
35
  Here are some of the features supported out-of-the-box:
71
  * Coinbase
72
 
73
  > What can I say? Stripe is my go-to payment processor and without this add-on I don't know what I would do. Connect EDD to your Stripe account in seconds and you're done! Having a simple test mode toggle is also a valuable development tool. This is another one of my go-to EDD extensions.
74
+
75
  > Matt Whiteley - Whiteley Designs
76
 
77
  See our [payment gateways category](https://easydigitaldownloads.com/downloads/category/gateways/?utm_source=extensions&utm_medium=description_tab&utm_content=gateways&utm_campaign=readme) in the extensions catalogue for a complete list of supported merchant processors. There are also a large number of additional payment gateways developed and supported by [3rd party developers](https://easydigitaldownloads.com/3rd-party-extensions/#gateways).
78
 
79
+ Easy Digital Downloads is a verified member of the [Stripe partner program](https://stripe.com/accept-payments/easy-digital-downloads). This program recognizes software that meets Stripe's strict quality requirements and provides users of Easy Digital Downloads and Stripe with the confidence they need to trust us both with their payment integrations.
80
+
81
  = Take your store further with extensions =
82
 
83
  With add-on plugins from our [extensions catalogue](https://easydigitaldownloads.com/downloads/?utm_source=extensions&utm_medium=description_tab&utm_content=extensions&utm_campaign=readme) you can super-charge your digital store. Some of our extension highlights include:
114
  ...and much much more!
115
 
116
  > As a developer, Easy Digital Downloads is very pleasant to work with since you can absolutely extend anything available within EDD.
117
+
118
  > Yudhistira Mauris - WP House
119
 
120
  = Get help =
126
  Easy Digital Downloads is built by [Sandhills Development](https://sandhillsdev.com/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=sandhills&utm_term=description). We make [popular WordPress plugins](https://sandhillsdev.com/projects/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=popular&utm_term=description) used by hundreds of thousands of people just like you. [Get to know us here](https://sandhillsdev.com/about/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=about&utm_term=description)!
127
 
128
  > EDD has been a long standing, rock-solid e-commerce solution for WordPress. The team lives and breathes WordPress, understands the platform, and is embedded in the community.
129
+
130
  > Joe Casabona - Creator Courses
131
 
132
  = From our blog =
260
  9. Checkout screen
261
 
262
  == Changelog ==
263
+ = 2.9.26, October 1, 2020 =
264
+ * Fix: Installation of the Jilt extension was allowed for non-super admins on multisite installs.
265
+ * Dev: Improved DocBloc for edd_has_user_purchased() function.
266
+
267
  = 2.9.25, September 3, 2020 =
268
  * Fix: Using the registration form on checkout with guest checkout disabled, could result in errors when attempting to purchase.
269