PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.20
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.20
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 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 All 164 releases
← All changes | woocommerce-pos.php +18 -6 1.10.0 → 1.10.20 View file →
@@ -2,9 +2,9 @@
2 2 /**
3 3 * Plugin Name: WCPOS – Point of Sale for WooCommerce
4 4 * Plugin URI: https://wordpress.org/plugins/woocommerce-pos/
5 5 * Description: A simple front-end for taking WooCommerce orders at the Point of Sale. Requires <a href="http://wordpress.org/plugins/woocommerce/">WooCommerce</a>.
6 - * Version: 1.10.0
6 + * Version: 1.10.20
7 7 * Author: kilbot
8 8 * Author URI: http://wcpos.com
9 9 * Text Domain: woocommerce-pos
10 10 * License: GPL-3.0+
@@ -13,9 +13,9 @@
13 13 * Requires at least: 5.6
14 14 * Tested up to: 7.1
15 15 * Requires PHP: 7.4
16 16 * Requires Plugins: woocommerce
17 - * WC tested up to: 11.0.1
17 + * WC tested up to: 11.1.1
18 18 * WC requires at least: 5.3
19 19 *
20 20 * @see http://wcpos.com
21 21 * @package WCPOS\WooCommercePOS
@@ -24,15 +24,27 @@
24 24 namespace WCPOS\WooCommercePOS;
25 25
26 26 // Define plugin constants (use define() with checks to avoid conflicts when Pro plugin is active).
27 27 if ( ! \defined( __NAMESPACE__ . '\VERSION' ) ) {
28 - \define( __NAMESPACE__ . '\VERSION', '1.10.0' );
28 + \define( __NAMESPACE__ . '\VERSION', '1.10.20' );
29 29 }
30 -require_once __DIR__ . '/includes/API/V2/Ping.php';
30 +
31 +/*
32 + * Serve the lightweight ping before the rest of the stack loads.
33 + *
34 + * The class_exists() guard is load-bearing. Pro bundles this same class and may
35 + * already have declared it from its own copy; require_once dedupes on resolved
36 + * path, so requiring ours unconditionally re-declares it and fatals. That happens
37 + * during the plugin include phase, which makes the Pro-is-active bail-out below
38 + * too late to help and takes down every route on the site.
39 + */
40 +if ( ! class_exists( API\V2\Ping::class, false ) ) {
41 + require_once __DIR__ . '/includes/API/V2/Ping.php';
42 +}
31 43 API\V2\Ping::maybe_serve();
32 44
33 45 if ( ! \defined( __NAMESPACE__ . '\TRANSLATION_VERSION' ) ) {
34 - \define( __NAMESPACE__ . '\TRANSLATION_VERSION', '2026.8.10' );
46 + \define( __NAMESPACE__ . '\TRANSLATION_VERSION', '2026.9.12' );
35 47 }
36 48 if ( ! \defined( __NAMESPACE__ . '\PLUGIN_NAME' ) ) {
37 49 \define( __NAMESPACE__ . '\PLUGIN_NAME', 'woocommerce-pos' );
38 50 }
@@ -201,5 +213,5 @@
201 213 }
202 214 }
203 215 },
204 216 0
205 -);
217 +);