diff --git a/admin/woocommerce-admin-debug.php b/admin/woocommerce-admin-debug.php index e0dea153c28..1776628cb02 100644 --- a/admin/woocommerce-admin-debug.php +++ b/admin/woocommerce-admin-debug.php @@ -9,6 +9,7 @@ function woocommerce_debug() { global $woocommerce; + $tools = apply_filters( 'wc_debug_tools', array( 'clear_transients' => array( 'name' => __('Transients','woocommerce'), @@ -21,8 +22,7 @@ function woocommerce_debug() { 'desc' => __( 'This tool will reset the admin, customer and shop_manager roles to default. Use this if your users cannot access all of the WooCommerce admin pages.', 'woocommerce' ), ), ) ); - $classes = array('alternate',''); - $class = 0; + ?>
' . __('Roles successfully reset', 'woocommerce') . '
diff --git a/readme.txt b/readme.txt index 059448ae4f6..a3012f4b1ac 100644 --- a/readme.txt +++ b/readme.txt @@ -156,6 +156,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc * Tweak - Individually sold variation handling * Tweak - Removed mdash; from shipping options * Tweak - Made woocommerce_locate_template more useful for third party plugins - ability to pass a full path +* Tweak - WC Debug page hooks * Fix - Google Analytics options fix * Fix - % discount rounding