From 0ab045e16b61444e8e5cdf79ed7ca6012de3357e Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 18 Jan 2012 17:49:55 +0000 Subject: [PATCH] Fixed admin ajax --- admin/post-types/product.php | 2 +- admin/post-types/shop_order.php | 4 ++-- woocommerce-ajax.php | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin/post-types/product.php b/admin/post-types/product.php index c99e090a41b..7c56791cd4b 100644 --- a/admin/post-types/product.php +++ b/admin/post-types/product.php @@ -114,7 +114,7 @@ function woocommerce_custom_product_columns($column) { endif; break; case "featured" : - $url = wp_nonce_url( admin_url('admin-ajax.php?action=woocommerce-feature-product&product_id=' . $post->ID) ); + $url = wp_nonce_url( admin_url('admin-ajax.php?action=woocommerce-feature-product&product_id=' . $post->ID), 'woocommerce-feature-product' ); echo ''; if ($product->is_featured()) echo 'yes'; else echo 'no'; diff --git a/admin/post-types/shop_order.php b/admin/post-types/shop_order.php index 02340d148fb..9ed8c455b56 100644 --- a/admin/post-types/shop_order.php +++ b/admin/post-types/shop_order.php @@ -123,8 +123,8 @@ function woocommerce_custom_order_columns($column) { case "order_actions" : ?>

- status, array('pending', 'on-hold'))) : ?> - status, array('pending', 'on-hold', 'processing'))) : ?> + status, array('pending', 'on-hold'))) : ?> + status, array('pending', 'on-hold', 'processing'))) : ?>