removed all strict warnings so that this can function in php 5.3 with WP_DEBUG set to true