Defeat the World 2 boss while you are Mini Mario, using ground bounces to do the damage.
Beating the boss in that small form is what opens the path to World 3 and, from there, the later worlds. It is a genuine skill check rather than a hidden switch, so expect a few attempts — Mini Mario's low jump height makes the timing tighter than the standard form.
If you are stuck, remember that the bounce is your only real attack here. Line up under the boss and commit to the rhythm.