Skip to content

Commit

Permalink
chore: prepare for 3.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheAdams committed Oct 25, 2023
1 parent eba4d05 commit 544ea4a
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function register_block() {
/**
* Block render callback
*
* @unreleased Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
* @since 3.1.0 Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
*
* @param array $attributes Block parameters.
*
Expand Down
2 changes: 1 addition & 1 deletion blocks/donor-wall/class-give-donor-wall.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function register_block() {
/**
* Block render callback
*
* @unreleased Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
* @since 3.1.0 Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
*
* @param array $attributes Block parameters.
*
Expand Down
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.0.3
* Version: 3.1.0
* Requires at least: 6.0
* Requires PHP: 7.2
* Text Domain: give
Expand Down Expand Up @@ -391,7 +391,7 @@ private function setup_constants()
{
// Plugin version.
if (!defined('GIVE_VERSION')) {
define('GIVE_VERSION', '3.0.3');
define('GIVE_VERSION', '3.1.0');
}

// Plugin Root File.
Expand Down
2 changes: 1 addition & 1 deletion includes/class-notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function render_admin_notices() {
/**
* Render give frontend notices.
*
* @unreleased Render errors on Ajax request (Donation form validation - v2 forms)
* @since 3.1.0 Render errors on Ajax request (Donation form validation - v2 forms)
* @since 2.32.0 Display registered error on donation form.
* @since 1.8.9
* @access public
Expand Down
4 changes: 2 additions & 2 deletions includes/forms/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ function give_add_button_open_form( $form_id, $args ) {
/**
* Shows the User Info fields in the Personal Info box, more fields can be added via the hooks provided.
*
* @unreleased Add the give_user_info_fields_user_info filter
* @since 3.1.0 Add the give_user_info_fields_user_info filter
* @since 2.25.0 add radio group to conditionally enable/disable company name field
* @since 1.0
*
Expand Down Expand Up @@ -1195,7 +1195,7 @@ class="card-expiry give-input required" placeholder="<?php esc_attr_e( 'MM / YY'
/**
* Outputs the default credit card address fields.
*
* @unreleased Add the give_default_cc_address_fields_user_info filter
* @since 3.1.0 Add the give_default_cc_address_fields_user_info filter
* @since 1.0
*
* @param int $form_id The form ID.
Expand Down
2 changes: 1 addition & 1 deletion includes/shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ function give_totals_shortcode( $atts ) {
*
* @since 2.1.0
*
* @unreleased Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
* @since 3.1.0 Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
* @since 2.23.1 Updated the default text color for the donate button, see #6591.
* @since 2.21.2 change tag_background_color, progress_bar_color to official green color #69b868.
* change tag_text_color color to #333333.
Expand Down
15 changes: 14 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.0
Tested up to: 6.4
Requires PHP: 7.2
Stable tag: 3.0.3
Stable tag: 3.1.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -262,6 +262,19 @@ 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.1.0: October 25th, 2023 =
* Feature: Donor prefixes can now easily be reordered in the Donor Name block
* Feature: The form goal is now changeable from the Design mode of the Form Builder
* Enhancement: The form goal amount now better displays the currency amount
* Enhancement: The first time a form (in the form builder) is saved, the title is used as the page slug
* Fix: Minor wording improvement on the login block
* Fix: Added a give_user_info_fields_user_info filter to allow for customizing the user info fields
* Fix: Links on the donor list table now work properly on sub-directory WordPress instances
* Fix: Resolved an issue where errors failed to display on older forms upon donation submission
* Fix: Multi-form, form grid, and totals shortcodes no longer throw a warning
* Fix: Multi-form goal block no longer throws an error when filtering by form
* Fix: Multi-form and progress bar goals no longer throw an error for themes that return false for get_theme_support

= 3.0.3: October 20th, 2023 =
* Fix: Using the multi-form shortcode with the ids attribute no longer causes a fatal error
* Fix: Forms no longer have fatal errors on Elementor websites when the Display Content option is enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Logo = () => (
);

/**
* @unreleased dispatch page slug from form title on initial publish.
* @since 3.1.0 dispatch page slug from form title on initial publish.
*/
const HeaderContainer = ({SecondarySidebarButtons = null, showSidebar, toggleShowSidebar}) => {
const {blocks, settings: formSettings, isDirty, transfer} = useFormState();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {isFormPageEnabled, PageSlugControl} from './page-slug';
import {cleanForSlug} from '@wordpress/url';

/**
* @unreleased dispatch page slug from form title on initial publish.
* @since 3.1.0 dispatch page slug from form title on initial publish.
*/
const FormSummarySettings = () => {
const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const {
} = getWindowData();

/**
* @unreleased pass page slug from parent component to support form title as initial slug.
* @since 3.1.0 pass page slug from parent component to support form title as initial slug.
* @since 3.0.0
* @see https://github.com/WordPress/gutenberg/blob/a8c5605f5dd077a601aefce6f58409f54d7d4447/packages/editor/src/components/post-slug/index.js
*/
Expand Down
2 changes: 1 addition & 1 deletion src/FormMigration/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* ex: givewp_migrated_form_id($formId);
* ex: givewp_migrated_form_id($formId, $atts['id']);
*
* @unreleased Make sure $formId always will receive an integer value
* @since 3.1.0 Make sure $formId always will receive an integer value
* @since 3.0.0
*
* @param $formId int $formId is used as an "output argument", meaning it is updated without needing to be returned.
Expand Down
2 changes: 1 addition & 1 deletion src/MultiFormGoals/ProgressBar/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function addBlock()
/**
* Returns Progress Bar block markup
*
* @unreleased Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
* @since 3.1.0 Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
* @since 2.9.0
**/
public function renderCallback($attributes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {__} from '@wordpress/i18n';
/**
* Get array of form options for a select control
*
* @unreleased Use title.raw instead of title.rendered
* @since 3.1.0 Use title.raw instead of title.rendered
* @since 2.9.0
* @return {array} Array of options for a select control
*/
Expand Down

0 comments on commit 544ea4a

Please sign in to comment.