Merge pull request #11277 from coderkevin/fix/checkout-section-urls
Fix checkout gateway section urls (#11273)
This commit is contained in:
commit
7701d4ce99
|
@ -317,7 +317,7 @@ class WC_Settings_Payment_Gateways extends WC_Settings_Page {
|
|||
case 'name' :
|
||||
$method_title = $gateway->get_title() ? $gateway->get_title() : __( '(no title)', 'woocommerce' );
|
||||
echo '<td class="name">
|
||||
<a href="' . admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=' . strtolower( get_class( $gateway ) ) ) . '">' . esc_html( $method_title ) . '</a>
|
||||
<a href="' . admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=' . strtolower( $gateway->id ) ) . '">' . esc_html( $method_title ) . '</a>
|
||||
</td>';
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue