@@ -56,7 +56,6 @@ discard block |
||
56 | 56 | * |
57 | 57 | * @since 5.9.1 |
58 | 58 | * |
59 | - * @param WP_REST_Request $request Request instance from REST call. |
|
60 | 59 | * |
61 | 60 | * @return string JSON encoded connection list data. |
62 | 61 | */ |
@@ -242,7 +241,7 @@ discard block |
||
242 | 241 | * @param stdClass $new_post_obj Updated post object about to be inserted view REST endpoint. |
243 | 242 | * @param WP_REST_Request $request Request object, possibly containing 'publicize' field {@see add_publicize_rest_fields()}. |
244 | 243 | * |
245 | - * @return WP_Post Returns the original $new_post value unchanged. |
|
244 | + * @return stdClass Returns the original $new_post value unchanged. |
|
246 | 245 | */ |
247 | 246 | public function process_publicize_from_rest( $new_post_obj, $request ) { |
248 | 247 | global $publicize; |