use get_transient to retrieve value
Merge pull request #387 from humanmade/fix-transient-387

Cannot expect transient to be stored in the database