- Timestamp:
- 11/23/2016 04:14:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r39348 r39349 384 384 * 385 385 * @since 4.7.0 386 * @access p rotected386 * @access public 387 387 * 388 388 * @param WP_Post $post Post to check against. … … 390 390 * @return bool True if the user can access password-protected content, otherwise false. 391 391 */ 392 p rotectedfunction can_access_password_content( $post, $request ) {392 public function can_access_password_content( $post, $request ) { 393 393 if ( empty( $post->post_password ) ) { 394 394 // No filter required.
Note: See TracChangeset
for help on using the changeset viewer.