Version Description
Download this release
Release Info
Developer | dlocc |
Plugin | Give – Donation Plugin and Fundraising Platform |
Version | 2.4.7 |
Comparing to | |
See all releases |
Code changes from version 2.4.6 to 2.4.7
- give.php +2 -2
- includes/admin/donors/class-donor-table.php +3 -3
- readme.txt +4 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
give.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
|
6 |
* Author: GiveWP
|
7 |
* Author URI: https://givewp.com/
|
8 |
-
* Version: 2.4.
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
@@ -426,7 +426,7 @@ if ( ! class_exists( 'Give' ) ) :
|
|
426 |
|
427 |
// Plugin version.
|
428 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
429 |
-
define( 'GIVE_VERSION', '2.4.
|
430 |
}
|
431 |
|
432 |
// Plugin Root File.
|
5 |
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
|
6 |
* Author: GiveWP
|
7 |
* Author URI: https://givewp.com/
|
8 |
+
* Version: 2.4.7
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
426 |
|
427 |
// Plugin version.
|
428 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
429 |
+
define( 'GIVE_VERSION', '2.4.7' );
|
430 |
}
|
431 |
|
432 |
// Plugin Root File.
|
includes/admin/donors/class-donor-table.php
CHANGED
@@ -326,8 +326,8 @@ class Give_Donor_List_Table extends WP_List_Table {
|
|
326 |
|
327 |
$actions = array(
|
328 |
'id' => '<span class="give-donor-id">ID: ' . $donor['id'] . ' </span>',
|
329 |
-
'view' => sprintf( '<a href="%1$s" aria-label="%2$s">%3$s</a>', admin_url( 'edit.php?post_type=give_forms&page=give-donors&view=overview&id=' . $donor['id'] ), sprintf( esc_attr__( 'View "%s"', 'give' ), $donor['name'] ), __( 'View Donor', 'give' ) ),
|
330 |
-
'delete' => sprintf( '<a class="%1$s" data-id="%2$s" href="#" aria-label="%3$s">%4$s</a>', 'give-single-donor-delete', $donor['id'], sprintf( esc_attr__( 'Delete "%s"', 'give' ), $donor['name'] ), __( 'Delete', 'give' ) ),
|
331 |
);
|
332 |
|
333 |
return apply_filters( 'give_donor_row_actions', $actions, $donor );
|
@@ -512,7 +512,7 @@ class Give_Donor_List_Table extends WP_List_Table {
|
|
512 |
* @access public
|
513 |
*/
|
514 |
public function single_row( $item ) {
|
515 |
-
echo sprintf( '<tr id="donor-%1$d" data-id="%2$d" data-name="%3$s">', $item['id'], $item['id'], $item['name'] );
|
516 |
$this->single_row_columns( $item );
|
517 |
echo '</tr>';
|
518 |
}
|
326 |
|
327 |
$actions = array(
|
328 |
'id' => '<span class="give-donor-id">ID: ' . $donor['id'] . ' </span>',
|
329 |
+
'view' => sprintf( '<a href="%1$s" aria-label="%2$s">%3$s</a>', admin_url( 'edit.php?post_type=give_forms&page=give-donors&view=overview&id=' . $donor['id'] ), sprintf( esc_attr__( 'View "%s"', 'give' ), esc_attr( $donor['name'] ) ), __( 'View Donor', 'give' ) ),
|
330 |
+
'delete' => sprintf( '<a class="%1$s" data-id="%2$s" href="#" aria-label="%3$s">%4$s</a>', 'give-single-donor-delete', $donor['id'], sprintf( esc_attr__( 'Delete "%s"', 'give' ), esc_attr( $donor['name'] ) ), __( 'Delete', 'give' ) ),
|
331 |
);
|
332 |
|
333 |
return apply_filters( 'give_donor_row_actions', $actions, $donor );
|
512 |
* @access public
|
513 |
*/
|
514 |
public function single_row( $item ) {
|
515 |
+
echo sprintf( '<tr id="donor-%1$d" data-id="%2$d" data-name="%3$s">', $item['id'], $item['id'], esc_attr( $item['name'] ) );
|
516 |
$this->single_row_columns( $item );
|
517 |
echo '</tr>';
|
518 |
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: donation, donations, donation plugin, wordpress donation plugin, givewp, g
|
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.4.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -205,6 +205,9 @@ Use Give for donations, and let WooCommerce or WP eCommerce or the like handle y
|
|
205 |
|
206 |
== Changelog ==
|
207 |
|
|
|
|
|
|
|
208 |
= 2.4.6: May 7th, 2019 =
|
209 |
* Fix: Resolved an issue displaying donations in WP-Admin made when the WordPress install's date format is set to "d/m/Y". [#4088](https://github.com/impress-org/give/issues/4088)
|
210 |
* Fix: The Donations Exporter tool was not properly respecting the category or tag filters when creating the CSV file. [#4085](https://github.com/impress-org/give/issues/4085)
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.4.7
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
205 |
|
206 |
== Changelog ==
|
207 |
|
208 |
+
= 2.4.7: May 14th, 2019 =
|
209 |
+
* Fix: Added additional escaping to ensure certain donor input is secure when being viewed as records in wp-admin.
|
210 |
+
|
211 |
= 2.4.6: May 7th, 2019 =
|
212 |
* Fix: Resolved an issue displaying donations in WP-Admin made when the WordPress install's date format is set to "d/m/Y". [#4088](https://github.com/impress-org/give/issues/4088)
|
213 |
* Fix: The Donations Exporter tool was not properly respecting the category or tag filters when creating the CSV file. [#4085](https://github.com/impress-org/give/issues/4085)
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitfa13f3a2286b4d6dab78dfbbf1a0b539::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit0d81a2828868a7e453d8900d1966a235
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitfa13f3a2286b4d6dab78dfbbf1a0b539
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitfa13f3a2286b4d6dab78dfbbf1a0b539', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitfa13f3a2286b4d6dab78dfbbf1a0b539', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitfa13f3a2286b4d6dab78dfbbf1a0b539::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'C' =>
|
@@ -40,9 +40,9 @@ class ComposerStaticInit0d81a2828868a7e453d8900d1966a235
|
|
40 |
public static function getInitializer(ClassLoader $loader)
|
41 |
{
|
42 |
return \Closure::bind(function () use ($loader) {
|
43 |
-
$loader->prefixLengthsPsr4 =
|
44 |
-
$loader->prefixDirsPsr4 =
|
45 |
-
$loader->classMap =
|
46 |
|
47 |
}, null, ClassLoader::class);
|
48 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitfa13f3a2286b4d6dab78dfbbf1a0b539
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'C' =>
|
40 |
public static function getInitializer(ClassLoader $loader)
|
41 |
{
|
42 |
return \Closure::bind(function () use ($loader) {
|
43 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitfa13f3a2286b4d6dab78dfbbf1a0b539::$prefixLengthsPsr4;
|
44 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitfa13f3a2286b4d6dab78dfbbf1a0b539::$prefixDirsPsr4;
|
45 |
+
$loader->classMap = ComposerStaticInitfa13f3a2286b4d6dab78dfbbf1a0b539::$classMap;
|
46 |
|
47 |
}, null, ClassLoader::class);
|
48 |
}
|