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

Use urls and paths based on the wp-content dir #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

captnCC
Copy link

@captnCC captnCC commented Mar 29, 2018

In WP installations where the wp-content directory is not inside the ABSPATH (wordpress core root) the paths and URLS for the demos are incorrect.
Replaced usage of site_url and ABSPATH with content_url and WP_CONTENT_DIR to determine the locations based on the wp-content directory.

@xy440
Copy link

xy440 commented Jan 15, 2019

how to use external link for demo-data?

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

Successfully merging this pull request may close these issues.

2 participants