You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix esc_html() to esc_html__() for translatable strings
Corrects i18n function usage to make strings translatable. Updates field labels, settings, and admin notices across class-ui.php, listings.php, and stripe.php (30 lines total).
'subline' => esc_html__( 'If you use {loop_fields} inside your custom template, you can define the "row" here and retrieve the field values with {loop_label} and {loop_value} tags, leave blank to use the default loop HTML', 'super-forms' ),
887
887
'type' => 'textarea',
888
888
'default' => $loop_html,
@@ -904,23 +904,23 @@ public static function add_tab_content( $atts ) {
'subline' => esc_html__( 'If you use {loop_fields} inside your custom template, you can define the "row" here and retrieve the field values with {loop_label} and {loop_value} tags, leave blank to use the default loop HTML', 'super-forms' ),
934
934
'type' => 'textarea',
935
935
'default' => $loop_html,
@@ -957,15 +957,15 @@ public static function add_tab_content( $atts ) {
esc_html( 'Please enter your webhook ID under:%s%sSettings > Stripe Checkout%s.%sIt should start with `we_`.%sYou can find your Webhook ID via %swebhook settings%s.', 'super-forms' ),
1156
+
esc_html__( 'Please enter your webhook ID under:%s%sSettings > Stripe Checkout%s.%sIt should start with `we_`.%sYou can find your Webhook ID via %swebhook settings%s.', 'super-forms' ),
@@ -1168,7 +1168,7 @@ public static function redirect_to_stripe_checkout( $x ) {
1168
1168
}
1169
1169
if ( empty( $webhookSecret ) ) {
1170
1170
$msg = sprintf(
1171
-
esc_html( 'Please enter your webhook secret under:%s%sSettings > Stripe Checkout%s.%sIt should start with `whsec_`.%sYou can find your Stripe endpoint\'s secret via %swebhook settings%s.', 'super-forms' ),
1171
+
esc_html__( 'Please enter your webhook secret under:%s%sSettings > Stripe Checkout%s.%sIt should start with `whsec_`.%sYou can find your Stripe endpoint\'s secret via %swebhook settings%s.', 'super-forms' ),
esc_html( 'Please update your Webhook endpoint so that it points to the following URL:%sYou can change this via %swebhook settings%s.', 'super-forms' ),
1190
+
esc_html__( 'Please update your Webhook endpoint so that it points to the following URL:%sYou can change this via %swebhook settings%s.', 'super-forms' ),
1191
1191
'<br /><br /><code> ' . $home_url . 'sfstripe/webhook</code><br /><br />', // super forms stripe webhook e.g: https://domain.com/sfstripe/webhook will be converted into https://domain.com/index.php?sfstripewebhook=true
0 commit comments