PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | src/Campaigns/Actions/CreateDefaultCampaignForm.php +2 -0 4.16.24.16.9 View file →
@@ -17,8 +17,9 @@
17 17 */
18 18 class CreateDefaultCampaignForm
19 19 {
20 20 /**
21 + * @since 4.16.8 Set formStatus on FormSettings so it agrees with the form's own status.
21 22 * @since 4.14.2 add formTitle to FormSettings
22 23 * @since 4.2.0 return if campaign already has default form set
23 24 * @since 4.1.0 Added inheritCampaignColors property to FormSettings
24 25 * @since 4.0.0
@@ -35,8 +36,9 @@
35 36 'title' => $campaign->title,
36 37 'status' => DonationFormStatus::PUBLISHED(),
37 38 'settings' => FormSettings::fromArray([
38 39 'formTitle' => $campaign->title,
40 + 'formStatus' => DonationFormStatus::PUBLISHED,
39 41 'showHeader' => false,
40 42 'enableDonationGoal' => false,
41 43 'goalAmount' => $campaign->goal,
42 44 'goalType' => $campaign->goalType->getValue(),