@@ -147,13 +147,13 @@ |
||
147 | 147 | } |
148 | 148 | |
149 | 149 | /** |
150 | - * Check if we can read a post. |
|
151 | - * |
|
152 | - * Correctly handles posts with the inherit status. |
|
153 | - * |
|
154 | - * @param object $post Post object. |
|
155 | - * @return boolean Can we read it? |
|
156 | - */ |
|
150 | + * Check if we can read a post. |
|
151 | + * |
|
152 | + * Correctly handles posts with the inherit status. |
|
153 | + * |
|
154 | + * @param object $post Post object. |
|
155 | + * @return boolean Can we read it? |
|
156 | + */ |
|
157 | 157 | public function check_read_post_permission( $post ) { |
158 | 158 | if ( ! empty( $post->post_password ) && ! $this->check_update_permission( $post ) ) { |
159 | 159 | return false; |