roots / sage

WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
https://roots.io/sage/
MIT License
12.77k stars 3.06k forks source link

🩹 Fix the comment list output #3184

Closed Log1x closed 9 months ago

Log1x commented 9 months ago

This was annoying.

Apparently $comments gets forcefully overridden when inside of the WordPress comments template. Not something I had thought about in a long time and it left me insanely confused on why I kept getting an array of comments instead of the HTML markup when setting 'echo' => false.