diff --git a/google-listings-and-ads.php b/google-listings-and-ads.php index 00b2e39d7a..871dbd36c6 100644 --- a/google-listings-and-ads.php +++ b/google-listings-and-ads.php @@ -3,7 +3,7 @@ * Plugin Name: Google Listings and Ads * Plugin URL: https://wordpress.org/plugins/google-listings-and-ads/ * Description: Native integration with Google that allows merchants to easily display their products across Google’s network. - * Version: 2.6.3 + * Version: 2.6.4 * Author: WooCommerce * Author URI: https://woo.com/ * Text Domain: google-listings-and-ads @@ -30,7 +30,7 @@ defined( 'ABSPATH' ) || exit; -define( 'WC_GLA_VERSION', '2.6.3' ); // WRCS: DEFINED_VERSION. +define( 'WC_GLA_VERSION', '2.6.4' ); // WRCS: DEFINED_VERSION. define( 'WC_GLA_MIN_PHP_VER', '7.4' ); define( 'WC_GLA_MIN_WC_VER', '6.9' ); diff --git a/package-lock.json b/package-lock.json index 6a84fd440b..0c22cd4929 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "google-listings-and-ads", - "version": "2.6.3", + "version": "2.6.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "google-listings-and-ads", - "version": "2.6.3", + "version": "2.6.4", "license": "GPL-3.0-or-later", "dependencies": { "@woocommerce/components": "^10.3.0", diff --git a/package.json b/package.json index 1b0dff68ba..9e3efa872c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "google-listings-and-ads", "title": "Google Listings and Ads", - "version": "2.6.3", + "version": "2.6.4", "description": "google-listings-and-ads", "author": "Automattic", "license": "GPL-3.0-or-later", diff --git a/readme.txt b/readme.txt index 9cda97b8c8..e9b2794c06 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Requires at least: 5.9 Tested up to: 6.5 Requires PHP: 7.4 Requires PHP Architecture: 64 Bits -Stable tag: 2.6.3 +Stable tag: 2.6.4 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/src/DB/ProductMetaQueryHelper.php b/src/DB/ProductMetaQueryHelper.php index 0fc99a1c02..31007df211 100644 --- a/src/DB/ProductMetaQueryHelper.php +++ b/src/DB/ProductMetaQueryHelper.php @@ -62,7 +62,7 @@ public function get_all_values( string $meta_key ): array { /** * Delete all values for a given meta_key. * - * @since x.x.x + * @since 2.6.4 * * @param string $meta_key The meta key to delete. * diff --git a/src/Jobs/DeleteAllProducts.php b/src/Jobs/DeleteAllProducts.php index 494ef1ab8b..7eed13c920 100644 --- a/src/Jobs/DeleteAllProducts.php +++ b/src/Jobs/DeleteAllProducts.php @@ -54,7 +54,7 @@ protected function process_items( array $items ) { /** * Called when the job is completed. * - * @since x.x.x + * @since 2.6.4 * * @param int $final_batch_number The final batch number when the job was completed. * If equal to 1 then no items were processed by the job. diff --git a/src/Jobs/UpdateMerchantProductStatuses.php b/src/Jobs/UpdateMerchantProductStatuses.php index 12d9c43ea4..05777f493b 100644 --- a/src/Jobs/UpdateMerchantProductStatuses.php +++ b/src/Jobs/UpdateMerchantProductStatuses.php @@ -20,7 +20,7 @@ * * @package Automattic\WooCommerce\GoogleListingsAndAds\Jobs * - * @since x.x.x + * @since 2.6.4 */ class UpdateMerchantProductStatuses extends AbstractActionSchedulerJob { /** diff --git a/src/MerchantCenter/MerchantStatuses.php b/src/MerchantCenter/MerchantStatuses.php index b3611fa826..5d99a0e806 100644 --- a/src/MerchantCenter/MerchantStatuses.php +++ b/src/MerchantCenter/MerchantStatuses.php @@ -223,7 +223,7 @@ public function clear_cache(): void { /** * Delete the intermediate product status count data. * - * @since x.x.x + * @since 2.6.4 */ protected function delete_product_statuses_count_intermediate_data(): void { $this->options->delete( OptionsInterface::PRODUCT_STATUSES_COUNT_INTERMEDIATE_DATA ); @@ -232,7 +232,7 @@ protected function delete_product_statuses_count_intermediate_data(): void { /** * Delete the stale issues from the database. * - * @since x.x.x + * @since 2.6.4 */ protected function delete_stale_issues(): void { $this->container->get( MerchantIssueTable::class )->delete_stale( $this->cache_created_time ); @@ -241,7 +241,7 @@ protected function delete_stale_issues(): void { /** * Delete the stale mc statuses from the database. * - * @since x.x.x + * @since 2.6.4 */ protected function delete_stale_mc_statuses(): void { $product_meta_query_helper = $this->container->get( ProductMetaQueryHelper::class ); @@ -251,7 +251,7 @@ protected function delete_stale_mc_statuses(): void { /** * Clear the product statuses cache and delete stale issues. * - * @since x.x.x + * @since 2.6.4 */ public function clear_product_statuses_cache_and_issues(): void { $this->delete_stale_issues(); @@ -262,7 +262,7 @@ public function clear_product_statuses_cache_and_issues(): void { /** * Check if the Merchant Center account is connected and throw an exception if it's not. * - * @since x.x.x + * @since 2.6.4 * * @throws Exception If the Merchant Center account is not connected. */ @@ -455,7 +455,7 @@ protected function get_product_issues( array $statuses ): array { /** * Refresh the account , pre-sync product validation and custom merchant issues. * - * @since x.x.x + * @since 2.6.4 * * @throws Exception If the account state can't be retrieved from Google. */ @@ -797,7 +797,7 @@ protected function update_intermediate_product_statistics(): array { /** * Calculate the total count of products in the MC using the statistics. * - * @since x.x.x + * @since 2.6.4 * * @param array $statistics * @@ -815,7 +815,7 @@ protected function calculate_total_synced_product_statistics( array $statistics /** * Handle the failure of the Merchant Center statuses fetching. * - * @since x.x.x + * @since 2.6.4 * * @param string $error_message The error message. * @@ -846,7 +846,7 @@ public function handle_failed_mc_statuses_fetching( string $error_message = '' ) /** * Handle the completion of the Merchant Center statuses fetching. * - * @since x.x.x + * @since 2.6.4 */ public function handle_complete_mc_statuses_fetching() { $intermediate_data = $this->options->get( OptionsInterface::PRODUCT_STATUSES_COUNT_INTERMEDIATE_DATA, self::DEFAULT_PRODUCT_STATS ); diff --git a/src/Product/ProductRepository.php b/src/Product/ProductRepository.php index 7316869a4c..d9fb626aa1 100644 --- a/src/Product/ProductRepository.php +++ b/src/Product/ProductRepository.php @@ -276,7 +276,7 @@ public function find_expiring_product_ids( int $limit = - 1, int $offset = 0 ): /** * Find all simple and variable product IDs regardless of MC status or visibility. * - * @since x.x.x + * @since 2.6.4 * * @param int $limit Maximum number of results to retrieve or -1 for unlimited. * @param int $offset Amount to offset product results.