Skip to content

Output empty string for get_comment_text() if comment doesn't exist - #3984

Open
thomasplevy wants to merge 3 commits into
WordPress:trunkfrom
thomasplevy:fix/40143
Open

Output empty string for get_comment_text() if comment doesn't exist#3984
thomasplevy wants to merge 3 commits into
WordPress:trunkfrom
thomasplevy:fix/40143

Conversation

@thomasplevy

Copy link
Copy Markdown

Updates get_comment_text() to ensure the supplied comment exists & add related tests.

Trac ticket: https://core.trac.wordpress.org/ticket/40143


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant