Merged in feature/280-dev-dev01 (pull request #21)
auto-patch 280-dev-dev01-2024-01-19T16_41_58 * auto-patch 280-dev-dev01-2024-01-19T16_41_58
This commit is contained in:
@@ -16,6 +16,8 @@ use Automattic\WooCommerce\Internal\Features\FeaturesController;
|
||||
use Automattic\WooCommerce\Internal\ProductAttributesLookup\DataRegenerator;
|
||||
use Automattic\WooCommerce\Internal\ProductAttributesLookup\LookupDataStore;
|
||||
use Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Register as ProductDownloadDirectories;
|
||||
use Automattic\WooCommerce\Internal\ProductImage\MatchImageBySKU;
|
||||
use Automattic\WooCommerce\Internal\RegisterHooksInterface;
|
||||
use Automattic\WooCommerce\Internal\RestockRefundedItemsAdjuster;
|
||||
use Automattic\WooCommerce\Internal\Settings\OptionSanitizer;
|
||||
use Automattic\WooCommerce\Internal\Utilities\WebhookUtil;
|
||||
@@ -34,7 +36,7 @@ final class WooCommerce {
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $version = '8.4.0';
|
||||
public $version = '8.5.1';
|
||||
|
||||
/**
|
||||
* WooCommerce Schema version.
|
||||
@@ -255,6 +257,7 @@ final class WooCommerce {
|
||||
$container->get( AssignDefaultCategory::class );
|
||||
$container->get( DataRegenerator::class );
|
||||
$container->get( LookupDataStore::class );
|
||||
$container->get( MatchImageBySKU::class );
|
||||
$container->get( RestockRefundedItemsAdjuster::class );
|
||||
$container->get( CustomOrdersTableController::class );
|
||||
$container->get( OptionSanitizer::class );
|
||||
@@ -262,6 +265,16 @@ final class WooCommerce {
|
||||
$container->get( FeaturesController::class );
|
||||
$container->get( WebhookUtil::class );
|
||||
$container->get( Marketplace::class );
|
||||
|
||||
/**
|
||||
* These classes have a register method for attaching hooks.
|
||||
*
|
||||
* @var RegisterHooksInterface[] $hook_register_classes
|
||||
*/
|
||||
$hook_register_classes = $container->get( RegisterHooksInterface::class );
|
||||
foreach ( $hook_register_classes as $hook_register_class ) {
|
||||
$hook_register_class->register();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1017,7 +1030,7 @@ final class WooCommerce {
|
||||
return;
|
||||
}
|
||||
|
||||
$message_one = __( 'You have installed a development version of WooCommerce which requires files to be built and minified. From the plugin directory, run <code>pnpm install</code> and then <code>pnpm run build --filter=woocommerce</code> to build and minify assets.', 'woocommerce' );
|
||||
$message_one = __( 'You have installed a development version of WooCommerce which requires files to be built and minified. From the plugin directory, run <code>pnpm install</code> and then <code>pnpm --filter=\'@woocommerce/plugin-woocommerce\' build</code> to build and minify assets.', 'woocommerce' );
|
||||
$message_two = sprintf(
|
||||
/* translators: 1: URL of WordPress.org Repository 2: URL of the GitHub Repository release page */
|
||||
__( 'Or you can download a pre-built version of the plugin from the <a href="%1$s">WordPress.org repository</a> or by visiting <a href="%2$s">the releases page in the GitHub repository</a>.', 'woocommerce' ),
|
||||
|
||||
Reference in New Issue
Block a user