changed to work with new wordpress wp_hash