Merge pull request #12865 from woocommerce/remove-default-instructions
Removed default instructions
This commit is contained in:
commit
f9f6ac175b
|
@ -38,7 +38,7 @@ class WC_Gateway_BACS extends WC_Payment_Gateway {
|
|||
// Define user set variables
|
||||
$this->title = $this->get_option( 'title' );
|
||||
$this->description = $this->get_option( 'description' );
|
||||
$this->instructions = $this->get_option( 'instructions', $this->description );
|
||||
$this->instructions = $this->get_option( 'instructions' );
|
||||
|
||||
// BACS account fields shown on the thanks page and in emails
|
||||
$this->account_details = get_option( 'woocommerce_bacs_accounts',
|
||||
|
|
|
@ -34,7 +34,7 @@ class WC_Gateway_Cheque extends WC_Payment_Gateway {
|
|||
// Define user set variables
|
||||
$this->title = $this->get_option( 'title' );
|
||||
$this->description = $this->get_option( 'description' );
|
||||
$this->instructions = $this->get_option( 'instructions', $this->description );
|
||||
$this->instructions = $this->get_option( 'instructions' );
|
||||
|
||||
// Actions
|
||||
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
|
||||
|
|
|
@ -31,7 +31,7 @@ class WC_Gateway_COD extends WC_Payment_Gateway {
|
|||
// Get settings
|
||||
$this->title = $this->get_option( 'title' );
|
||||
$this->description = $this->get_option( 'description' );
|
||||
$this->instructions = $this->get_option( 'instructions', $this->description );
|
||||
$this->instructions = $this->get_option( 'instructions' );
|
||||
$this->enable_for_methods = $this->get_option( 'enable_for_methods', array() );
|
||||
$this->enable_for_virtual = $this->get_option( 'enable_for_virtual', 'yes' ) === 'yes' ? true : false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue