Feature Request: support custom WP_CONTENT_DIR
-
Hello, thanks for your nice plugin – looks good, but unfortunately I cannot start using it, because custom WP_CONTENT_DIR and WP_CONTENT_URL is not supported.
The WP_CONTENT_DIR constant via wp-config.php allows to rename the wp-content directory for security reasons (that of course must be really renamed in file system, too).
Your plugins seems to use it partially, so the constant WPPA_CONTENT_PATH is already correct. But the constants WPPA_UPLOAD_PATH, WPPA_UPLOAD_URL, WPPA_DEPOT_PATH and WPPA_DEPOT_URL still use the hardcoded “wp-content” slug instead.
Could you please take the path given by the functionwp_upload_dir()
via['basedir']
(you already are listing in your CONSTANTS list) to generate your path constants and the['baseurl']
for your url constants?
- The topic ‘Feature Request: support custom WP_CONTENT_DIR’ is closed to new replies.