Merge pull request #11277 from coderkevin/fix/checkout-section-urls

Fix checkout gateway section urls (#11273)
This commit is contained in:
Claudio Sanches 2016-06-28 15:18:32 -03:00 committed by GitHub
commit 7701d4ce99
1 changed files with 1 additions and 1 deletions

View File

@ -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&section=' . strtolower( get_class( $gateway ) ) ) . '">' . esc_html( $method_title ) . '</a>
<a href="' . admin_url( 'admin.php?page=wc-settings&tab=checkout&section=' . strtolower( $gateway->id ) ) . '">' . esc_html( $method_title ) . '</a>
</td>';
break;