Skip to content

Commit

Permalink
chore: pepare for release 3.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein authored and Jon Waldstein committed Aug 7, 2024
1 parent 39d41fc commit e2bb040
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
4 changes: 2 additions & 2 deletions give.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
* Author: GiveWP
* Author URI: https://givewp.com/
* Version: 3.14.1
* Version: 3.14.2
* Requires at least: 6.3
* Requires PHP: 7.2
* Text Domain: give
Expand Down Expand Up @@ -404,7 +404,7 @@ private function setup_constants()
{
// Plugin version.
if (!defined('GIVE_VERSION')) {
define('GIVE_VERSION', '3.14.1');
define('GIVE_VERSION', '3.14.2');
}

// Plugin Root File.
Expand Down
2 changes: 1 addition & 1 deletion includes/process-donation.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ function give_donation_form_validate_fields() {
/**
* Detect serialized fields.
*
* @unreleased add give-form-title, give_title
* @since 3.14.2 add give-form-title, give_title
* @since 3.5.0
*/
function give_donation_form_has_serialized_fields(array $post_data): bool
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: givewp, dlocc, webdevmattcrom, ravinderk, mehul0810, kevinwhoffman
Donate link: https://go.givewp.com/home
Tags: donation, donate, recurring donations, fundraising, crowdfunding
Requires at least: 6.3
Tested up to: 6.5
Tested up to: 6.6
Requires PHP: 7.2
Stable tag: 3.14.1
Stable tag: 3.14.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -262,6 +262,9 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
10. Use almost any payment gateway integration with GiveWP through our add-ons or by creating your own add-on.

== Changelog ==
= 3.14.2: Aug 7th, 2024 =
* Security: Added additional security measures to the option-based donation form and the donor dashboard

= 3.14.1: July 24th, 2024 =
* Fix: Resolved an error with the give_totals shortcode when using multiple form IDs

Expand Down
2 changes: 1 addition & 1 deletion src/DonorDashboards/Pipeline/Stages/UpdateDonorAvatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use WP_REST_Response;

/**
* @unreleased added security measures to updateAvatarInMetaDB
* @since 3.14.2 added security measures to updateAvatarInMetaDB
* @since 2.10.0
*/
class UpdateDonorAvatar implements Stage
Expand Down
2 changes: 1 addition & 1 deletion src/DonorDashboards/Profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function getCountry()
}

/**
* @unreleased
* @since 3.14.2
*/
public function avatarBelongsToCurrentUser(?int $avatarId = null): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/DonorDashboards/Tabs/EditProfileTab/AvatarRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use WP_REST_Response;

/**
* @unreleased added security measure avatarBelongsToCurrentUser to handleRequest
* @since 3.14.2 added security measure avatarBelongsToCurrentUser to handleRequest
* @since 2.10.3
*/
class AvatarRoute extends RouteAbstract
Expand Down
8 changes: 4 additions & 4 deletions tests/Unit/DonorDashboards/Repositories/TestProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
use Give\Tests\TestTraits\RefreshDatabase;

/**
* @unreleased
* @since 3.14.2
*/
final class TestProfile extends TestCase
{
use RefreshDatabase;

/**
* @unreleased
* @since 3.14.2
*/
public function testAvatarBelongsToCurrentUserShouldReturnTrue(): void
{
Expand Down Expand Up @@ -44,7 +44,7 @@ public function testAvatarBelongsToCurrentUserShouldReturnTrue(): void
}

/**
* @unreleased
* @since 3.14.2
*/
public function testAvatarBelongsToCurrentUserShouldReturnTrueWithAvatarParam(): void
{
Expand Down Expand Up @@ -73,7 +73,7 @@ public function testAvatarBelongsToCurrentUserShouldReturnTrueWithAvatarParam():
}

/**
* @unreleased
* @since 3.14.2
*/
public function testAvatarBelongsToCurrentUserShouldReturnFalse(): void
{
Expand Down

0 comments on commit e2bb040

Please sign in to comment.