Easy Digital Downloads - Version 2.5.9

Version Description

Download this release

Release Info

Developer mordauk
Plugin Icon 128x128 Easy Digital Downloads
Version 2.5.9
Comparing to
See all releases

Code changes from version 2.5.8 to 2.5.9

easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Serve Digital Downloads Through WordPress.
6
  * Author: Pippin Williamson and Company
7
  * Author URI: https://easydigitaldownloads.com
8
- * Version: 2.5.8
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.5.8
29
  */
30
 
31
  // Exit if accessed directly.
@@ -186,7 +186,7 @@ final class Easy_Digital_Downloads {
186
 
187
  // Plugin version.
188
  if ( ! defined( 'EDD_VERSION' ) ) {
189
- define( 'EDD_VERSION', '2.5.8' );
190
  }
191
 
192
  // Plugin Folder Path.
5
  * Description: Serve Digital Downloads Through WordPress.
6
  * Author: Pippin Williamson and Company
7
  * Author URI: https://easydigitaldownloads.com
8
+ * Version: 2.5.9
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.5.9
29
  */
30
 
31
  // Exit if accessed directly.
186
 
187
  // Plugin version.
188
  if ( ! defined( 'EDD_VERSION' ) ) {
189
+ define( 'EDD_VERSION', '2.5.9' );
190
  }
191
 
192
  // Plugin Folder Path.
includes/admin/settings/register-settings.php CHANGED
@@ -19,7 +19,6 @@ if ( !defined( 'ABSPATH' ) ) exit;
19
  * Looks to see if the specified setting exists, returns default if not
20
  *
21
  * @since 1.8.4
22
- * @global $edd_options Array of all the EDD Options
23
  * @return mixed
24
  */
25
  function edd_get_option( $key = '', $default = false ) {
@@ -39,7 +38,6 @@ function edd_get_option( $key = '', $default = false ) {
39
  * @since 2.3
40
  * @param string $key The Key to update
41
  * @param string|bool|int $value The value to set the key to
42
- * @global $edd_options Array of all the EDD Options
43
  * @return boolean True if updated, false if not.
44
  */
45
  function edd_update_option( $key = '', $value = false ) {
@@ -81,7 +79,6 @@ function edd_update_option( $key = '', $value = false ) {
81
  *
82
  * @since 2.3
83
  * @param string $key The Key to delete
84
- * @global $edd_options Array of all the EDD Options
85
  * @return boolean True if updated, false if not.
86
  */
87
  function edd_delete_option( $key = '' ) {
@@ -891,7 +888,6 @@ function edd_get_registered_settings() {
891
  * @since 1.0.8.2
892
  *
893
  * @param array $input The value inputted in the field
894
- * @global $edd_options Array of all the EDD Options
895
  *
896
  * @return string $input Sanitizied value
897
  */
@@ -970,6 +966,8 @@ function edd_settings_sanitize( $input = array() ) {
970
  */
971
  function edd_settings_sanitize_misc_file_downloads( $input ) {
972
 
 
 
973
  if( ! current_user_can( 'manage_shop_settings' ) ) {
974
  return $input;
975
  }
@@ -992,6 +990,8 @@ add_filter( 'edd_settings_misc-file_downloads_sanitize', 'edd_settings_sanitize_
992
  */
993
  function edd_settings_sanitize_misc_accounting( $input ) {
994
 
 
 
995
  if( ! current_user_can( 'manage_shop_settings' ) ) {
996
  return $input;
997
  }
@@ -1199,11 +1199,11 @@ function edd_header_callback( $args ) {
1199
  *
1200
  * @since 1.0
1201
  * @param array $args Arguments passed by the setting
1202
- *
1203
  * @return void
1204
  */
1205
  function edd_checkbox_callback( $args ) {
1206
- $edd_options = edd_get_option( $args['id'] );
1207
 
1208
  if ( isset( $args['faux'] ) && true === $args['faux'] ) {
1209
  $name = '';
@@ -1225,11 +1225,11 @@ function edd_checkbox_callback( $args ) {
1225
  *
1226
  * @since 1.0
1227
  * @param array $args Arguments passed by the setting
1228
- *
1229
  * @return void
1230
  */
1231
  function edd_multicheck_callback( $args ) {
1232
- $edd_options = edd_get_option( $args['id'] );
1233
 
1234
  if ( ! empty( $args['options'] ) ) {
1235
  foreach( $args['options'] as $key => $option ):
@@ -1246,16 +1246,16 @@ function edd_multicheck_callback( $args ) {
1246
  *
1247
  * @since 2.1
1248
  * @param array $args Arguments passed by the setting
1249
- *
1250
  * @return void
1251
  */
1252
  function edd_payment_icons_callback( $args ) {
1253
- $edd_options = edd_get_option( $args['id'] );
1254
 
1255
  if ( ! empty( $args['options'] ) ) {
1256
  foreach( $args['options'] as $key => $option ) {
1257
 
1258
- if( isset( $edd_options[$key] ) ) {
1259
  $enabled = $option;
1260
  } else {
1261
  $enabled = NULL;
@@ -1312,18 +1312,18 @@ function edd_payment_icons_callback( $args ) {
1312
  *
1313
  * @since 1.3.3
1314
  * @param array $args Arguments passed by the setting
1315
- *
1316
  * @return void
1317
  */
1318
  function edd_radio_callback( $args ) {
1319
- $edd_options = edd_get_option( $args['id'] );
1320
 
1321
  foreach ( $args['options'] as $key => $option ) :
1322
  $checked = false;
1323
 
1324
- if ( $edd_options && $edd_options == $key )
1325
  $checked = true;
1326
- elseif( isset( $args['std'] ) && $args['std'] == $key && ! $edd_options )
1327
  $checked = true;
1328
 
1329
  echo '<input name="edd_settings[' . edd_sanitize_key( $args['id'] ) . ']" id="edd_settings[' . edd_sanitize_key( $args['id'] ) . '][' . edd_sanitize_key( $key ) . ']" type="radio" value="' . edd_sanitize_key( $key ) . '" ' . checked(true, $checked, false) . '/>&nbsp;';
@@ -1340,14 +1340,14 @@ function edd_radio_callback( $args ) {
1340
  *
1341
  * @since 1.0
1342
  * @param array $args Arguments passed by the setting
1343
- *
1344
  * @return void
1345
  */
1346
  function edd_gateways_callback( $args ) {
1347
- $edd_options = edd_get_option( $args['id'] );
1348
 
1349
  foreach ( $args['options'] as $key => $option ) :
1350
- if ( isset( $edd_options[ $key ] ) )
1351
  $enabled = '1';
1352
  else
1353
  $enabled = null;
@@ -1364,11 +1364,11 @@ function edd_gateways_callback( $args ) {
1364
  *
1365
  * @since 1.5
1366
  * @param array $args Arguments passed by the setting
1367
- *
1368
  * @return void
1369
  */
1370
  function edd_gateway_select_callback($args) {
1371
- $edd_options = edd_get_option( $args['id'] );
1372
 
1373
  echo '<select name="edd_settings[' . edd_sanitize_key( $args['id'] ) . ']"" id="edd_settings[' . edd_sanitize_key( $args['id'] ) . ']">';
1374
 
@@ -1388,14 +1388,14 @@ function edd_gateway_select_callback($args) {
1388
  *
1389
  * @since 1.0
1390
  * @param array $args Arguments passed by the setting
1391
- *
1392
  * @return void
1393
  */
1394
  function edd_text_callback( $args ) {
1395
- $edd_options = edd_get_option( $args['id'] );
1396
 
1397
- if ( $edd_options ) {
1398
- $value = $edd_options;
1399
  } else {
1400
  $value = isset( $args['std'] ) ? $args['std'] : '';
1401
  }
@@ -1423,14 +1423,14 @@ function edd_text_callback( $args ) {
1423
  *
1424
  * @since 1.9
1425
  * @param array $args Arguments passed by the setting
1426
- *
1427
  * @return void
1428
  */
1429
  function edd_number_callback( $args ) {
1430
- $edd_options = edd_get_option( $args['id'] );
1431
 
1432
- if ( $edd_options ) {
1433
- $value = $edd_options;
1434
  } else {
1435
  $value = isset( $args['std'] ) ? $args['std'] : '';
1436
  }
@@ -1461,14 +1461,14 @@ function edd_number_callback( $args ) {
1461
  *
1462
  * @since 1.0
1463
  * @param array $args Arguments passed by the setting
1464
- *
1465
  * @return void
1466
  */
1467
  function edd_textarea_callback( $args ) {
1468
- $edd_options = edd_get_option( $args['id'] );
1469
 
1470
- if ( $edd_options ) {
1471
- $value = $edd_options;
1472
  } else {
1473
  $value = isset( $args['std'] ) ? $args['std'] : '';
1474
  }
@@ -1486,14 +1486,14 @@ function edd_textarea_callback( $args ) {
1486
  *
1487
  * @since 1.3
1488
  * @param array $args Arguments passed by the setting
1489
- *
1490
  * @return void
1491
  */
1492
  function edd_password_callback( $args ) {
1493
- $edd_options = edd_get_option( $args['id'] );
1494
 
1495
- if ( $edd_options ) {
1496
- $value = $edd_options;
1497
  } else {
1498
  $value = isset( $args['std'] ) ? $args['std'] : '';
1499
  }
@@ -1528,14 +1528,14 @@ function edd_missing_callback($args) {
1528
  *
1529
  * @since 1.0
1530
  * @param array $args Arguments passed by the setting
1531
- *
1532
  * @return void
1533
  */
1534
  function edd_select_callback($args) {
1535
- $edd_options = edd_get_option( $args['id'] );
1536
 
1537
- if ( $edd_options ) {
1538
- $value = $edd_options;
1539
  } else {
1540
  $value = isset( $args['std'] ) ? $args['std'] : '';
1541
  }
@@ -1572,14 +1572,14 @@ function edd_select_callback($args) {
1572
  *
1573
  * @since 1.8
1574
  * @param array $args Arguments passed by the setting
1575
- *
1576
  * @return void
1577
  */
1578
  function edd_color_select_callback( $args ) {
1579
- $edd_options = edd_get_option( $args['id'] );
1580
 
1581
- if ( $edd_options ) {
1582
- $value = $edd_options;
1583
  } else {
1584
  $value = isset( $args['std'] ) ? $args['std'] : '';
1585
  }
@@ -1604,16 +1604,14 @@ function edd_color_select_callback( $args ) {
1604
  *
1605
  * @since 1.0
1606
  * @param array $args Arguments passed by the setting
1607
- *
1608
  * @global $wp_version WordPress Version
1609
  */
1610
  function edd_rich_editor_callback( $args ) {
1611
- global $wp_version;
1612
-
1613
- $edd_options = edd_get_option( $args['id'] );
1614
 
1615
- if ( $edd_options ) {
1616
- $value = $edd_options;
1617
 
1618
  if( empty( $args['allow_blank'] ) && empty( $value ) ) {
1619
  $value = isset( $args['std'] ) ? $args['std'] : '';
@@ -1644,14 +1642,14 @@ function edd_rich_editor_callback( $args ) {
1644
  *
1645
  * @since 1.0
1646
  * @param array $args Arguments passed by the setting
1647
- *
1648
  * @return void
1649
  */
1650
  function edd_upload_callback( $args ) {
1651
- $edd_options = edd_get_option( $args['id'] );
1652
 
1653
- if ( $edd_options ) {
1654
- $value = $edd_options;
1655
  } else {
1656
  $value = isset($args['std']) ? $args['std'] : '';
1657
  }
@@ -1672,14 +1670,14 @@ function edd_upload_callback( $args ) {
1672
  *
1673
  * @since 1.6
1674
  * @param array $args Arguments passed by the setting
1675
- *
1676
  * @return void
1677
  */
1678
  function edd_color_callback( $args ) {
1679
- $edd_options = edd_get_option( $args['id'] );
1680
 
1681
- if ( $edd_options ) {
1682
- $value = $edd_options;
1683
  } else {
1684
  $value = isset( $args['std'] ) ? $args['std'] : '';
1685
  }
@@ -1699,11 +1697,11 @@ function edd_color_callback( $args ) {
1699
  *
1700
  * @since 1.6
1701
  * @param array $args Arguments passed by the setting
1702
- *
1703
  * @return void
1704
  */
1705
  function edd_shop_states_callback($args) {
1706
- $edd_options = edd_get_option( $args['id'] );
1707
 
1708
  if ( isset( $args['placeholder'] ) ) {
1709
  $placeholder = $args['placeholder'];
@@ -1735,9 +1733,11 @@ function edd_shop_states_callback($args) {
1735
  *
1736
  * @since 1.6
1737
  * @param array $args Arguments passed by the setting
 
1738
  * @return void
1739
  */
1740
  function edd_tax_rates_callback($args) {
 
1741
  $rates = edd_get_tax_rates();
1742
  ob_start(); ?>
1743
  <p><?php echo $args['desc']; ?></p>
@@ -1850,18 +1850,18 @@ function edd_descriptive_text_callback( $args ) {
1850
  *
1851
  * @since 1.5
1852
  * @param array $args Arguments passed by the setting
1853
- *
1854
  * @return void
1855
  */
1856
  if ( ! function_exists( 'edd_license_key_callback' ) ) {
1857
  function edd_license_key_callback( $args ) {
1858
- $edd_options = edd_get_option( $args['id'] );
1859
 
1860
  $messages = array();
1861
  $license = get_option( $args['options']['is_valid_license_option'] );
1862
 
1863
- if ( $edd_options ) {
1864
- $value = $edd_options;
1865
  } else {
1866
  $value = isset( $args['std'] ) ? $args['std'] : '';
1867
  }
19
  * Looks to see if the specified setting exists, returns default if not
20
  *
21
  * @since 1.8.4
 
22
  * @return mixed
23
  */
24
  function edd_get_option( $key = '', $default = false ) {
38
  * @since 2.3
39
  * @param string $key The Key to update
40
  * @param string|bool|int $value The value to set the key to
 
41
  * @return boolean True if updated, false if not.
42
  */
43
  function edd_update_option( $key = '', $value = false ) {
79
  *
80
  * @since 2.3
81
  * @param string $key The Key to delete
 
82
  * @return boolean True if updated, false if not.
83
  */
84
  function edd_delete_option( $key = '' ) {
888
  * @since 1.0.8.2
889
  *
890
  * @param array $input The value inputted in the field
 
891
  *
892
  * @return string $input Sanitizied value
893
  */
966
  */
967
  function edd_settings_sanitize_misc_file_downloads( $input ) {
968
 
969
+ global $edd_options;
970
+
971
  if( ! current_user_can( 'manage_shop_settings' ) ) {
972
  return $input;
973
  }
990
  */
991
  function edd_settings_sanitize_misc_accounting( $input ) {
992
 
993
+ global $edd_options;
994
+
995
  if( ! current_user_can( 'manage_shop_settings' ) ) {
996
  return $input;
997
  }
1199
  *
1200
  * @since 1.0
1201
  * @param array $args Arguments passed by the setting
1202
+ * @global $edd_options Array of all the EDD Options
1203
  * @return void
1204
  */
1205
  function edd_checkbox_callback( $args ) {
1206
+ global $edd_options;
1207
 
1208
  if ( isset( $args['faux'] ) && true === $args['faux'] ) {
1209
  $name = '';
1225
  *
1226
  * @since 1.0
1227
  * @param array $args Arguments passed by the setting
1228
+ * @global $edd_options Array of all the EDD Options
1229
  * @return void
1230
  */
1231
  function edd_multicheck_callback( $args ) {
1232
+ global $edd_options;
1233
 
1234
  if ( ! empty( $args['options'] ) ) {
1235
  foreach( $args['options'] as $key => $option ):
1246
  *
1247
  * @since 2.1
1248
  * @param array $args Arguments passed by the setting
1249
+ * @global $edd_options Array of all the EDD Options
1250
  * @return void
1251
  */
1252
  function edd_payment_icons_callback( $args ) {
1253
+ global $edd_options;
1254
 
1255
  if ( ! empty( $args['options'] ) ) {
1256
  foreach( $args['options'] as $key => $option ) {
1257
 
1258
+ if( isset( $edd_options[$args['id']][$key] ) ) {
1259
  $enabled = $option;
1260
  } else {
1261
  $enabled = NULL;
1312
  *
1313
  * @since 1.3.3
1314
  * @param array $args Arguments passed by the setting
1315
+ * @global $edd_options Array of all the EDD Options
1316
  * @return void
1317
  */
1318
  function edd_radio_callback( $args ) {
1319
+ global $edd_options;
1320
 
1321
  foreach ( $args['options'] as $key => $option ) :
1322
  $checked = false;
1323
 
1324
+ if ( isset( $edd_options[ $args['id'] ] ) && $edd_options[ $args['id'] ] == $key )
1325
  $checked = true;
1326
+ elseif( isset( $args['std'] ) && $args['std'] == $key && ! isset( $edd_options[ $args['id'] ] ) )
1327
  $checked = true;
1328
 
1329
  echo '<input name="edd_settings[' . edd_sanitize_key( $args['id'] ) . ']" id="edd_settings[' . edd_sanitize_key( $args['id'] ) . '][' . edd_sanitize_key( $key ) . ']" type="radio" value="' . edd_sanitize_key( $key ) . '" ' . checked(true, $checked, false) . '/>&nbsp;';
1340
  *
1341
  * @since 1.0
1342
  * @param array $args Arguments passed by the setting
1343
+ * @global $edd_options Array of all the EDD Options
1344
  * @return void
1345
  */
1346
  function edd_gateways_callback( $args ) {
1347
+ global $edd_options;
1348
 
1349
  foreach ( $args['options'] as $key => $option ) :
1350
+ if ( isset( $edd_options['gateways'][ $key ] ) )
1351
  $enabled = '1';
1352
  else
1353
  $enabled = null;
1364
  *
1365
  * @since 1.5
1366
  * @param array $args Arguments passed by the setting
1367
+ * @global $edd_options Array of all the EDD Options
1368
  * @return void
1369
  */
1370
  function edd_gateway_select_callback($args) {
1371
+ global $edd_options;
1372
 
1373
  echo '<select name="edd_settings[' . edd_sanitize_key( $args['id'] ) . ']"" id="edd_settings[' . edd_sanitize_key( $args['id'] ) . ']">';
1374
 
1388
  *
1389
  * @since 1.0
1390
  * @param array $args Arguments passed by the setting
1391
+ * @global $edd_options Array of all the EDD Options
1392
  * @return void
1393
  */
1394
  function edd_text_callback( $args ) {
1395
+ global $edd_options;
1396
 
1397
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1398
+ $value = $edd_options[ $args['id'] ];
1399
  } else {
1400
  $value = isset( $args['std'] ) ? $args['std'] : '';
1401
  }
1423
  *
1424
  * @since 1.9
1425
  * @param array $args Arguments passed by the setting
1426
+ * @global $edd_options Array of all the EDD Options
1427
  * @return void
1428
  */
1429
  function edd_number_callback( $args ) {
1430
+ global $edd_options;
1431
 
1432
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1433
+ $value = $edd_options[ $args['id'] ];
1434
  } else {
1435
  $value = isset( $args['std'] ) ? $args['std'] : '';
1436
  }
1461
  *
1462
  * @since 1.0
1463
  * @param array $args Arguments passed by the setting
1464
+ * @global $edd_options Array of all the EDD Options
1465
  * @return void
1466
  */
1467
  function edd_textarea_callback( $args ) {
1468
+ global $edd_options;
1469
 
1470
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1471
+ $value = $edd_options[ $args['id'] ];
1472
  } else {
1473
  $value = isset( $args['std'] ) ? $args['std'] : '';
1474
  }
1486
  *
1487
  * @since 1.3
1488
  * @param array $args Arguments passed by the setting
1489
+ * @global $edd_options Array of all the EDD Options
1490
  * @return void
1491
  */
1492
  function edd_password_callback( $args ) {
1493
+ global $edd_options;
1494
 
1495
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1496
+ $value = $edd_options[ $args['id'] ];
1497
  } else {
1498
  $value = isset( $args['std'] ) ? $args['std'] : '';
1499
  }
1528
  *
1529
  * @since 1.0
1530
  * @param array $args Arguments passed by the setting
1531
+ * @global $edd_options Array of all the EDD Options
1532
  * @return void
1533
  */
1534
  function edd_select_callback($args) {
1535
+ global $edd_options;
1536
 
1537
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1538
+ $value = $edd_options[ $args['id'] ];
1539
  } else {
1540
  $value = isset( $args['std'] ) ? $args['std'] : '';
1541
  }
1572
  *
1573
  * @since 1.8
1574
  * @param array $args Arguments passed by the setting
1575
+ * @global $edd_options Array of all the EDD Options
1576
  * @return void
1577
  */
1578
  function edd_color_select_callback( $args ) {
1579
+ global $edd_options;
1580
 
1581
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1582
+ $value = $edd_options[ $args['id'] ];
1583
  } else {
1584
  $value = isset( $args['std'] ) ? $args['std'] : '';
1585
  }
1604
  *
1605
  * @since 1.0
1606
  * @param array $args Arguments passed by the setting
1607
+ * @global $edd_options Array of all the EDD Options
1608
  * @global $wp_version WordPress Version
1609
  */
1610
  function edd_rich_editor_callback( $args ) {
1611
+ global $edd_options, $wp_version;
 
 
1612
 
1613
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1614
+ $value = $edd_options[ $args['id'] ];
1615
 
1616
  if( empty( $args['allow_blank'] ) && empty( $value ) ) {
1617
  $value = isset( $args['std'] ) ? $args['std'] : '';
1642
  *
1643
  * @since 1.0
1644
  * @param array $args Arguments passed by the setting
1645
+ * @global $edd_options Array of all the EDD Options
1646
  * @return void
1647
  */
1648
  function edd_upload_callback( $args ) {
1649
+ global $edd_options;
1650
 
1651
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1652
+ $value = $edd_options[$args['id']];
1653
  } else {
1654
  $value = isset($args['std']) ? $args['std'] : '';
1655
  }
1670
  *
1671
  * @since 1.6
1672
  * @param array $args Arguments passed by the setting
1673
+ * @global $edd_options Array of all the EDD Options
1674
  * @return void
1675
  */
1676
  function edd_color_callback( $args ) {
1677
+ global $edd_options;
1678
 
1679
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1680
+ $value = $edd_options[ $args['id'] ];
1681
  } else {
1682
  $value = isset( $args['std'] ) ? $args['std'] : '';
1683
  }
1697
  *
1698
  * @since 1.6
1699
  * @param array $args Arguments passed by the setting
1700
+ * @global $edd_options Array of all the EDD Options
1701
  * @return void
1702
  */
1703
  function edd_shop_states_callback($args) {
1704
+ global $edd_options;
1705
 
1706
  if ( isset( $args['placeholder'] ) ) {
1707
  $placeholder = $args['placeholder'];
1733
  *
1734
  * @since 1.6
1735
  * @param array $args Arguments passed by the setting
1736
+ * @global $edd_options Array of all the EDD Options
1737
  * @return void
1738
  */
1739
  function edd_tax_rates_callback($args) {
1740
+ global $edd_options;
1741
  $rates = edd_get_tax_rates();
1742
  ob_start(); ?>
1743
  <p><?php echo $args['desc']; ?></p>
1850
  *
1851
  * @since 1.5
1852
  * @param array $args Arguments passed by the setting
1853
+ * @global $edd_options Array of all the EDD options
1854
  * @return void
1855
  */
1856
  if ( ! function_exists( 'edd_license_key_callback' ) ) {
1857
  function edd_license_key_callback( $args ) {
1858
+ global $edd_options;
1859
 
1860
  $messages = array();
1861
  $license = get_option( $args['options']['is_valid_license_option'] );
1862
 
1863
+ if ( isset( $edd_options[ $args['id'] ] ) ) {
1864
+ $value = $edd_options[ $args['id'] ];
1865
  } else {
1866
  $value = isset( $args['std'] ) ? $args['std'] : '';
1867
  }
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://pippinsplugins.com/support-the-site
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-downloads, ecommerce, e commerce, e-commerce, selling, wp-ecommerce, wp ecommerce, mordauk, Pippin Williamson, pippinsplugins
7
  Requires at least: 4.0
8
  Tested up to: 4.5
9
- Stable Tag: 2.5.8
10
 
11
  License: GNU Version 2 or Any Later Version
12
 
@@ -214,6 +214,10 @@ Yes, through the addition of one or more of the add-on payment gateways, you can
214
 
215
  == Changelog ==
216
 
 
 
 
 
217
  = 2.5.8, February 18, 2016 =
218
 
219
  * Fix: Transaction ID detection not working properly for old payment records that stored transaction ID in notes
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-downloads, ecommerce, e commerce, e-commerce, selling, wp-ecommerce, wp ecommerce, mordauk, Pippin Williamson, pippinsplugins
7
  Requires at least: 4.0
8
  Tested up to: 4.5
9
+ Stable Tag: 2.5.9
10
 
11
  License: GNU Version 2 or Any Later Version
12
 
214
 
215
  == Changelog ==
216
 
217
+ = 2.5.9, February 18, 2016 =
218
+
219
+ * Fix: Settings cannot be saved
220
+
221
  = 2.5.8, February 18, 2016 =
222
 
223
  * Fix: Transaction ID detection not working properly for old payment records that stored transaction ID in notes