ABSPATH setup on the plugin
-
I am with Pressable Customer Support. We had a customer who had issues trying to setup the plugin’s Payment Gateway on our server. Upon inspection, it looks like you are using ABSPATH online 71 of /give-stripe/includes/admin/class-give-stripe-apple-pay-registration.php
$path = ABSPATH;
This setup will work on many WordPress installs/hosts, but not the case with WordPress installs at Pressable or on WordPress.com Business plans.
Our recommendation would be to modify the code such that it verifies if ABSPATH is within $_SERVER[‘DOCUMENT_ROOT’] (or is writable), if it isn’t, use WP_CONTENT_DIR as the fallback.
This will make the plugin work seamlessly on Pressable, WordPress.com Business Plan or any other host with the same setup as ours.
Please let us know how we can help.
Regards,
Edcel Ceniza
Pressable Customer Support
The topic ‘ABSPATH setup on the plugin’ is closed to new replies.