- Timestamp:
- 07/11/2024 06:22:51 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r58326 r58706 184 184 * @param bool $required Whether the post requires a password check. 185 185 * @param WP_Post $post The post been password checked. 186 * @return bool Result of password check taking in 186 * @return bool Result of password check taking into account REST API considerations. 187 187 */ 188 188 public function check_password_required( $required, $post ) { … … 2052 2052 * By default, WordPress will show password protected posts with a title of 2053 2053 * "Protected: %s", as the REST API communicates the protected status of a post 2054 * in a machine 2054 * in a machine-readable format, we remove the "Protected: " prefix. 2055 2055 * 2056 2056 * @since 4.7.0
Note: See TracChangeset
for help on using the changeset viewer.