[Plugin: Statpress Visitors] Plugin path hardcoded?
After activating this plugin I get a PHP error message:
“Warning: include() [function.include]: Failed opening ‘/home/ruben/public_html/wp-content/plugins/statpress-visitors/admin/luc_admin.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/ruben/public_html/plugins/statpress-visitors/statpress.php on line 23”
Looks like the path to the plugin is hardcoded to “wp-content/plugins” (because I changed it to somewhere else and it’s still looking for wp-content), which makes it kinda useless for anyone who has any sence of security and changed the default pathnames.
B.T.W. Changing the default path in wp-config is a basic function of WordPress for several revisions now, so it’s not like it’s something extremely fancy or requires hacking skills or anything. Any plugin should just take in account any possible tweaks that can be done using wp-config.
- The topic ‘[Plugin: Statpress Visitors] Plugin path hardcoded?’ is closed to new replies.