chore: complete M1.1 runtime QA and release packaging

This commit is contained in:
XShop
2026-09-13 19:04:41 +03:30
commit f11e1d650d
66 changed files with 3094 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
/**
* Plugin Name: XShop Core
* Plugin URI: https://example.com/xshop-core
* Description: Companion plugin for XShop theme – wishlist, compare, Q&A, AJAX search/filter, banners, demo import, and more. Requires XShop theme.
* Version: 1.0.0
* Author: XShop Team
* Author URI: https://example.com
* Text Domain: xshop
* Domain Path: /languages
* Requires at least: 6.4
* Requires PHP: 8.2
* License: Commercial
*/
declare(strict_types=1);
defined('ABSPATH') || exit;
define('XSHOP_CORE_VERSION', '1.0.0');
define('XSHOP_CORE_FILE', __FILE__);
define('XSHOP_CORE_DIR', __DIR__);
define('XSHOP_CORE_URI', plugin_dir_url(__FILE__));
require_once XSHOP_CORE_DIR . '/includes/Core/Plugin.php';
register_activation_hook(__FILE__, ['XShop\Core\Plugin', 'activate']);
register_deactivation_hook(__FILE__, ['XShop\Core\Plugin', 'deactivate']);
add_action('plugins_loaded', function (): void {
load_plugin_textdomain('xshop', false, dirname(plugin_basename(__FILE__)) . '/languages');
XShop\Core\Plugin::instance()->init();
});