Skip to content

Commit

Permalink
woorelease: Product version bump update
Browse files Browse the repository at this point in the history
  • Loading branch information
eason9487 committed Mar 26, 2024
1 parent ff17951 commit 462a767
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions google-listings-and-ads.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' );

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/DB/ProductMetaQueryHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/DeleteAllProducts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/UpdateMerchantProductStatuses.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Jobs
*
* @since x.x.x
* @since 2.6.4
*/
class UpdateMerchantProductStatuses extends AbstractActionSchedulerJob {
/**
Expand Down
18 changes: 9 additions & 9 deletions src/MerchantCenter/MerchantStatuses.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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 );
Expand All @@ -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 );
Expand All @@ -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();
Expand All @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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
*
Expand All @@ -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.
*
Expand Down Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion src/Product/ProductRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 462a767

Please sign in to comment.