Commit Graph

21 Commits

Author SHA1 Message Date
toddlahman 2725527d4a Removed urldecode from $_GET and $_REQUEST
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.

See Notes:

http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
Mike Jolley a2688fad83 Fix ajax naming issues Closes #4368 2013-12-31 14:27:48 +00:00
Mike Jolley 27d40dd46f Fix term reordering Closes #4294 2013-12-05 16:07:44 +00:00
Gregory K 43ca01badc PhpDocs and TODO comments 2013-11-28 12:59:09 -05:00
Gerhard 6300e65582 Make downloadable product dropdown ajaxy, as per #4211 2013-11-26 15:54:34 +02:00
Mike Jolley 5e9a84f26c Fix ajax class functions and includes 2013-11-25 15:47:52 +00:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley b774e84e29 Revert "Replaced templates functions"
This reverts commit 4ce301a080.
2013-11-25 14:16:26 +00:00
Mike Jolley 4ce301a080 Replaced templates functions 2013-11-25 14:01:37 +00:00
Mike Jolley 3973beae5d woocommerce_ functions to wc_ - replaced attribute functions 2013-11-25 14:01:37 +00:00
Coen Jacobs f7df17db1c Order functions woocommerce to wc refactor 2013-11-25 14:54:52 +01:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Coen Jacobs b0e3802b5b Refactor cart functions in core 2013-11-25 13:44:32 +01:00
Gerhard bac3c81296 Fix ajax calls for adding and deleting order item meta from the backend. 2013-11-22 15:16:38 +02:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Mike Jolley 3acfc07684 Fix user search and sanitize search strings 2013-11-20 17:30:49 +00:00
Scott Basgaard f3b2854638 woocommerce_json_search_products() is now a method of WC_AJAX. Use $this->json_search_products() instead. 2013-11-19 14:44:28 +01:00
Scott Basgaard bee41fb7e5 woocommerce_get_refreshed_fragments() is no longer. Update where it was called to new Ajax class method. 2013-11-19 13:33:26 +01:00
Coen Jacobs 90008d7143 Merge remote-tracking branch 'thenbrent/new_notice_api'
Conflicts:
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-message-functions.php
	woocommerce-ajax.php
2013-11-18 12:44:22 +01:00
Scott Basgaard 4bdfd78ac5 Avoid undefined variable notices when calculating totals and saving attributes via AJAX. 2013-11-14 19:40:15 +01:00
Mike Jolley 645ca3e834 WC_Ajax class for ajax events 2013-11-14 12:13:34 +00:00