Fix deprecated code

SendPress_Data::random_code()