@@ -1152,7 +1152,7 @@ |
||
| 1152 | 1152 | * @param stdClass $new_post_obj Updated post object about to be inserted view REST endpoint. |
| 1153 | 1153 | * @param WP_REST_Request $request Request object, possibly containing 'publicize' field {@see add_publicize_rest_fields()}. |
| 1154 | 1154 | * |
| 1155 | - * @return WP_Post Returns the original $new_post value unchanged. |
|
| 1155 | + * @return stdClass Returns the original $new_post value unchanged. |
|
| 1156 | 1156 | */ |
| 1157 | 1157 | public function process_publicize_from_rest( $new_post_obj, $request ) { |
| 1158 | 1158 | if ( property_exists( $new_post_obj, 'ID' ) ) { |
@@ -51,7 +51,6 @@ |
||
| 51 | 51 | * |
| 52 | 52 | * @since 5.9.1 |
| 53 | 53 | * |
| 54 | - * @param WP_REST_Request $request Request instance from REST call. |
|
| 55 | 54 | * |
| 56 | 55 | * @return string JSON encoded connection list data. |
| 57 | 56 | */ |