I didn’t know about the ADR line from Chamber of Secrets, but I already knew about the one from The Empire Strikes Back. I’m a bit confused that they kept that line in the extended edition, considering that Harry and Ron didn’t put on Crabbe and Goyle’s robes, and Hermione snuck out Slytherin robes from the laundry for them to wear.
The added line was to explain where the Slytherin robes they end up wearing came from. The scene with Hermione saying she stole some Slyntherin robes from the laundry was deleted. Whoever re-edited probably didn’t notice. Most people don’t.
But hey, they fixed a LOT of other errors from the ABC cut. Mouths out of sync to dialog, repeated shots, Harry flipping through the diary in the same direction more than once, etc. I’ll allow one bad line (and some improper music cues).