The definitive treatment of pyloric stenosis is with surgical pyloromyotomy known as Ramstedt's procedure (dividing the muscle of the pylorus to open up the gastric outlet).
The vertical incision, pictured and listed above, is no longer usually required, though many incisions have been horizontal in the past years.