Merged in feature/314-dev-dev01 (pull request #24)
auto-patch 314-dev-dev01-2024-01-25T04_09_02 * auto-patch 314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
@@ -98,6 +98,8 @@ class Crawl_Cleanup_Permalinks implements Initializer_Interface {
|
||||
|
||||
/**
|
||||
* Redirect utm variables away.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function utm_redirect() {
|
||||
// Prevents WP CLI from throwing an error.
|
||||
|
||||
@@ -42,6 +42,8 @@ class Disable_Core_Sitemaps implements Initializer_Interface {
|
||||
|
||||
/**
|
||||
* Disable the WP core XML sitemaps.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function initialize() {
|
||||
// This needs to be on priority 15 as that is after our options initialize.
|
||||
|
||||
@@ -14,6 +14,8 @@ class Woocommerce implements Initializer_Interface {
|
||||
|
||||
/**
|
||||
* Hooks into WooCommerce.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function initialize() {
|
||||
\add_action( 'before_woocommerce_init', [ $this, 'declare_custom_order_tables_compatibility' ] );
|
||||
@@ -21,6 +23,8 @@ class Woocommerce implements Initializer_Interface {
|
||||
|
||||
/**
|
||||
* Declares compatibility with the WooCommerce HPOS feature.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function declare_custom_order_tables_compatibility() {
|
||||
if ( \class_exists( FeaturesUtil::class ) ) {
|
||||
|
||||
Reference in New Issue
Block a user