Skip to content

Commit

Permalink
Updates to 6.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WooCommerce committed Nov 27, 2024
1 parent 8b04330 commit 8c0d9ae
Show file tree
Hide file tree
Showing 17 changed files with 118 additions and 289 deletions.
210 changes: 0 additions & 210 deletions bin/install-wp-tests.sh

This file was deleted.

4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
*** WooCommerce Subscriptions Changelog ***

2024-11-27 - version 6.9.1
* Fix: Resolved compatibility issues with WordPress 6.7 caused by translating strings too early.
* Dev: Update subscriptions-core to 7.7.2

2024-11-14 - version 6.9.0
* Add: New Customer Notification feature - sends reminder emails for upcoming subscription renewals, trials ending, and subscription expirations.
* Fix: Prevent adding products to the cart if a subscription renewal is already present.
Expand Down
13 changes: 13 additions & 0 deletions includes/payment-retry/data-stores/class-wcs-retry-post-store.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ class WCS_Retry_Post_Store extends WCS_Retry_Store {
* @return null
*/
public function init() {
if ( did_action( 'init' ) ) {
$this->register_payment_retry_post();
} else {
add_action( 'init', [ $this, 'register_payment_retry_post' ] );
}
}

/**
* Registers the custom payment_retry post type.
*
* @return void
*/
public function register_payment_retry_post() {
register_post_type(
self::$post_type,
array(
Expand Down
Loading

0 comments on commit 8c0d9ae

Please sign in to comment.