Skip to content

Commit c36f823

Browse files
committed
Product version bump update
1 parent 1b3248a commit c36f823

9 files changed

Lines changed: 27 additions & 27 deletions

README.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: woocommerce, pinterest, advertise
44
Requires at least: 5.6
55
Tested up to: 5.8
66
Requires PHP: 7.3
7-
Stable tag: 1.0.4
7+
Stable tag: 1.0.5
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -87,7 +87,7 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](hhttps:
8787

8888
== Changelog ==
8989

90-
= 1.0.5 - 2022-xx-xx =
90+
= 1.0.5 - 2022-02-15 =
9191
* Add – Shipping column for developers and testers.
9292

9393
= 1.0.4 - 2022-02-03 =

changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
*** Pinterest for WooCommerce Changelog ***
22

3-
= 1.0.5 - 2022-xx-xx =
3+
= 1.0.5 - 2022-02-15 =
44
* Add – Shipping column for developers and testers.
55

66
= 1.0.4 - 2022-02-03 =

includes/class-pinterest-for-woocommerce-ads-supported-countries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Ads supported countries.
44
*
55
* @package Pinterest
6-
* @since x.x.x
6+
* @since 1.0.5
77
*/
88

99
if ( ! defined( 'ABSPATH' ) ) {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pinterest-for-woocommerce",
33
"title": "Pinterest for WooCommerce",
44
"description": "Pinterest for WooCommerce",
5-
"version": "1.0.4",
5+
"version": "1.0.5",
66
"main": "gulpfile.js",
77
"repository": {
88
"type": "git",

pinterest-for-woocommerce.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Plugin Name: Pinterest for WooCommerce
1414
* Plugin URI: https://woocommerce.com/products/pinterest-for-woocommerce/
1515
* Description: Grow your business on Pinterest! Use this official plugin to allow shoppers to Pin products while browsing your store, track conversions, and advertise on Pinterest.
16-
* Version: 1.0.4
16+
* Version: 1.0.5
1717
* Author: WooCommerce
1818
* Author URI: https://woocommerce.com
1919
* License: GPL-2.0+
@@ -44,7 +44,7 @@
4444
}
4545

4646
define( 'PINTEREST_FOR_WOOCOMMERCE_PLUGIN_FILE', __FILE__ );
47-
define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', '1.0.4' ); // WRCS: DEFINED_VERSION.
47+
define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', '1.0.5' ); // WRCS: DEFINED_VERSION.
4848

4949
/**
5050
* Autoload packages.

src/PinterestShippingZone.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Represents a single Pinterest shipping zone
44
*
5-
* @since x.x.x
5+
* @since 1.0.5
66
* @package Automattic\WooCommerce\Pinterest
77
*/
88

@@ -18,7 +18,7 @@
1818
* By extending WC_Shipping_Zone we are able to add functionality necessary for Pinterest shipping column generation.
1919
* This allows us to operate on familiar interface which will be useful when we will continue to expand the functionality.
2020
*
21-
* @since x.x.x
21+
* @since 1.0.5
2222
*/
2323
class PinterestShippingZone extends WC_Shipping_Zone {
2424

@@ -49,7 +49,7 @@ class PinterestShippingZone extends WC_Shipping_Zone {
4949
/**
5050
* From the list of countries filter out those which are not supported right now.
5151
*
52-
* @since x.x.x
52+
* @since 1.0.5
5353
*
5454
* @param array $locations List of countries to filter.
5555
* @return array List of filtered countries.
@@ -69,7 +69,7 @@ function ( $location ) use ( $allowed_countries ) {
6969
* States are optional and added only if specified.
7070
* Countries are filtered to only include supported countries.
7171
*
72-
* @since x.x.x
72+
* @since 1.0.5
7373
*
7474
* @return array Array of locations supported by this zone.
7575
*/
@@ -129,7 +129,7 @@ public function get_countries_with_states() {
129129
*
130130
* Correctness of this approach is verified indirectly by shipping UT.
131131
*
132-
* @since x.x.x
132+
* @since 1.0.5
133133
*
134134
* @param array $locations Array of locations.
135135
* @return array Array of locations with duplications removed.
@@ -141,7 +141,7 @@ public function remove_duplicate_locations( $locations ) {
141141
/**
142142
* Turn country and state into location array.
143143
*
144-
* @since x.x.x
144+
* @since 1.0.5
145145
*
146146
* @param string $country Location country.
147147
* @param string $state Location state.
@@ -157,7 +157,7 @@ private function map_to_location( $country, $state = '' ) {
157157
/**
158158
* Combines zone locations with allowed shipping methods.
159159
*
160-
* @since x.x.x
160+
* @since 1.0.5
161161
*
162162
* @return array Array with locations and allowed shipping methods.
163163
*/
@@ -180,7 +180,7 @@ public function get_locations_with_shipping() {
180180
* Get shipping methods supported by the implementation.
181181
* Methods are filtered by allowed types and features.
182182
*
183-
* @since x.x.x
183+
* @since 1.0.5
184184
*
185185
* @return array Supported shipping methods.
186186
*/
@@ -201,7 +201,7 @@ private function get_supported_shipping_methods() {
201201
/**
202202
* Verify if shipping method is supported.
203203
*
204-
* @since x.x.x
204+
* @since 1.0.5
205205
*
206206
* @param WC_Shipping_Method $shipping_method Shipping rate to verify.
207207
* @return boolean

src/ProductsXmlFeed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ private static function get_property_g_additional_image_link( $product, $propert
428428
/**
429429
* Returns the product shipping information.
430430
*
431-
* @since x.x.x
431+
* @since 1.0.5
432432
*
433433
* @param WC_Product $product The product.
434434
* @param string $property The name of the property.
@@ -491,7 +491,7 @@ private static function get_currency_decimals() {
491491

492492
/** Fetch shipping object.
493493
*
494-
* @since x.x.x
494+
* @since 1.0.5
495495
*
496496
* @return Shipping
497497
*/

src/Shipping.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Utility class used by the Feed generation to create the shipping column.
44
*
55
* @package Pinterest
6-
* @since x.x.x
6+
* @since 1.0.5
77
*/
88

99
namespace Automattic\WooCommerce\Pinterest;
@@ -27,7 +27,7 @@
2727
* - Simple products.
2828
* - Variable products.
2929
*
30-
* @since x.x.x
30+
* @since 1.0.5
3131
*/
3232
class Shipping {
3333

@@ -41,7 +41,7 @@ class Shipping {
4141
/**
4242
* Prepare shipping information for $product.
4343
*
44-
* @since x.x.x
44+
* @since 1.0.5
4545
*
4646
* @param WC_Product $product Product for which we want to generate the shipping column.
4747
* @return array Shipping information $product.
@@ -98,7 +98,7 @@ public function prepare_shipping_info( $product ) {
9898
* Get shipping zones defined in WooCommerce settings.
9999
* Cache for efficiency - this information will not change between different products.
100100
*
101-
* @since x.x.x
101+
* @since 1.0.5
102102
*
103103
* @return array Shipping zones.
104104
*/
@@ -124,7 +124,7 @@ private static function get_shipping_zones() {
124124
* Normally this would be done by checking values in cart. Because we are not operating on cart we filter out
125125
* this value ourselves.
126126
*
127-
* @since x.x.x
127+
* @since 1.0.5
128128
*
129129
* @param bool $is_available Wether this shipping method should be available.
130130
* @param array $package Shipping package.
@@ -148,7 +148,7 @@ public static function is_free_shipping_available( $is_available, $package, $shi
148148
/**
149149
* Get the lowest possible shipping cost for given location and shipping methods for that location.
150150
*
151-
* @since x.x.x
151+
* @since 1.0.5
152152
*
153153
* @param array $shipping_location Country and state values of the location.
154154
* @param array $shipping_methods List of shippings methods we use to calculate the best rate.
@@ -185,7 +185,7 @@ private static function get_best_shipping_with_cost( $shipping_location, $shippi
185185
/**
186186
* Pick the best rate from an array of rates.
187187
*
188-
* @since x.x.x
188+
* @since 1.0.5
189189
*
190190
* @param array $rates List of shipping rates.
191191
* @return array Name and cost for the best found rate or null in case nothing was found.
@@ -216,7 +216,7 @@ private static function calculate_best_rate( $rates ) {
216216
/**
217217
* Helper function that packs products into a package structure required by the shipping methods.
218218
*
219-
* @since x.x.x
219+
* @since 1.0.5
220220
*
221221
* @param WC_Product $product Product to package.
222222
* @param array $location Product destination location.

0 commit comments

Comments
 (0)