From 480e43c23993d4455b02507c635fdffc4f26f1b5 Mon Sep 17 00:00:00 2001 From: Sebastian Pisula <sebastian.pisula@flexibleshipping.com> Date: Tue, 22 Nov 2022 16:46:24 +0000 Subject: [PATCH] Revert "Merge branch 'feature/compability-hpos' into 'master'" This reverts merge request !3 --- CHANGELOG.md | 4 ---- lang/.gitignore | 4 ++++ src/PluginBootstrap.php | 9 --------- 3 files changed, 4 insertions(+), 13 deletions(-) create mode 100644 lang/.gitignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e6015b..2d79b2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,3 @@ -## [1.1.0] - 2022-11-22 -### Added -- Compatibility with WooCommerce High-Performance Order Storage (HPOS) - ## [1.0.4] - 2022-05-25 ### Fixed - Added missing `wpdesk/wp-wpdesk-tracker` library diff --git a/lang/.gitignore b/lang/.gitignore new file mode 100644 index 0000000..06e1972 --- /dev/null +++ b/lang/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!pl_PL.po +!index.php \ No newline at end of file diff --git a/src/PluginBootstrap.php b/src/PluginBootstrap.php index 9d02c62..521bceb 100644 --- a/src/PluginBootstrap.php +++ b/src/PluginBootstrap.php @@ -115,15 +115,6 @@ final class PluginBootstrap { }, self::PRIORITY_BEFORE_FLOW_2_5 ); - - add_action( - 'before_woocommerce_init', - static function () use ( $plugin_info ) { - if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) { - \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', $plugin_info->get_plugin_file_name(), true ); - } - } - ); } /** -- GitLab