PluginProbe
seQura / 4.1.3
seQura v4.1.3
4.3.4 4.3.3 4.3.2 4.3.1 trunk 2.0.0 2.0.10 2.0.11 2.0.12 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0.0 3.0.2 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 4.0.0 All 30 releases
← All changes | src/class-plugin.php +1 -6 trunk4.1.3 View file →
@@ -81,9 +81,8 @@
81 81 REST_Controller $rest_settings_controller,
82 82 REST_Controller $rest_onboarding_controller,
83 83 REST_Controller $rest_payment_controller,
84 84 REST_Controller $rest_log_controller,
85 - REST_Controller $rest_store_integration_controller,
86 85 Interface_Product_Controller $product_controller,
87 86 Interface_Async_Process_Controller $async_process_controller,
88 87 Interface_Order_Controller $order_controller
89 88 ) {
@@ -93,9 +92,9 @@
93 92 $this->file_path = $constants->get_plugin_file_path();
94 93 $this->base_name = $constants->get_plugin_basename();
95 94 $this->migration_manager = $migration_manager;
96 95
97 - \add_action( 'init', array( $this, 'install' ) );
96 + \add_action( 'plugins_loaded', array( $this, 'install' ) );
98 97
99 98 // I18n.
100 99 \add_action( 'plugins_loaded', array( $i18n_controller, 'load_text_domain' ) );
101 100
@@ -114,9 +113,8 @@
114 113 \add_action( 'rest_api_init', array( $rest_settings_controller, 'register_routes' ) );
115 114 \add_action( 'rest_api_init', array( $rest_onboarding_controller, 'register_routes' ) );
116 115 \add_action( 'rest_api_init', array( $rest_payment_controller, 'register_routes' ) );
117 116 \add_action( 'rest_api_init', array( $rest_log_controller, 'register_routes' ) );
118 - \add_action( 'rest_api_init', array( $rest_store_integration_controller, 'register_routes' ) );
119 117
120 118 // Payment hooks.
121 119 \add_filter( 'woocommerce_payment_gateways', array( $payment_controller, 'register_gateway_classes' ) );
122 120 \add_action( 'woocommerce_blocks_loaded', array( $payment_controller, 'register_gateway_gutenberg_block' ) );
@@ -146,11 +144,8 @@
146 144 \add_action( $constants->get_hook_add_order_indexes(), array( $order_controller, 'migrate_orders_to_use_indexes' ) );
147 145
148 146 // WooCommerce Compat.
149 147 \add_action( 'before_woocommerce_init', array( $this, 'declare_woocommerce_compatibility' ) );
150 -
151 - // Cart identifier generation.
152 - \add_action( 'woocommerce_init', array( $order_controller, 'ensure_cart_info_exists' ) );
153 148 }
154 149
155 150 /**
156 151 * Handle activation of the plugin.