wp-shopify
wp-shopify copied to clipboard
get_abs_admin_path() not working if WordPress is installed in a subdirectory
Hi, I'm upgrading a site from WP-Shopify to WP-Shopify Pro and ran across an issue related, I think, to installing WordPress in a subdirectory.
I'm using Roots/Trellis to develop my site, and when activating WP-Shopify-Pro I received an error related to get_abs_admin_path(). Digging into it, it looks like this function expects the wp-admin URL, and the wp-admin directory to be at the same location, which isn't true if WordPress is in a subdirectory.
I was able to work around the issue, but this is notable for anyone else running Trellis or other WordPress in a subdirectory solutions.
Thanks!
@MWDelaney Thanks for letting me know! I'll look into it 👍