Skip to content

Commit

Permalink
chore: prepare for 3.0.0-rc.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
angelablake committed Oct 9, 2023
1 parent f8bfaaf commit a34dfd4
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 27 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.6
* Version: 3.0.0-rc.7
* Requires at least: 6.0
* Requires PHP: 7.2
* Text Domain: give
Expand Down
2 changes: 1 addition & 1 deletion src/DonationForms/Listeners/UpdateDonationLevelId.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class UpdateDonationLevelId
* this will update the donation level ID meta with the level array key,
* which is used in the donation details screen.
*
* @unreleased
* @since 3.0.0-rc.7
*
* @throws NameCollisionException|Exception
*/
Expand Down
4 changes: 2 additions & 2 deletions src/FormMigration/FormMetaDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,15 +432,15 @@ public function getOfflineAttributes(): array
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/
public function getFormFields(): array
{
return array_filter((array)give_get_meta($this->form->id, 'give-form-fields', true));
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/
public function getFormFieldsPlacement(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/FormMigration/Steps/DonationOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function process()
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/
private function roundAmount($amount): float
{
Expand Down
36 changes: 18 additions & 18 deletions src/FormMigration/Steps/FormFieldManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class FormFieldManager extends FormMigrationStep
* - "field_width" (Field Width)
* - "css" (CSS Class Name)
*
* @unreleased
* @since 3.0.0-rc.7
*/
public function process()
{
Expand Down Expand Up @@ -75,7 +75,7 @@ public function process()
* - "time" (Enable time input)
* - "format_time" (Time Format)
*
* @unreleased
* @since 3.0.0-rc.7
*/
private function addDateField($field): BlockModel
{
Expand All @@ -99,7 +99,7 @@ private function addDateField($field): BlockModel
* Suppressed settings for the Dropdown field:
* - "first" (Select Text)
*
* @unreleased
* @since 3.0.0-rc.7
*/
private function addDropdownField($field): BlockModel
{
Expand All @@ -123,7 +123,7 @@ private function addDropdownField($field): BlockModel
* Suppressed settings for the Email field:
* - "maxlength" (Max Length)
*
* @unreleased
* @since 3.0.0-rc.7
*/
private function addEmailField($field): BlockModel
{
Expand All @@ -136,7 +136,7 @@ private function addEmailField($field): BlockModel
* Suppressed settings for the File Upload field:
* - "count" (Max. files)
*
* @unreleased
* @since 3.0.0-rc.7
*/
private function addFileUploadField($field): BlockModel
{
Expand All @@ -159,7 +159,7 @@ private function addFileUploadField($field): BlockModel
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/
private function addHiddenField($field): BlockModel
{
Expand All @@ -169,7 +169,7 @@ private function addHiddenField($field): BlockModel
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/

private function addHtmlField($field): BlockModel
Expand All @@ -186,7 +186,7 @@ private function addHtmlField($field): BlockModel
* Suppressed settings for the Dropdown field:
* - "first" (Select Text)
*
* @unreleased
* @since 3.0.0-rc.7
*/
private function addMultiSelectField($field): BlockModel
{
Expand All @@ -209,7 +209,7 @@ private function addMultiSelectField($field): BlockModel
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/

private function addPhoneField($field): BlockModel
Expand All @@ -225,7 +225,7 @@ private function addPhoneField($field): BlockModel
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/

private function addRadioField($field): BlockModel
Expand All @@ -250,7 +250,7 @@ private function addRadioField($field): BlockModel
* Suppressed settings for the Text field:
* - "maxlength" (Max Length)
*
* @unreleased
* @since 3.0.0-rc.7
*/
private function addTextField($field): BlockModel
{
Expand All @@ -263,7 +263,7 @@ private function addTextField($field): BlockModel
* Suppressed settings for the Textarea field:
* - "cols" (Columns)
*
* @unreleased
* @since 3.0.0-rc.7
*/
private function addTextareaField($field): BlockModel
{
Expand All @@ -279,7 +279,7 @@ private function addTextareaField($field): BlockModel
* Suppressed settings for the Text field:
* - "maxlength" (Max Length)
*
* @unreleased
* @since 3.0.0-rc.7
*/
private function addUrlField($field): BlockModel
{
Expand All @@ -289,7 +289,7 @@ private function addUrlField($field): BlockModel
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/

private function addSection($field): void
Expand Down Expand Up @@ -329,7 +329,7 @@ private function addSection($field): void
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/

private function getInitialInserter(): array
Expand Down Expand Up @@ -368,7 +368,7 @@ private function getInitialInserter(): array
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/

private function applyCommonAttributes($block, $field): BlockModel
Expand Down Expand Up @@ -413,7 +413,7 @@ private function applyCommonAttributes($block, $field): BlockModel
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/

private function insertBlock($block): void
Expand All @@ -423,7 +423,7 @@ private function insertBlock($block): void
}

/**
* @unreleased
* @since 3.0.0-rc.7
*/

private function mapConditionalLogicToBlocks(): void
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/Blocks/BlockCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function findParentByChildName($blockName, int $blockIndex = 0)
}

/**
* @unreleased
* @since 3.0.0-rc.7
*
* @return array{0: BlockModel, 1: int}|void
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentGateways/PayPalCommerce/PayPalCommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function createPayment(Donation $donation, $gatewayData): GatewayCommand
}

/**
* @unreleased Conditionally add "Transaction Type" setting.
* @since 3.0.0-rc.7 Conditionally add "Transaction Type" setting.
* @since 2.33.0 Register new payment field type setting.
* @since 2.27.3 Enable Venmo payment method by default.
* @since 2.16.2 Add setting "Transaction type".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getAccessToken()
/**
* Returns the account access token
*
* @unreleased Set transaction type to "standard" if the country is not supported.
* @since 3.0.0-rc.7 Set transaction type to "standard" if the country is not supported.
* @since 2.9.0
*/
public function getTransactionType(): string
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentGateways/PayPalCommerce/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static function isAccountReadyToAcceptPayment()
/**
* this function should return true if country supports "Donation" transaction type.
*
* @unreleased
* @since 3.0.0-rc.7
*/
public static function isDonationTransactionTypeSupported(string $country): bool
{
Expand Down

0 comments on commit a34dfd4

Please sign in to comment.