Completed
Branch develop (98f6a3)
by
unknown
02:30
created
lib/endpoints/class-wp-rest-posts-controller.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -1220,7 +1220,6 @@
 block discarded – undo
1220 1220
 	 * "Protected: %s", as the REST API communicates the protected status of a post
1221 1221
 	 * in a machine readable format, we remove the "Protected: " prefix.
1222 1222
 	 *
1223
-	 * @param  string $format
1224 1223
 	 * @return string
1225 1224
 	 */
1226 1225
 	public function protected_title_format() {
Please login to merge, or discard this patch.
tests/class-wp-test-rest-post-type-controller-testcase.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@  discard block
 block discarded – undo
2 2
 
3 3
 abstract class WP_Test_REST_Post_Type_Controller_Testcase extends WP_Test_REST_Controller_Testcase {
4 4
 
5
+	/**
6
+	 * @param string $context
7
+	 */
5 8
 	protected function check_post_data( $post, $data, $context, $links ) {
6 9
 		$post_type_obj = get_post_type_object( $post->post_type );
7 10
 
@@ -304,7 +307,6 @@  discard block
 block discarded – undo
304 307
 	 * "Protected: %s", as the REST API communicates the protected status of a post
305 308
 	 * in a machine readable format, we remove the "Protected: " prefix.
306 309
 	 *
307
-	 * @param  string $format
308 310
 	 * @return string
309 311
 	 */
310 312
 	public function protected_title_format() {
Please login to merge, or discard this patch.