I wore shorts that short if not shorter than that when I was little, and I am one of the most modest (clothing-wise) people you will EVER meet. Not even kidding. I still wear shorts that short, and it's not a big deal. They're shorts. It's hot outside. Hm, would I rather end up throwing up in a trash can with heatstroke (been there-done that) or maybe be showing a little bit of skin? I think you know the answer...
but in all seriousness, do you think a 25/26 could squeeze into these?

they're too cute! I would buy my little kiddo them, but I won't have kiddos around for 10+ years!