We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830d826 commit ab245a8Copy full SHA for ab245a8
projects/plugins/jetpack/class.json-api.php
@@ -476,8 +476,8 @@ public function serve( $exit = true ) {
476
}
477
478
// Find which endpoint to serve.
479
- $found = false;
480
-
+ $found = false;
+ $path_pieces = array();
481
foreach ( $this->endpoints as $endpoint_path_versions => $endpoints_by_method ) {
482
// @todo Determine if anything depends on this being serialized rather than e.g. JSON.
483
// phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize -- Legacy, possibly depended on elsewhere.
0 commit comments