I was looking for a desert temple and I was using the /locate command. This was in a realm I have with some friends so we use cheats but that's not the point. So I followed the coordinates and it led me into a swamp and the coordinates brought me to a witch hut which is NOT a temple. I really don't know why a witch's hut would be considered a temple on the command.
To fix this my ideas would be to add a command to locate witches hut and separate the temple command into Desert, Jungle, and Guardian.
Thank you for your report!
We're actually already tracking this issue at MCPE-22305, so I will resolve and link this ticket as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki