@@ -15,17 +15,17 @@ |
||
| 15 | 15 | class EspressoBlockRenderer extends RouteMatchSpecification |
| 16 | 16 | { |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * returns true if current request matches specification |
|
| 20 | - * |
|
| 21 | - * @since $VID:$ |
|
| 22 | - * @return boolean |
|
| 23 | - */ |
|
| 24 | - public function isMatchingRoute() |
|
| 25 | - { |
|
| 26 | - return strpos( |
|
| 27 | - $this->request->requestUri(), |
|
| 28 | - 'wp-json/gutenberg/v1/block-renderer/eventespresso' |
|
| 29 | - ) !== false; |
|
| 30 | - } |
|
| 18 | + /** |
|
| 19 | + * returns true if current request matches specification |
|
| 20 | + * |
|
| 21 | + * @since $VID:$ |
|
| 22 | + * @return boolean |
|
| 23 | + */ |
|
| 24 | + public function isMatchingRoute() |
|
| 25 | + { |
|
| 26 | + return strpos( |
|
| 27 | + $this->request->requestUri(), |
|
| 28 | + 'wp-json/gutenberg/v1/block-renderer/eventespresso' |
|
| 29 | + ) !== false; |
|
| 30 | + } |
|
| 31 | 31 | } |