From 2a80be34a2d2b9aa07e1110418d58217e18634d1 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Wed, 20 Jan 2016 13:28:26 -0200 Subject: [PATCH] Fixed typos --- includes/wc-account-functions.php | 2 +- templates/myaccount/my-account.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/wc-account-functions.php b/includes/wc-account-functions.php index 7fdc7d0984ebf..c340ad390daca 100644 --- a/includes/wc-account-functions.php +++ b/includes/wc-account-functions.php @@ -111,7 +111,7 @@ function wc_get_account_orders_columns() { */ function wc_get_account_orders_query_args() { $args = array( - 'numberposts' => 15, + 'numberposts' => 2, 'meta_key' => '_customer_user', 'meta_value' => get_current_user_id(), 'post_type' => wc_get_order_types( 'view-orders' ), diff --git a/templates/myaccount/my-account.php b/templates/myaccount/my-account.php index 3b52266021446..44a49c7463cc3 100644 --- a/templates/myaccount/my-account.php +++ b/templates/myaccount/my-account.php @@ -49,14 +49,14 @@ /** * Deprecated woocommerce_before_my_account action. * - * @depracated 2.6.0 + * @deprecated 2.6.0 */ do_action( 'woocommerce_before_my_account' ); /** * Deprecated woocommerce_after_my_account action. * - * @depracated 2.6.0 + * @deprecated 2.6.0 */ do_action( 'woocommerce_after_my_account' ); ?>