mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-25 00:05:44 +00:00
The permissions error message when a request tries to fetch post statuses unauthenticated is incorrect. It was a copy/paste from elsewhere, as indicated by the use of "in this post type" where this is no post type referenced. Props schlessera. Merges [42356] to the 5.0 branch. Fixes #42303. Built from https://develop.svn.wordpress.org/branches/5.0@43755 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43584 1a063a9b-81f0-0310-95a4-ce76da25c4cd