added common

Signed-off-by: Christopher Ross <cross@thisismyurl.com>
updated to common interface, testing

Signed-off-by: Christopher Ross <cross@thisismyurl.com>
fixed $wpdb error

Signed-off-by: Christopher Ross <cross@thisismyurl.com>