Webhooks don't display correctly in WordPress
Created by: wmortada
Looking at the new settings page, the webhook URLs don't appear to be displaying correctly.
They look like: http://wpmaster.localhost:7979http://wpmaster.localhost:7979/civicrm/civicrm/payment/ipn/4/
Rather than: http://wpmaster.localhost:7979/civicrm/civicrm/payment/ipn/4/
Note that this appears to be an issue on WordPress. It works fine in Drupal 7 (haven't tried other CMSs).
I'm guessing this is due to this line of code. Not sure why CRM.url
give a different result depending on CMS.
Testing on latest CiviCRM, Drupal and WordPress using Buildkit.
Brilliant to have these URLs in the settings page by the way.