Open 0xkynz opened 4 years ago
Hi, My website: http://localhost/wordpress, when I click "Send test message to Rollbar" Button on rollbar setting. It appears:
There was a problem accessing Rollbar service. Code: undefined Message: undefined I can not connect to the rollbar.
I found the problem: https://github.com/rollbar/rollbar-php-wordpress/blob/81d487c019ea44312ffe4fbe9ca7e75f6f2357c8/public/js/RollbarWordpressSettings.js#L98-L116
My solution: We can use rest_url function to improve this.
Hi, My website: http://localhost/wordpress, when I click "Send test message to Rollbar" Button on rollbar setting. It appears:
I found the problem: https://github.com/rollbar/rollbar-php-wordpress/blob/81d487c019ea44312ffe4fbe9ca7e75f6f2357c8/public/js/RollbarWordpressSettings.js#L98-L116
My solution: We can use rest_url function to improve this.