Support WP v3.8

Support for Wordpress e-Commerce version 3.8.13.x and wordpress 3.8.x.
Tested working