Merge pull request #4181 from kloon/fix_order_item_meta_ajax

Fix ajax calls for adding and deleting order item meta from the backend.
This commit is contained in:
Coen Jacobs 2013-11-25 00:38:50 -08:00
commit 084ac253f9
1 changed files with 2 additions and 2 deletions

View File

@ -1029,7 +1029,7 @@ class WC_AJAX {
/**
* Add some meta to a line item
*/
public function ajax_add_order_item_meta() {
public function add_order_item_meta() {
global $wpdb;
check_ajax_referer( 'order-item', 'security' );
@ -1048,7 +1048,7 @@ class WC_AJAX {
/**
* Remove meta from a line item
*/
public function ajax_remove_order_item_meta() {
public function remove_order_item_meta() {
global $wpdb;
check_ajax_referer( 'order-item', 'security' );