You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/optimization-detective/storage/rest-api.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -353,7 +353,7 @@ function od_trigger_page_cache_invalidation( int $cache_purge_post_id ): void {
353
353
* @param mixed $result Response to replace the requested version with. Can be anything a normal endpoint can return, or null to not hijack the request.
354
354
* @param WP_REST_Server $server Server instance.
355
355
* @param WP_REST_Request $request Request used to generate the response.
356
-
* @return mixed Response to replace the requested version with.
356
+
* @return mixed Passed through $result if successful, or otherwise a WP_Error.
0 commit comments