Skip to content

Commit

Permalink
Replace encoded ampersand with a decoded one
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinamiko committed Jan 24, 2025
1 parent 3a5e748 commit 108d70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ppcp-settings/src/Endpoint/PaymentRestEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public function get_details() : WP_REST_Response {

$gateway_settings[ $key ] = array(
'enabled' => 'yes' === $gateway->enabled,
'title' => $gateway->get_title(),
'title' => str_replace( '&', '&', $gateway->get_title() ),
'description' => $gateway->get_description(),
'id' => $this->gateways()[ $key ]['id'] ?? $key,
'icon' => $this->gateways()[ $key ]['icon'] ?? '',
Expand Down

0 comments on commit 108d70e

Please sign in to comment.