validate if a path is a subfolder of WP_CONTENT_DIR