Fix deprecated code

SendPress_Data::random_code() 
Merge pull request #35 from mattsnowboard/patch-6

Fix deprecated code