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

Detect if custom content directory is used and if so, mention it won't fully work #9

Closed
tsteur opened this issue Oct 9, 2019 · 0 comments
Labels
Enhancement For new feature suggestions that for example enhance Matomo's cabapilities..

Comments

@tsteur
Copy link
Member

tsteur commented Oct 9, 2019

We should check if WP_CONTENT_DIR was customized. Need to see how to best check this. Maybe if(ABSPATH.'wp-content' != WP_CONTENT_DIR). To be seen.

If the directory is customized, the Matomo reporting UI won't fully work and the plugin should not do anything in that case besides showing a warning or an error basically. Or we could execute the plugin as usual and show only a warning on Matomo pages in WP that the Matomo reporting UI won't work. The summary reporting will still work very likely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that for example enhance Matomo's cabapilities..
Projects
None yet
Development

No branches or pull requests

1 participant