Commit Graph

556 Commits

Author SHA1 Message Date
Mike Jolley fdbaac0acd Include template hooks early Fixes #3664 2013-08-23 16:58:19 +01:00
Mike Jolley f0853d5208 Pass text attributes when ordering again Fixes #3422 2013-08-20 12:17:56 +01:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00
Mike Jolley f09fafe738 Meta box refactor
Closes #3458.
2013-08-06 11:41:20 +01:00
Mike Jolley cd50b328a2 Install and update functions 2013-07-25 16:29:25 +01:00
Mike Jolley 8a6ff89bf1 Moved admin directory and moved some functions to classes (ongoing refactor) 2013-07-24 17:01:36 +01:00
Mike Jolley 725cb7714b More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170. 2013-07-23 17:05:01 +01:00
Mike Jolley dfcc41c400 5.2 compat 2013-07-17 14:29:42 +01:00
Mike Jolley d0b6483037 Dump coupon helper and add new functions. Closes #3353. 2013-06-28 10:23:20 +01:00
swicks 56741cbebf WooCommerce fails to Activate
declared $helpers as a blank array
(to keep things tidy) removed $this->helpers from init().
2013-06-22 13:17:35 +01:00
Mike Jolley de23047575 kill helper closes #3332 2013-06-14 12:59:29 +01:00
Coen Jacobs 035ec8ba65 Merge branch 'refs/heads/release-11-fix'
Conflicts:
	assets/js/frontend/woocommerce.min.js
	includes/class-wc-checkout.php
	readme.txt
	woocommerce.php
2013-06-13 15:36:12 +02:00
Coen Jacobs edd2d0f5b7 2.0.11 version bump
Conflicts:
	readme.txt
	woocommerce.php
2013-06-13 11:14:35 +02:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley 646a8a008c Make use of new functions 2013-06-11 15:59:54 +01:00
Mike Jolley d448046234 Move WC back to main file, as singleton 2013-06-11 15:21:14 +01:00
Coen Jacobs a90b9c5df5 Moved WooCommerce class to separate file
Finally capitalised that C baby!

Oh yeah, and I've probably broken a couple things too...
2013-06-06 16:36:35 +02:00
Coen Jacobs b0ffed8380 Internals need to call helper for messages as well 2013-06-06 16:11:04 +02:00
Coen Jacobs e6bea70f62 Abstracted messages helper to class 2013-06-06 15:56:24 +02:00
Coen Jacobs d56289f846 Minimised docblocks for deprecated methods 2013-06-06 15:35:50 +02:00
Coen Jacobs bec4072f35 Abstracted frontend scripts helper to class 2013-06-06 15:20:47 +02:00
Coen Jacobs 729c2d8447 Cleanup public vars that shouldn't be public 2013-06-06 15:01:09 +02:00
Coen Jacobs 2e68ca7d2f Property cleanup and deprecation 2013-06-06 14:41:15 +02:00
Coen Jacobs 46336424a3 Moved missing property to body class helper 2013-06-06 14:28:37 +02:00
Coen Jacobs f577127d8f Abstracted template helper to class 2013-06-06 14:27:04 +02:00
Coen Jacobs 6cda47b878 Typo fix: 'help(' => 'helper(' 2013-06-06 14:22:35 +02:00
Coen Jacobs 3880fc95b1 Stripped out older deprecated junk 2013-06-06 14:16:00 +02:00
Coen Jacobs a09ebc9cca Merge branch 'helpers-refactor' into core-class-refactor
Conflicts:
	classes/class-wc-shortcodes.php
	classes/shortcodes/class-wc-shortcode-change-password.php
	classes/shortcodes/class-wc-shortcode-view-order.php
	templates/myaccount/form-change-password.php
	templates/myaccount/form-login.php
	templates/order/order-details.php
	woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Coen Jacobs c949027dbb Abstracted body class helper to class #3282 2013-06-05 16:42:29 +02:00
Coen Jacobs 49ae8d366a Correct deprecation notice for coupon helper 2013-06-05 16:36:23 +02:00
Coen Jacobs 4a86fea4f6 Abstracted post class helper to class #3282 2013-06-05 16:34:58 +02:00
Coen Jacobs 1fefce3fc3 Refactor, docblocks and fixes for #3282 2013-06-05 16:25:49 +02:00
Coen Jacobs a43e204a8c Abstracted coupon helper to class #3282 2013-06-05 16:20:56 +02:00
Coen Jacobs 74fcf1a1d4 Abstracted attribute helper to class #3282 2013-06-05 16:14:25 +02:00
Coen Jacobs 4b2edd8616 Move actions for inline js to helpers #3282 2013-06-05 15:57:09 +02:00
Coen Jacobs e2b850bddb Added verify_nonce method to nonce helper #3282 2013-06-05 15:54:13 +02:00
Coen Jacobs 05bfac8c16 Abstracted shortcode helper to class #3282 2013-06-05 15:49:48 +02:00
Coen Jacobs 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02:00
Coen Jacobs b3f05bdd66 Abstracted inline JS helper to class #3282 2013-06-05 13:51:06 +02:00
Coen Jacobs 64c75547f3 Abstracted transient helper to class #3282 2013-06-05 13:39:27 +02:00
Coen Jacobs 973e6d94b8 Set up basic helper abstract and get function #3282 2013-06-05 13:30:06 +02:00
Mike Jolley a3c2cef3f7 Better account edit Closes #3168 2013-06-05 12:07:23 +01:00
Mike Jolley 4aef7c73ee View order page endpoint 2013-06-04 17:33:43 +01:00
Mike Jolley 820d399b2f My account registration, made registration process DRY, added notification hook for new accounts. Closes #3085 2013-06-04 16:33:05 +01:00
Mike Jolley cde4947acf Remember which attributes get registered and added taxonomy_is_product_attribute() function
Closes #3149.
2013-06-03 11:04:21 +01:00
Mike Jolley 24a1812738 Move post type registration to separate class. 2013-06-03 11:04:21 +01:00
Mike Jolley b67232b7f3 Update chosen Closes #3258. 2013-05-31 18:10:00 +01:00
Mike Jolley 48edab0837 Merge pull request #3262 from kayue/bug/double-deleteing-in-clear-product-transients
Fix double deleteing in clear product transients.
2013-05-31 08:29:17 -07:00
Mike Jolley e4f4b09ba6 Pay page and thanks page endpoints. Requires permalink save. Closes #3170. 2013-05-31 16:13:18 +01:00
Ka Yue Yeung 4242b25d2c Use delete_transient method instead of a custom query. 2013-05-31 14:50:47 +08:00
Ka Yue Yeung f747474a9a Revert "Avoid double deleting the wc_products_onsale transient."
This reverts commit 3d0c084530.
2013-05-31 14:49:51 +08:00
Ka Yue Yeung 3d0c084530 Avoid double deleting the wc_products_onsale transient. 2013-05-31 14:34:11 +08:00
Mike Jolley 559d7b9759 Updated blockui to prevent errors in WP 3.6.
@coenjacobs this needs to go in .11
2013-05-28 17:02:18 +01:00
Coen Jacobs ca9c14b352 Translatable version of string 2013-05-27 14:16:45 +02:00
Mike Jolley 8307cb37f6 Refactor: Widget classes, made abstract, merged similar product listing widgets into 1 2013-05-24 16:52:03 +01:00
Mike Jolley 18023b8420 woocommerce_load_alt_locale 2013-05-24 16:52:02 +01:00
Mike Jolley 948945c7ea Simplified variation definition (public false handles everything) 2013-05-24 16:52:02 +01:00
Brent Shepherd d01568b3bd Remove dupliate email actions
Remove duplicate 'woocommerce_order_status_pending_to_processing' and
'woocommerce_order_status_pending_to_on-hold' email actions
2013-05-23 16:21:40 +10:00
Mike Jolley 35887b9430 protocol-relative URLs. Closes #3171 2013-05-22 14:08:08 +01:00
Todd Lahman 3d118b37b2 Check if variable isset to avoid undefined error 2013-05-18 23:24:03 -07:00
James Koster 646a252f6d woocommerce-smallscreen.css. #3166 2013-05-15 17:47:27 +01:00
Coen Jacobs 338974f2ec 2.0.10 version bump 2013-05-15 11:28:13 +02:00
James Koster d976dedcc5 no more css options & added responsive stylesheet 2013-05-14 18:28:36 +01:00
Coen Jacobs b32933685e Version bump for preparing 2.0.10 release 2013-05-14 12:11:14 +02:00
James Koster 3c79056aa8 More CSS separation #2785 2013-05-13 16:02:22 +01:00
James Koster b98307c4be Splitting the CSS #2785 2013-05-09 15:39:35 +01:00
krogsgard 638b7f9b8b Update public parameters for 'product_variation' and 'shop_coupon' CPTs
Update 'public' parameters for 'product_variation' and 'shop_coupon' to 'false' and update 'query_var' parameter for 'product_variation' to false.
2013-05-06 15:42:59 -05:00
Coen Jacobs b1f3af5118 Removed ShareYourCart integration from core. Closes #2937 2013-05-02 13:38:00 +02:00
Coen Jacobs e9c9afc0fc Master branch is now 2.1-bleeding 2013-05-02 13:29:20 +02:00
Mike Jolley fdd5a09164 Fix 3.6. Closes #3061. 2013-05-01 14:32:47 +01:00
Mike Jolley efa8d9fe62 Brazil states fixes 2013-04-24 15:37:49 +01:00
Coen Jacobs 9b8bb98ca0 Removed add_to_cart_nonce, no longer used. #2921 2013-04-22 09:11:47 +02:00
Mike Jolley 1f43e31f9f version bump 2013-04-17 17:03:33 +01:00
Mike Jolley e9cfd5b32a Updated docs links 2013-04-17 10:16:37 +01:00
Mike Jolley c211603fc9 Fix saving options for attribute taxonomies containing special chars. Closes #2975. 2013-04-16 14:41:23 +01:00
Mike Jolley 51933ed368 version 2013-04-12 11:07:47 +01:00
Mike Jolley 31b497a33e Cache helpers + notice for w3tc users 2013-04-09 10:38:40 +01:00
Mike Jolley 3fe3f969cc Readme/version bump 2013-04-08 21:18:26 +01:00
Mike Jolley 9977031a5d Nonces cannot be used on all pages with cache - removed them for add to cart actions + fixed caching for hiding the cart 2013-04-08 18:43:07 +01:00
Mike Jolley 57054b03d5 Orders dont' need to be public, and fix for order details when product does not exist. 2013-04-08 17:54:16 +01:00
Mike Jolley fa91ef80d4 Cache helper sets DONOTCACHEPAGE during init, rather than in each shortcode, and the W3 Issue with database cached appeared to be because the add_option had autoload 'no'. Removing autoload no was the only workaround I could find.
Now works with all caching enabled in W3 Total cache. Closes #2862.

cc @coenjacobs
2013-04-05 22:24:56 +01:00
Mike Jolley 5b679175de Versions. Closes #2854. 2013-04-05 13:17:39 +01:00
Mike Jolley 09699e5c61 Don't mess with plugins_url Closes #2859. 2013-04-04 17:39:52 +01:00
Mike Jolley 0d4666a35d Action links Closes #2842. 2013-04-04 17:31:06 +01:00
Scott McCauley 54c5bda39a #2867 - Added a check to parent theme for comments_template before loading plugin template
#2867
2013-04-03 13:55:20 -04:00
Mike Jolley 21c40fc6b9 Ensure API Request URL scheme is not relative to the current page. 2013-03-28 15:49:02 +00:00
Mike Jolley c84ea9e783 only hide pages, not other objects. Closes #2829. 2013-03-27 11:04:58 +00:00
Mike Jolley 3626a2c2e4 Version bumpage 2013-03-26 12:44:05 +00:00
Sylvain WITMEYER e2a6e26d92 Update woocommerce.php
is_admin() return a boolean
2013-03-23 22:33:19 +01:00
Mike Jolley 6e632c3348 Version bump 2013-03-18 15:26:51 +00:00
Mike Jolley 87fbb21ff2 Removed Sidebar Login Widget. Use http://wordpress.org/extend/plugins/sidebar-login/ instead. A potential security issue was found regarding logging of passwords (since GET was used instead of POST). Sidebar Login 2.5 resolves this and the widget has been removed from WC to prevent needing to maintain two (virtually identical) codebases. 2013-03-18 15:24:29 +00:00
Mike Jolley 9c2fd84ce5 Include API class - its always needed 2013-03-13 11:58:56 +00:00
Mike Jolley 84b451e214 Fix attribute base 2013-03-12 14:43:06 +00:00
Mike Jolley df3b84845b Version bump 2013-03-11 10:41:44 +00:00
Mike Jolley 874d6855ea Move to later hook #2625 2013-03-07 16:33:44 +00:00
Mike Jolley eb8c37844b Update tweaks for coen 2013-03-06 11:59:24 +00:00
Mike Jolley 36e4cd8fa1 Upgrade if DB version is lower than current. + version bump in wc file 2013-03-06 11:16:12 +00:00
Mike Jolley 38d68a29a3 Include once to prevent class exist errors with widgets. 2013-03-06 10:28:23 +00:00
Mike Jolley 77eaf1f91d Activation/install/welcome 2013-03-05 18:50:44 +00:00
Mike Jolley a5a6fab817 Readme for fixes 2013-03-04 15:32:48 +00:00