Skip to content

Commit

Permalink
chore: prepare for 3.0.0-rc.8 pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
angelablake committed Oct 11, 2023
1 parent 8bfbef9 commit ccf83aa
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion 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.0-rc.7
* Version: 3.0.0-rc.8
* Requires at least: 6.0
* Requires PHP: 7.2
* Text Domain: give
Expand Down
2 changes: 1 addition & 1 deletion includes/gateways/stripe/includes/admin/admin-helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function give_stripe_is_any_payment_method_active()
}

/**
* @unreleased
* @since 3.0.0-rc.8
*/
return apply_filters('give_stripe_is_any_payment_method_active', $active, $gateways, $stripePaymentMethods);
}
Expand Down
2 changes: 1 addition & 1 deletion includes/gateways/stripe/includes/filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function give_stripe_get_payment_txn_id_fallback( $payment_id ) {
/**
* This function is used to add Stripe credentials to GiveWP form.
*
* @unreleased Return $form_html_tags instead of false when Stripe gateway isn't enabled
* @since 3.0.0-rc.8 Return $form_html_tags instead of false when Stripe gateway isn't enabled
* @since 2.7.0
*
* @param object $form Form Object.
Expand Down
2 changes: 1 addition & 1 deletion src/FormBuilder/resources/js/form-builder/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if (ShortcutProvider === undefined) {
/**
* This is a workaround for a bug where the draggable cursor does not reset.
*
* @unreleased
* @since 3.0.0-rc.8
*/
document.addEventListener('dragend', () => {
// Reset the drag cursor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {FormSettings} from '@givewp/form-builder/types';
* It is intended to be used with controlled inputs, to track the internal state of the input,
* while debouncing the form design setting value.
*
* @unreleased
* @since 3.0.0-rc.8
*/
const useFormDesignSetting = (initialValue: any, wait = 500) => {
const [inputValue, setInputValue] = useState(initialValue);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {__} from '@wordpress/i18n';
import {useFormDesignSetting} from '@givewp/form-builder/hooks';

/**
* @unreleased
* @since 3.0.0-rc.8
*/
export default function Description({description}: {description: string}) {
const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {__} from '@wordpress/i18n';
import {useFormDesignSetting} from '@givewp/form-builder/hooks';

/**
* @unreleased
* @since 3.0.0-rc.8
*/
export default function DonateButton({text}: {text: string}) {
const {inputValue, setInputValue, updateSetting} = useFormDesignSetting(text);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {__} from '@wordpress/i18n';
import {useFormDesignSetting} from '@givewp/form-builder/hooks';

/**
* @unreleased
* @since 3.0.0-rc.8
*/
export default function Heading({heading}: {heading: string}) {
const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {__} from '@wordpress/i18n';
import {useFormDesignSetting} from '@givewp/form-builder/hooks';

/**
* @unreleased
* @since 3.0.0-rc.8
*/
export default function MultiStepFirstButtonText({text}: {text: string}) {
const {inputValue, setInputValue, updateSetting} = useFormDesignSetting(text);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {__} from '@wordpress/i18n';
import {useFormDesignSetting} from '@givewp/form-builder/hooks';

/**
* @unreleased
* @since 3.0.0-rc.8
*/
export default function MultiStepNextButtonText({text}: {text: string}) {
const {inputValue, setInputValue, updateSetting} = useFormDesignSetting(text);
Expand Down
4 changes: 2 additions & 2 deletions src/FormMigration/FormMetaDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ public function getFormFieldsPlacement(): string
}

/**
* @unreleased
* @since 3.0.0-rc.8
*/
public function getFeeRecoverySettings(): array
{
Expand Down Expand Up @@ -510,7 +510,7 @@ public function getFeeRecoverySettings(): array
* This method acts as a wrapper for the give_get_meta function, reducing redundancy
* and improving code readability when fetching metadata related to the current form.
*
* @unreleased
* @since 3.0.0-rc.8
*
* @param string $key
* @param mixed $default
Expand Down
4 changes: 2 additions & 2 deletions src/FormMigration/Steps/FeeRecovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class FeeRecovery extends FormMigrationStep
{

/**
* @unreleased
* @since 3.0.0-rc.8
*/
public function process()
{
Expand All @@ -34,7 +34,7 @@ public function process()
}

/**
* @unreleased
* @since 3.0.0-rc.8
*/
private function getGlobalSettings(): array
{
Expand Down

0 comments on commit ccf83aa

Please sign in to comment.