[3.13] gh-119824: Revert the `where` solution and use meta commands (#120919)

4 files changed