From 77e2d8f5ddfa262d3037b3dc40502b4bb82e2947 Mon Sep 17 00:00:00 2001 From: Mamatha Rao Date: Wed, 19 Jun 2024 14:52:37 +0530 Subject: [PATCH] Fixed lint fixes in captive flow --- includes/ECommerce.php | 2 +- includes/Partials/CaptiveFlow.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/ECommerce.php b/includes/ECommerce.php index fa57b978..c81e0f0b 100644 --- a/includes/ECommerce.php +++ b/includes/ECommerce.php @@ -624,7 +624,7 @@ public function custom_status_column_content( $column_name, $post_id ) { $label_text = __( 'Published - Private', 'wp-module-ecommerce' ); } else { $background_color = '#E8ECF0'; - $label_text = __( $post_status, 'wp-module-ecommerce' ); + $label_text = $post_status; } // Check if coming soon option is enabled $coming_soon = get_option( 'nfd_coming_soon' ); diff --git a/includes/Partials/CaptiveFlow.php b/includes/Partials/CaptiveFlow.php index bbe04dca..a64faa30 100644 --- a/includes/Partials/CaptiveFlow.php +++ b/includes/Partials/CaptiveFlow.php @@ -141,7 +141,7 @@ public static function register_page() { public static function render_paypal() { echo PHP_EOL; echo '
'; - echo do_action( self::$paypal_captive_flow ); + do_action( self::$paypal_captive_flow ); echo '
'; echo PHP_EOL; } @@ -154,7 +154,7 @@ public static function render_paypal() { public static function render_shippo() { echo PHP_EOL; echo '
'; - echo do_action( self::$shippo_captive_flow ); + do_action( self::$shippo_captive_flow ); echo '
'; echo PHP_EOL; }