No such cheat exists. The answer that circulated justified this with a line about the "circumference of a triangle," which is not a real geometric concept and does not explain anything.
So the useful takeaway is simply that there is no wall-walk code for Kingdom Hearts 358/2 Days, and the reasoning attached to it should be ignored.