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
@@ -184,31 +187,32 @@ public function getPayfastConfigurationInstructions(): array
184
187
{
185
188
$description = '
186
189
<p style="text-align: left;">' .
187
-
sprintf(
188
-
__(
189
-
'You will need a Payfast account in order to use the Payfast Add-On. Navigate to %sPayfast%s to register.',
190
-
'gravityformspayfast'
191
-
),
192
-
'<a href="https://payfast.io" target="_blank">',
193
-
'</a>'
194
-
) .
195
-
'</p>
190
+
sprintf(
191
+
// translators: %1$s and %2$s are the opening and closing <a> tags for the Payfast link.
192
+
__(
193
+
'You will need a Payfast account in order to use the Payfast Add-On. Navigate to %1$sPayfast%2$s to register.',
194
+
'gravityformspayfast'
195
+
),
196
+
'<a href="https://payfast.io" target="_blank">',
197
+
'</a>'
198
+
) .
199
+
'</p>
196
200
<ul>
197
201
<li>' . __(
198
-
'The Payfast settings are configured per form. Navigate to \'Forms\' -> select \'Settings\' for the form, and select the \'Payfast\' tab.',
199
-
'gravityformspayfast'
200
-
) . '</li>' .
201
-
'<li>' . __(
202
-
'From there, click \'Add New\' to configure Payfast feed settings for the currently selected form.',
203
-
'gravityformspayfast'
204
-
) . '</li>' .
205
-
'</ul>
202
+
'The Payfast settings are configured per form. Navigate to \'Forms\' -> select \'Settings\' for the form, and select the \'Payfast\' tab.',
203
+
'gravityformspayfast'
204
+
) . '</li>' .
205
+
'<li>' . __(
206
+
'From there, click \'Add New\' to configure Payfast feed settings for the currently selected form.',
207
+
'gravityformspayfast'
208
+
) . '</li>' .
209
+
'</ul>
206
210
<p style="text-align: left;">' .
207
-
__(
208
-
'Enable \'Debug\' below to log the server-to-server communication between Payfast and your website, for each transaction. The log file for debugging can be found at /wp-content/plugins/gravityformspayfast/payfast.log. If activated, be sure to protect it by adding an .htaccess file in the same directory. If not, the file will be readable by anyone. ',
209
-
'gravityformspayfast'
210
-
) .
211
-
'</p>';
211
+
__(
212
+
'Enable \'Debug\' below to log the server-to-server communication between Payfast and your website, for each transaction. The log file for debugging can be found at /wp-content/plugins/gravityformspayfast/payfast.log. If activated, be sure to protect it by adding an .htaccess file in the same directory. If not, the file will be readable by anyone. ',
213
+
'gravityformspayfast'
214
+
) .
215
+
'</p>';
212
216
213
217
returnarray(
214
218
array(
@@ -259,9 +263,9 @@ public function getCancelUrl(): array
259
263
'Notifications',
260
264
'gravityformspayfast'
261
265
) . GFPayFast::H6_TAG_END . __(
262
-
"Enable this option if you would like to only send out this form's notifications after payment has been received. Leaving this option disabled will send notifications immediately after the form is submitted.",
263
-
'gravityformspayfast'
264
-
)
266
+
"Enable this option if you would like to only send out this form's notifications after payment has been received. Leaving this option disabled will send notifications immediately after the form is submitted.",
Copy file name to clipboardExpand all lines: gravityformspayfast/vendor/autoload.php
+1-19Lines changed: 1 addition & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -2,24 +2,6 @@
2
2
3
3
// autoload.php @generated by Composer
4
4
5
-
if (PHP_VERSION_ID < 50600) {
6
-
if (!headers_sent()) {
7
-
header('HTTP/1.1 500 Internal Server Error');
8
-
}
9
-
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running ' . PHP_VERSION . ', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.' . PHP_EOL;
10
-
if (!ini_get('display_errors')) {
11
-
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
0 commit comments