Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix relative pathing issue on multiple installs #1

Open
tomlagier opened this issue Jun 1, 2021 · 0 comments
Open

Fix relative pathing issue on multiple installs #1

tomlagier opened this issue Jun 1, 2021 · 0 comments
Assignees

Comments

@tomlagier
Copy link
Contributor

Currently we're using plugins_url() without a plugin qualifier and assuming that Wordpress installs the plugin under the directory pluginName. This isn't always the case - sometimes it doesn't detect that the plugin is a duplicate and reinstalls it in a new directory, pluginName-X where X is the number of times it's been reinstalled.

If we move calls to plugins_url() to use __FILE__ as an argument, it should fix the issue.

@tomlagier tomlagier self-assigned this Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant