Skip to content

Commit

Permalink
chore: prepare for release 3.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein committed May 7, 2024
1 parent 6e57353 commit b077c2e
Show file tree
Hide file tree
Showing 8 changed files with 18 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.10.0
* Version: 3.11.0
* 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.10.0');
define('GIVE_VERSION', '3.11.0');
}

// Plugin Root File.
Expand Down
8 changes: 4 additions & 4 deletions includes/class-give-donate-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ public function get_type() {
*/
public function get_form_classes( $args ) {
/**
* @unreleased sanitize $args
* @since 3.11.0 sanitize $args
*/
$args = give_clean($args);

Expand All @@ -839,7 +839,7 @@ public function get_form_classes( $args ) {
$form_classes_array = array_filter( $form_classes_array );

/**
* @unreleased sanitize attributes
* @since 3.11.0 sanitize attributes
*/
$form_classes_array = array_map('esc_attr', $form_classes_array);

Expand All @@ -860,7 +860,7 @@ public function get_form_classes( $args ) {
*/
public function get_form_wrap_classes( $args ) {
/**
* @unreleased sanitize $args
* @since 3.11.0 sanitize $args
*/
$args = give_clean($args);

Expand Down Expand Up @@ -891,7 +891,7 @@ public function get_form_wrap_classes( $args ) {
$form_wrap_classes_array = (array) apply_filters( 'give_form_wrap_classes', $custom_class, $this->ID, $args );

/**
* @unreleased sanitize attributes
* @since 3.11.0 sanitize attributes
*/
$form_wrap_classes_array = array_map('esc_attr', $form_wrap_classes_array);

Expand Down
2 changes: 1 addition & 1 deletion includes/forms/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function give_get_donation_form( $args = [] ) {
static $count = 1;

/**
* @unreleased sanitize $args
* @since 3.11.0 sanitize $args
*/
$args = give_clean($args);

Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding
Requires at least: 6.3
Tested up to: 6.5
Requires PHP: 7.2
Stable tag: 3.10.0
Stable tag: 3.11.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -262,6 +262,12 @@ 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.11.0: May 7th, 2024 =
* New: Added pre-requisite form builder compatibility for upcoming ConvertKit add-on release
* New: Added ability to customize alt tags for header images in the visual form builder
* Security: Added additional escaping to the give_form shortcode
* Security: Added additional sanitization to the custom css field in the form builder

= 3.10.0: April 30th, 2024 =
* New: Added pre-requisite form builder compatibility for upcoming ActiveCampaign add-on release
* Enhancement: Updated PayPal support phone number
Expand Down
2 changes: 1 addition & 1 deletion src/DonationForms/Properties/FormSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class FormSettings implements Arrayable, Jsonable
* @since 3.7.0 Added formExcerpt
/**
* @unreleased Sanitize customCSS property
* @since 3.11.0 Sanitize customCSS property
* @since 3.2.0 Added registrationNotification
* @since 3.0.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function formExports(): array
}

/**
* @unreleased Sanitize customCSS property
* @since 3.11.0 Sanitize customCSS property
* @since 3.0.0
*/
public function render(): string
Expand Down
2 changes: 1 addition & 1 deletion src/DonationForms/ViewModels/DonationFormViewModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function exports(): array
* 5. Finally, call the specific WP function wp_print_footer_scripts()
* - This will only print the footer scripts that are enqueued within our route.
*
* @unreleased Sanitize customCSS property
* @since 3.11.0 Sanitize customCSS property
* @since 3.0.0
*/
public function render(): string
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/DonationForms/Properties/FormSettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Give\Tests\TestCase;

/**
* @unreleased
* @since 3.11.0
*/
class FormSettingsTest extends TestCase
{
Expand Down

0 comments on commit b077c2e

Please sign in to comment.