Don't assume wp_ is the prefix

Fixes #2306 

I did some grepping around and didn't really see any other cases like this