Commit a78c1ec99 for woocommerce

commit a78c1ec99e9cc08f09c80bbf534d8258c35412ac
Author: Kevin Ruscoe <kevdotbadger@gmail.com>
Date:   Wed Jan 13 21:22:30 2021 +0000

    wp_untrash_post_status should be static as pointed out by roykho

diff --git a/includes/class-wc-post-data.php b/includes/class-wc-post-data.php
index f8ba9d902..9958cebfc 100644
--- a/includes/class-wc-post-data.php
+++ b/includes/class-wc-post-data.php
@@ -499,7 +499,7 @@ class WC_Post_Data {
 	 * @param string $previous_status The status of the post at the point where it was trashed.
 	 * @return string
 	 */
-	public function wp_untrash_post_status( $new_status, $post_id, $previous_status ) {
+	public static function wp_untrash_post_status( $new_status, $post_id, $previous_status ) {
 		$post_types = array( 'shop_order', 'shop_coupon', 'product', 'product_variation' );

 		if ( in_array( get_post_type( $post_id ), $post_types, true ) ) {