Completed
Push — add/publicize-rest-api ( 07deea )
by Bernhard
15:58 queued 07:52
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.