PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.17
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.17
1.10.25 1.10.24 1.10.23 1.10.22 1.10.21 1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 All 169 releases
← All changes | includes/API/V2/Status_Controller.php +0 -11 1.10.24 → 1.10.17 View file →
@@ -21,18 +21,8 @@
21 21 final class Status_Controller extends WP_REST_Controller {
22 22 use Endpoint_Permissions;
23 23
24 24 /**
25 - * Named features this server supports, which a client may test for instead of comparing versions.
26 - *
27 - * - `products_id_fast_path`: `GET /wcpos/v2/products?per_page=-1&_fields=id,date_modified_gmt,stock_quantity,stock_status`
28 - * is answered from one query (#2113).
29 - *
30 - * Append new names; never rename or remove one.
31 - */
32 - private const CAPABILITIES = array( 'products_id_fast_path' );
33 -
34 - /**
35 25 * Register the sync status route.
36 26 */
37 27 public function register_routes(): void {
38 28 register_rest_route(
@@ -58,9 +48,8 @@
58 48 array(
59 49 'healthy' => array() === $missing_tables,
60 50 'missing_tables' => $missing_tables,
61 51 'schema_version' => get_option( Api::SCHEMA_OPTION, null ),
62 - 'capabilities' => self::CAPABILITIES,
63 52 ),
64 53 200
65 54 );
66 55 }