WordPress/wp-includes
desrosj 18f802b860 REST API: Allow authors to read their own password protected posts.
Allow authenticated users to read the contents of password protected posts if they have the `edit_post` meta capability for the post.

Merges [50717] to the 5.7 branch.
Props xknown, zieladam, peterwilsoncc, swissspidy, timothyblynjacobs.
Built from https://develop.svn.wordpress.org/branches/5.7@50718


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-14 23:27:00 +00:00
..
2020-12-10 23:59:03 +00:00