@@ -1220,7 +1220,6 @@ |
||
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() { |
@@ -2,6 +2,9 @@ discard block |
||
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 |
||
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() { |