Skip to content

Commit

Permalink
Fixed lint fixes in captive flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mamatharao05 committed Jun 19, 2024
1 parent ea365a3 commit 77e2d8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/ECommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down
4 changes: 2 additions & 2 deletions includes/Partials/CaptiveFlow.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public static function register_page() {
public static function render_paypal() {
echo PHP_EOL;
echo '<div id="nfd-ecommerce" class="nfd-ecommerce-captive-flow">';
echo do_action( self::$paypal_captive_flow );
do_action( self::$paypal_captive_flow );
echo '</div>';
echo PHP_EOL;
}
Expand All @@ -154,7 +154,7 @@ public static function render_paypal() {
public static function render_shippo() {
echo PHP_EOL;
echo '<div id="nfd-ecommerce" class="nfd-ecommerce-captive-flow">';
echo do_action( self::$shippo_captive_flow );
do_action( self::$shippo_captive_flow );
echo '</div>';
echo PHP_EOL;
}
Expand Down

0 comments on commit 77e2d8f

Please sign in to comment.