Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

get_abs_admin_path() not working if WordPress is installed in a subdirectory #108

Open
MWDelaney opened this issue Aug 26, 2019 · 1 comment

Comments

@MWDelaney
Copy link

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!

@arobbins
Copy link
Collaborator

@MWDelaney Thanks for letting me know! I'll look into it 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants