Notice when wp-content isn’t the content folder
-
Hello,
On :
classes/ext.php:109 you have the code :
$path = explode('wp-content', $full_path, 2);
But the wp-content folder can be changed with the constant WP_CONTENT_DIR, in installations with bedrock or composer based ones this is pretty common.
You just need to change it to :
$path = explode(WP_CONTENT_DIR, $full_path, 2);
And no notices will appear again.
Nicolas,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Notice when wp-content isn’t the content folder’ is closed to new replies.