21fb080d5c
When using the /posts or /pages endpoints, for private posts or pages, you get the following title property: { raw: "Some title", rendered: "Private: Some title" } this commit removes the prefix from rendered private posts titles (just like what we do for protected posts) Props youknowriad, swissspidy, timothyblynjacobs, sergeybiryukov, ramonopoly. Fixes #61639. Built from https://develop.svn.wordpress.org/trunk@58783 git-svn-id: http://core.svn.wordpress.org/trunk@58185 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
endpoints | ||
fields | ||
search | ||
class-wp-rest-request.php | ||
class-wp-rest-response.php | ||
class-wp-rest-server.php |