Thanks for using this service. Please be logged in to rate my assistance when we are done. Rating 3-5 is good, but 1-2 is bad so talk with me first. Whirlpool had an issue with the gas valve on that unit. A lot of them have failed and start leaking. Here is a link to the part you need to replace to fix the leak and get it working again. Just copy and paste the link below into your address bar. http://www.repairclinic.com/PartDetail/Gas-Valve-Assembly/W10337269/2310978?RCAID=1000099
Given the cost of this part, do you think replacing the part will make the dryer good to go for several years or would you recommend buying a new dryer?