Relative wordpress include not working if wp-content has been moved
-
Hi,
I’ve found an issue in the file “inc/raf_form.php”.The wordpress environment loading in line 3 (“require_once( dirname(__FILE__) . ‘../../../../../wp-load.php’ );”) is not working if the “wp-content” directory has been moved to a different location.
For example in my configuration my structure is:
-> wp
-> wp/wp-admin
-> wp/wp-includes
-> wp-contentSo as wp-content is not placed in the wp folder your relative path is broken. I manually changed it in the file but could you get it fixed in next release?
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Relative wordpress include not working if wp-content has been moved’ is closed to new replies.