mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 08:04:27 +01:00
If an invalid post ID is passed to the function, `comments_open()` should return `false`, and no comment form be displayed. This commit restores the previous behavior that was unintentionally changed when standardizing on the `$post` parameter name. Follow-up to [53715]. Props peterwilsoncc. Fixes #56243. git-svn-id: https://develop.svn.wordpress.org/trunk@54488 602fd350-edb4-49c9-b593-d223f7449a82