mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-07 05:49:41 +00:00
Core requires the post password to view and create comments on password protected posts, so we must support a “password” param on the comments endpoint when fetch comments for a specific post and creating a comment on a password protected post. Props flixos90, jnylen0. Fixes #38692. Built from https://develop.svn.wordpress.org/trunk@39349 git-svn-id: http://core.svn.wordpress.org/trunk@39289 1a063a9b-81f0-0310-95a4-ce76da25c4cd