Hacker News new | ask | show | jobs
by fjallstrom 3357 days ago
hm it doesn't seem to pick up the wp installation if the WP_CONTENT_DIR is changed. should be an easy fix, se below.

this site is very much wordpress: https://www.berghs.se/ but wpdetective won't detect wordpress at all. it has a custom WP_CONTENT_DIR.

here's a similar but less polished version my team created some years ago: http://wppluginchecker.earthpeople.se/?wordpress-site=https%...

it tries a few common variables for WP_CONTENT_DIR, and runs completely in the browser, should you want to take a peek on how we detect WP.

1 comments

Tjena! Thanks for the bug report. We already detect a non-default WP_CONTENT_DIR (berghs is using assets instead of wp-content). But in this case it was our WordPress detection code that failed.

It has been fixed now: http://wpdetective.io/www.berghs.se