Skip to content

Conversation

Log1x
Copy link
Member

@Log1x Log1x commented Feb 2, 2024

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.

@github-actions github-actions bot added views php Pull requests that update PHP code labels Feb 2, 2024
@retlehs retlehs merged commit 308cc20 into main Feb 2, 2024
@retlehs retlehs deleted the fix/comment-list-output branch February 2, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
php Pull requests that update PHP code views
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants