This commit is contained in:
Mike Jolley 2019-02-18 13:41:06 +00:00
parent d787c34206
commit 14149e4d54
1 changed files with 8 additions and 3 deletions

View File

@ -86,8 +86,10 @@ class WC_Admin_Webhooks_Table_List extends WP_List_Table {
add_query_arg( add_query_arg(
array( array(
'delete' => $webhook->get_id(), 'delete' => $webhook->get_id(),
), admin_url( 'admin.php?page=wc-settings&tab=advanced&section=webhooks' ) ),
), 'delete-webhook' admin_url( 'admin.php?page=wc-settings&tab=advanced&section=webhooks' )
),
'delete-webhook'
) )
) . '">' . esc_html__( 'Delete permanently', 'woocommerce' ) . '</a>', ) . '">' . esc_html__( 'Delete permanently', 'woocommerce' ) . '</a>',
); );
@ -262,7 +264,10 @@ class WC_Admin_Webhooks_Table_List extends WP_List_Table {
echo '<label class="screen-reader-text" for="' . esc_attr( $input_id ) . '">' . esc_html( $text ) . ':</label>'; echo '<label class="screen-reader-text" for="' . esc_attr( $input_id ) . '">' . esc_html( $text ) . ':</label>';
echo '<input type="search" id="' . esc_attr( $input_id ) . '" name="s" value="' . esc_attr( $search_query ) . '" />'; echo '<input type="search" id="' . esc_attr( $input_id ) . '" name="s" value="' . esc_attr( $search_query ) . '" />';
submit_button( submit_button(
$text, '', '', false, $text,
'',
'',
false,
array( array(
'id' => 'search-submit', 'id' => 'search-submit',
) )