Fix for custom wp-content path

Fix for installations using a custom wp-content path; i.e. renamed and adove the /wordpress core catalog.

Also tested on vanilla WP install/config, seems to work well.