Skip to content

Commit 38d7ce5

Browse files
Release 3.3.2
1 parent 3a35bdf commit 38d7ce5

11 files changed

+19
-41
lines changed

.github/workflows/soft-release.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/woo-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Release Plugin
22
on:
33
push:
44
tags:
5-
- '[0-9]+.[0-9]+.[0-9]+'
5+
- '*'
66

77
jobs:
88
tag:
9-
name: Full Release
9+
name: New release
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This repository contains the PostFinance Checkout plugin that enables WooCommerc
1616

1717
## Documentation
1818

19-
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2-beta/docs/en/documentation.html)
19+
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2/docs/en/documentation.html)
2020

2121
## Support
2222

@@ -33,7 +33,7 @@ ____________________________________________________________________________
3333

3434
## License
3535

36-
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/3.3.2-beta/LICENSE) for more information.
36+
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/3.3.2/LICENSE) for more information.
3737

3838
## Privacy Policy
3939

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('@woocommerce/blocks-registry', 'react', 'wp-polyfill'), 'version' => '8de5d1b01ac08d3a2491');
1+
<?php return array('dependencies' => array('@woocommerce/blocks-registry', 'react', 'wp-polyfill'), 'version' => '7d280224628cd5ce269b');

assets/js/frontend/blocks/build/index.js

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

docs/en/documentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2>Documentation</h2> </div>
2323
</a>
2424
</li>
2525
<li>
26-
<a href="https://github.com/pfpayments/woocommerce/releases/tag/3.3.2-beta/">
26+
<a href="https://github.com/pfpayments/woocommerce/releases/tag/3.3.2/">
2727
Source
2828
</a>
2929
</li>

includes/admin/class-wc-postfinancecheckout-admin-settings-page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function get_settings() {
184184
$settings = array(
185185
array(
186186
'links' => array(
187-
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2-beta/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-postfinancecheckout' ),
187+
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-postfinancecheckout' ),
188188
'https://checkout.postfinance.ch/en-ch/user/signup' => esc_html__( 'Sign Up', 'woo-postfinancecheckout' ),
189189
),
190190
'type' => 'postfinancecheckout_links',

includes/admin/class-wc-postfinancecheckout-admin-transaction.php

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,18 @@ public static function init() {
3434
__CLASS__,
3535
'add_meta_box',
3636
),
37-
40,
38-
2
37+
40
3938
);
4039
}
4140

4241
/**
4342
* Add WC Meta boxes.
4443
*
4544
* @see: https://woo.com/document/high-performance-order-storage/#section-8
46-
* @see: https://developer.wordpress.org/reference/hooks/add_meta_boxes/
4745
*/
48-
public static function add_meta_box( $post_type = "", $post_or_order_object = null ) {
49-
// WooCommerce is moving the Order information from Post to Order class. For now, we need to support both ways.
50-
if ( empty( $post_or_order_object ) || ! ( $post_or_order_object instanceof \Automattic\WooCommerce\Admin\Overrides\Order) ) {
51-
if ( empty( $post_or_order_object ) || ! ( $post_or_order_object instanceof WP_Post ) || empty( $post_or_order_object->ID ) || 'shop_order' != $post_or_order_object->post_type ) {
52-
return;
53-
}
46+
public static function add_meta_box() {
47+
if ( empty( $post ) || ! ( $post instanceof WP_Post ) || empty( $post->ID ) || 'shop_order' != $post->post_type ) {
48+
return;
5449
}
5550
$screen = class_exists( '\Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController' )
5651
&& wc_get_container()->get( \Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::class )->custom_orders_table_usage_is_enabled()

includes/class-wc-postfinancecheckout-migration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public static function check_version() {
267267
public static function plugin_row_meta( $links, $file ) {
268268
if ( WC_POSTFINANCECHECKOUT_PLUGIN_BASENAME === $file ) {
269269
$row_meta = array(
270-
'docs' => '<a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2-beta/docs/en/documentation.html" aria-label="' . esc_html__( 'View Documentation', 'woo-postfinancecheckout' ) . '">' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '</a>',
270+
'docs' => '<a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2/docs/en/documentation.html" aria-label="' . esc_html__( 'View Documentation', 'woo-postfinancecheckout' ) . '">' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '</a>',
271271
);
272272

273273
return array_merge( $links, $row_meta );

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: postfinancecheckout AG
33
Tags: woocommerce PostFinance Checkout, woocommerce, PostFinance Checkout, payment, e-commerce, webshop, psp, invoice, packing slips, pdf, customer invoice, processing
44
Requires at least: 4.7
55
Tested up to: 6.6
6-
Stable tag: 3.3.2-beta
6+
Stable tag: 3.3.2
77
License: Apache 2
88
License URI: http://www.apache.org/licenses/LICENSE-2.0
99

@@ -23,7 +23,7 @@ To use this extension, a PostFinance Checkout account is required. Sign up on [P
2323

2424
== Documentation ==
2525

26-
Additional documentation for this plugin is available [here](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2-beta/docs/en/documentation.html).
26+
Additional documentation for this plugin is available [here](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2/docs/en/documentation.html).
2727

2828
== Support ==
2929

0 commit comments

Comments
 (0)