He only repudiated that plank after Sherman captured Atlanta.
Which happened two days after he took the nomination. How brave of him. </sarcasm>
The fact is the Valandigham faction wrote the peace plank into the platform McClellan went into the convention opposed to a negotiate peace and he never wavered in his position. He ran on a promise to continue the war.