Updated code for Shopp 1.3

Supports Shopp 1.3 with WordPress 3.8