Completed
Push — master ( 77a5d7...74a956 )
by Gary
02:04
created
lib/class-wp-rest-react-controller.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
 	 * Check if a given request has access to create a reaction
132 132
 	 *
133 133
 	 * @param  WP_REST_Request $request Full details about the request.
134
-	 * @return WP_Error|boolean
134
+	 * @return boolean
135 135
 	 */
136 136
 	public function create_item_permissions_check( $request ) {
137 137
 		return true;
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -147,13 +147,13 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.