From df49d2d9a370ab0515f309914dbc1c506dfaa7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=C3=BCel=20van=20der=20Steege?= Date: Wed, 5 Jun 2024 16:56:05 +0200 Subject: [PATCH] Update payment date alignment setting name and description (https://github.com/pronamic/wp-pay-core/issues/182). --- views/html-admin-feed-settings.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/views/html-admin-feed-settings.php b/views/html-admin-feed-settings.php index 8676eae..775ebba 100644 --- a/views/html-admin-feed-settings.php +++ b/views/html-admin-feed-settings.php @@ -33,10 +33,10 @@ /** * Private helper function for Gravity Forms dropdown input. - * + * * @param array $form Gravity Forms form array/object. * @param array $args Arguments. - * @return void + * @return void */ function _pronamic_pay_gravityforms_dropdown_input( $form, $args ) { $args = \wp_parse_args( @@ -564,7 +564,7 @@ function ( $action ) { _pronamic_pay_gravityforms_dropdown_input( $form_meta, - [ + [ 'id' => 'pronamic_pay_gf_subscription_amount_field', 'name' => '_pronamic_pay_gf_subscription_amount_field', 'selected' => $pay_feed->subscription_amount_field, @@ -628,7 +628,7 @@ function ( $action ) { _pronamic_pay_gravityforms_dropdown_input( $form_meta, - [ + [ 'id' => 'pronamic_pay_gf_subscription_interval_field', 'name' => '_pronamic_pay_gf_subscription_interval_field', 'selected' => $pay_feed->subscription_interval_field, @@ -704,7 +704,7 @@ function ( $action ) { _pronamic_pay_gravityforms_dropdown_input( $form_meta, - [ + [ 'id' => 'pronamic_pay_gf_subscription_frequency_field', 'name' => '_pronamic_pay_gf_subscription_frequency_field', 'selected' => $pay_feed->subscription_frequency_field, @@ -784,20 +784,19 @@ function ( $action ) {
- +

@@ -1062,7 +1061,7 @@ function ( $action ) { _pronamic_pay_gravityforms_dropdown_input( $form_meta, - [ + [ 'id' => 'gf_ideal_fields_' . $name, 'name' => '_pronamic_pay_gf_fields[' . $name . ']', 'selected' => $current, @@ -1188,7 +1187,7 @@ function GetConditionalLogicFields () { _pronamic_pay_gravityforms_dropdown_input( $form_meta, - [ + [ 'id' => 'gf_ideal_user_role_field_id', 'name' => '_pronamic_pay_gf_user_role_field_id', 'selected' => \get_post_meta( $post_id, '_pronamic_pay_gf_user_role_field_id', true ),