this is a simple theory and there wont be much detail either
1. Ven gives sora the wooden sword (you can see ven in the new scans holing one)
2. when sora looses his keyblade he gets the wooden sword back
3. when he gets the keyblade from riku the wooden sword turns into the keyblade.