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/Framework/Http/ServiceProvider.php +3 -1 2.30.04.16.9 View file →
@@ -12,8 +12,10 @@
12 12 {
13 13
14 14 /**
15 15 * @inheritDoc
16 + *
17 + * @since 3.0.0 Remove slash from GIVE_CONNECT_URL.
16 18 * @since 2.25.0
17 19 */
18 20 public function register()
19 21 {
@@ -18,9 +20,9 @@
18 20 public function register()
19 21 {
20 22 give()->singleton(ConnectClient::class, static function () {
21 23 $giveConnectUrl = (defined('GIVE_CONNECT_URL') && GIVE_CONNECT_URL)
22 - ? GIVE_CONNECT_URL
24 + ? untrailingslashit(GIVE_CONNECT_URL)
23 25 : 'https://connect.givewp.com';
24 26
25 27 return new ConnectClient($giveConnectUrl);
26 28 });