Completed
Push — add/publicize-rest-api ( 7997eb...77e722 )
by Bernhard
1099:22 queued 1061:47
created
modules/publicize/publicize.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1152,7 +1152,7 @@
 block discarded – undo
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' ) ) {
Please login to merge, or discard this patch.
modules/publicize/rest-api.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,6 @@
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.