diff --git a/changelog/fix-manual-capture-status b/changelog/fix-manual-capture-status new file mode 100644 index 00000000000..57d0ee62181 --- /dev/null +++ b/changelog/fix-manual-capture-status @@ -0,0 +1,4 @@ +Significance: minor +Type: fix + +Make sure the status of manual capture enablement is fetched from the right place. diff --git a/includes/class-wc-payments-status.php b/includes/class-wc-payments-status.php index f0e51a2a4f6..8ed632666fd 100644 --- a/includes/class-wc-payments-status.php +++ b/includes/class-wc-payments-status.php @@ -243,7 +243,12 @@ function ( $rule ) { : - + + gateway->get_option( 'manual_capture' ); + echo $manual_capture_enabled ? esc_html_e( 'Enabled', 'woocommerce-payments' ) : esc_html_e( 'Disabled', 'woocommerce-payments' ); + ?> + :