Skip to content

Commit e407ba1

Browse files
committed
chore: prepare for release
1 parent b32afe8 commit e407ba1

File tree

127 files changed

+1302
-1292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+1302
-1292
lines changed

give.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
77
* Author: GiveWP
88
* Author URI: https://givewp.com/
9-
* Version: 4.13.2
9+
* Version: 4.14.0
1010
* Requires at least: 6.6
1111
* Requires PHP: 7.4
1212
* Text Domain: give
@@ -425,7 +425,7 @@ private function setup_constants()
425425
{
426426
// Plugin version.
427427
if (!defined('GIVE_VERSION')) {
428-
define('GIVE_VERSION', '4.13.2');
428+
define('GIVE_VERSION', '4.14.0');
429429
}
430430

431431
// Plugin Root File.

includes/admin/admin-actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ function give_get_user_roles() {
11591159
* to prevent security issues if the default donor role setting is misconfigured.
11601160
* Only basic subscriber-level roles should be available for donor registration.
11611161
*
1162-
* @unreleased
1162+
* @since 4.14.0
11631163
* @return array
11641164
*/
11651165
function give_get_donor_safe_user_roles() {

includes/admin/admin-pages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Creates the admin submenu pages under the Give menu and assigns their
2222
* links to global variables
2323
*
24-
* @unreleased update permission capability to use facade
24+
* @since 4.14.0 update permission capability to use facade
2525
* @since 1.0
2626
*
2727
* @global $give_settings_page

includes/admin/emails/class-email-notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function add_metabox_setting_fields( $settings, $post_id ) {
183183
/**
184184
* Add email notifications
185185
*
186-
* @unreleased Add failed donation email.
186+
* @since 4.14.0 Add failed donation email.
187187
* @since 2.0
188188
* @access private
189189
*/

includes/admin/emails/class-failed-donation-email.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @subpackage Classes/Emails
99
* @copyright Copyright (c) 2016, GiveWP
1010
* @license https://opensource.org/licenses/gpl-license GNU Public License
11-
* @unreleased
11+
* @since 4.14.0
1212
*/
1313

1414
// Exit if access directly.
@@ -21,15 +21,15 @@
2121
if ( ! class_exists( 'Give_Failed_Donation_Email' ) ) :
2222

2323
/**
24-
* @unreleased
24+
* @since 4.14.0
2525
*/
2626
class Give_Failed_Donation_Email extends Give_Email_Notification {
2727

2828
/* @var Donation|null $donation */
2929
private $donation;
3030

3131
/**
32-
* @unreleased
32+
* @since 4.14.0
3333
*/
3434
public function init() {
3535

@@ -52,7 +52,7 @@ public function init() {
5252
}
5353

5454
/**
55-
* @unreleased
55+
* @since 4.14.0
5656
*
5757
* @return string
5858
*/
@@ -70,15 +70,15 @@ private function get_default_email_message() {
7070
/**
7171
* Filter the default failed donation notification email message.
7272
*
73-
* @unreleased
73+
* @since 4.14.0
7474
*
7575
* @param string $default_email_body Default email message.
7676
*/
7777
return apply_filters( 'give_default_failed_donation_notification_email', $default_email_body );
7878
}
7979

8080
/**
81-
* @unreleased
81+
* @since 4.14.0
8282
*
8383
* @param int $payment_id The ID number of the payment.
8484
* @param string $new_status The status of the payment.
@@ -105,13 +105,13 @@ public function maybe_send_email_notification( $payment_id, $new_status, $old_st
105105
*
106106
* @param int $payment_id Payment ID.
107107
*
108-
* @unreleased
108+
* @since 4.14.0
109109
*/
110110
do_action( "give_{$this->config['id']}_email_notification", $payment_id );
111111
}
112112

113113
/**
114-
* @unreleased
114+
* @since 4.14.0
115115
*
116116
* @param int $form_id
117117
*
@@ -130,7 +130,7 @@ public function get_email_subject( $form_id = null ) {
130130
/**
131131
* Filters the failed donation notification subject.
132132
*
133-
* @unreleased
133+
* @since 4.14.0
134134
*/
135135
$subject = apply_filters( "give_{$this->config['id']}_get_email_subject", $subject, $this, $form_id );
136136

@@ -139,7 +139,7 @@ public function get_email_subject( $form_id = null ) {
139139

140140

141141
/**
142-
* @unreleased
142+
* @since 4.14.0
143143
*
144144
* @param int $form_id
145145
*
@@ -156,7 +156,7 @@ public function get_email_message( $form_id = null ) {
156156
/**
157157
* Filter the email message
158158
*
159-
* @unreleased
159+
* @since 4.14.0
160160
*/
161161
$message = apply_filters(
162162
"give_{$this->config['id']}_get_default_email_message",
@@ -170,7 +170,7 @@ public function get_email_message( $form_id = null ) {
170170

171171

172172
/**
173-
* @unreleased
173+
* @since 4.14.0
174174
*
175175
* @param int $form_id
176176
* @return array
@@ -180,7 +180,7 @@ public function get_email_attachments( $form_id = null ) {
180180
* Filters the failed donation notification email attachments.
181181
* By default, there is no attachment but plugins can hook in to provide one more multiple.
182182
*
183-
* @unreleased
183+
* @since 4.14.0
184184
*/
185185
$attachments = apply_filters(
186186
"give_{$this->config['id']}_get_email_attachments",
@@ -193,13 +193,13 @@ public function get_email_attachments( $form_id = null ) {
193193
}
194194

195195
/**
196-
* @unreleased
196+
* @since 4.14.0
197197
*/
198198
public function setup_email_data() {
199199
/**
200200
* Filters the from name.
201201
*
202-
* @unreleased
202+
* @since 4.14.0
203203
*/
204204
$from_name = apply_filters(
205205
'give_failed_donation_from_name',
@@ -211,7 +211,7 @@ public function setup_email_data() {
211211
/**
212212
* Filters the from email.
213213
*
214-
* @unreleased
214+
* @since 4.14.0
215215
*/
216216
$from_email = apply_filters(
217217
'give_failed_donation_from_address',
@@ -226,7 +226,7 @@ public function setup_email_data() {
226226
/**
227227
* Filters the failed donation notification email headers.
228228
*
229-
* @unreleased
229+
* @since 4.14.0
230230
*/
231231
$headers = apply_filters(
232232
'give_failed_donation_notification_headers',
@@ -239,7 +239,7 @@ public function setup_email_data() {
239239
}
240240

241241
/**
242-
* @unreleased
242+
* @since 4.14.0
243243
*
244244
* @param int $payment_id
245245
*/

includes/admin/settings/class-settings-advanced.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct()
5858
/**
5959
* Get settings array.
6060
*
61-
* @unreleased update donor default user role to use give_get_donor_safe_user_roles
61+
* @since 4.14.0 update donor default user role to use give_get_donor_safe_user_roles
6262
* @since 4.1.0 Added Donation Forms section
6363
* @since 1.8
6464
* @return array

includes/admin/upgrades/class-give-updates.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function change_donations_label() {
240240
/**
241241
* Register updates menu
242242
*
243-
* @unreleased update permission capability to use facade
243+
* @since 4.14.0 update permission capability to use facade
244244
* @since 4.9.0 rename function - PHP 8 compatibility
245245
* @since 1.8.12
246246
* @access public

includes/admin/upgrades/upgrade-functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ function give_v20_upgrades_payment_metadata_callback() {
19721972
/**
19731973
* Move payment and form metadata to new table
19741974
*
1975-
* @unreleased Replace {$wpdb->paymentmeta} with {$wpdb->donationmeta}
1975+
* @since 4.14.0 Replace {$wpdb->paymentmeta} with {$wpdb->donationmeta}
19761976
* @since 2.0
19771977
* @return void
19781978
*/
@@ -2324,7 +2324,7 @@ function give_v201_upgrades_payment_metadata_callback() {
23242324
/**
23252325
* Move payment and form metadata to new table
23262326
*
2327-
* @unreleased Replace {$wpdb->paymentmeta} with {$wpdb->donationmeta}
2327+
* @since 4.14.0 Replace {$wpdb->paymentmeta} with {$wpdb->donationmeta}
23282328
* @since 2.0.1
23292329
* @return void
23302330
*/

includes/class-give-roles.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function add_caps() {
162162
}
163163

164164
// Add Capabilities to Give Workers User Role.
165-
// @unreleased replaced edit_give_payments with view_give_payments, added view_give_forms
165+
// @since 4.14.0 replaced edit_give_payments with view_give_payments, added view_give_forms
166166
$wp_roles->add_cap( 'give_worker', 'view_give_payments' );
167167
$wp_roles->add_cap( 'give_worker', 'view_give_forms' );
168168
$wp_roles->add_cap( 'give_worker', 'delete_give_forms' );
@@ -177,7 +177,7 @@ public function add_caps() {
177177
$wp_roles->add_cap( 'give_worker', 'read_private_give_forms' );
178178

179179
// Add Capabilities to Give Accountant User Role.
180-
// @unreleased replaced edit_give_forms with view_give_forms
180+
// @since 4.14.0 replaced edit_give_forms with view_give_forms
181181
$wp_roles->add_cap( 'give_accountant', 'view_give_forms' );
182182
$wp_roles->add_cap( 'give_accountant', 'read_private_give_forms' );
183183
$wp_roles->add_cap( 'give_accountant', 'view_give_reports' );
@@ -193,7 +193,7 @@ public function add_caps() {
193193
*
194194
* Retrieve core post type capabilities.
195195
*
196-
* @unreleased added view to capability types
196+
* @since 4.14.0 added view to capability types
197197
* @since 1.0
198198
* @access public
199199
*
@@ -279,7 +279,7 @@ public function meta_caps( $caps, $cap, $user_id, $args ) {
279279
*
280280
* Remove core post type capabilities (called on uninstall).
281281
*
282-
* @unreleased added view_give_payments to remove list
282+
* @since 4.14.0 added view_give_payments to remove list
283283
* @since 1.0
284284
* @access public
285285
*
@@ -338,7 +338,7 @@ public function remove_caps() {
338338
$wp_roles->remove_cap( 'give_worker', 'read_private_give_forms' );
339339

340340
// Remove Capabilities from Give Accountant User Role.
341-
// @unreleased replaced edit_give_forms with view_give_forms
341+
// @since 4.14.0 replaced edit_give_forms with view_give_forms
342342
$wp_roles->remove_cap( 'give_accountant', 'view_give_forms' );
343343
$wp_roles->remove_cap( 'give_accountant', 'read_private_give_forms' );
344344
$wp_roles->remove_cap( 'give_accountant', 'view_give_reports' );

includes/database/class-give-db-payment-meta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Give_DB_Payment_Meta extends Give_DB_Meta {
4545
*
4646
* @access public
4747
*
48-
* @unreleased Remove {$wpdb->paymentmeta} registration in favor of {$wpdb->donationmeta}
48+
* @since 4.14.0 Remove {$wpdb->paymentmeta} registration in favor of {$wpdb->donationmeta}
4949
* @since 2.0
5050
*/
5151
public function __construct() {

0 commit comments

Comments
 (0)