Commit Graph

671 Commits

Author SHA1 Message Date
Mike Jolley b8bcb5ee6e Removed deprecated methods from WC_Frontend_Scripts and rewrote script registration and localization to run once.
Closes #6338
2014-09-24 10:57:39 +01:00
Mike Jolley 40d73e48d2 Tweak load_plugin_textdomain to be relative - this falls back to WP_LANG_DIR automatically. Can prevent "open_basedir restriction in effect".
@claudiosmweb agree? Load_plugin_textdomain needs a relative path. If
the locale isn’t found, it reverts to WP_LANG_DIR/plugins/ as you coded
it.
2014-09-19 10:29:19 +01:00
Mike Jolley e28cb2bb18 Version bump 2014-09-18 13:39:02 +01:00
Mike Jolley affb65cfa8 2.2.3 version bump 2014-09-16 13:27:12 +01:00
claudiosmweb b04786b18e fixed WC_LOG_DIR path 2014-09-10 19:59:56 -03:00
Mike Jolley 3a4ba6e4c8 For regular products, ensure stock level saves on product creation. 2014-09-10 23:55:40 +01:00
claudiosmweb 17f0168e8b fixed the "open_basedir restriction in effect" error caused by WC_LOG_DIR 2014-09-10 19:36:57 -03:00
Mike Jolley 87c641bcd7 Stop old plugins breaking installer read me
= 2.2.1 - 10/09/2014 =
* Fix - Small tweak to the installer to prevent errors caused by
outdated plugins.
* Tweak - Small tweak to update notification to remind users to update
old plugins prior to install.
2014-09-10 17:42:17 +01:00
Barry Kooij 9d3bcfd8d2 Removing RC1 from version. 2014-09-10 15:37:17 +02:00
Mike Jolley a187d29242 Update support links and read me versions/text 2014-09-08 16:19:25 +01:00
Mike Jolley 177dc3bb51 Tested upto 2014-09-08 12:18:15 +01:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley 1d13f767b3 Merge pull request #6157 from tamarazuk/coding-standards
Coding standards Part 1
2014-09-03 17:05:42 +01:00
claudiosmweb 54aa162fb4 renamed the simplify "subscriptions" class to "addons" 2014-09-02 10:21:42 -03:00
Tamara Zuk 59424e5fcf Coding Standards: Main plugin file
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 01:41:40 -04:00
shivapoudel a5fdf5aa76 Moved the action_links from final class to WC_INSTALL class 2014-08-29 23:19:01 +05:45
shivapoudel 5151e15da0 WC_PLUGIN_BASENAME Constant define 2014-08-29 23:11:39 +05:45
shivapoudel dad2796b02 Added the use of home_url() 2014-08-28 02:09:45 +05:45
Mike Jolley 7a267d2e31 Simplify Commerce by Mastercard gateway 2014-08-15 11:50:53 +01:00
Alexandru Furculita b5cc17ff1c Update woocommerce.php 2014-08-01 13:49:07 +03:00
Alexandru Furculita bec27af7d2 Update woocommerce.php 2014-08-01 13:43:39 +03:00
Mike Jolley 81d882d34a Include template functions after the theme is loaded, but before init.
Fixes conflicts with plugins (#5884) when they output content before
init.

2.2 has no fatal error as reported in #5884
2014-07-31 07:47:55 +01:00
Max Rice 51f71cfade Load webhooks on each page load
Part of #5564
2014-07-30 16:27:50 -04:00
Coen Jacobs 86a4add087 Merge remote-tracking branch 'upstream/master' into order-factory-refactor
Conflicts:
	includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
Mike Jolley edd655d4d9 WC_TEMPLATE_PATH filter was renamed by accident in a previous version. Should be woocommerce_template_path
https://github.com/woothemes/woocommerce/commit/e143d344e582c688cd0e4562
86bfe50c690077c9
2014-06-23 16:31:49 +01:00
Mike Jolley 8f6c4cbeb4 WC_TEMPLATE_PATH after setup theme
Closes #5495
2014-06-23 16:29:15 +01:00
Alexandru Furculita 43423a0c2e Update woocommerce.php 2014-06-19 15:43:10 +03:00
Coen Jacobs 476870d9f2 Created WC_Abstract_Order, extended by WC_Order 2014-06-13 15:37:20 +02:00
Mike Jolley ded4b7404d Admin changes for #5046
- Removed post type classes. Since they were always loaded, there was
no benefit having them split up. Combined meaning less hooked in
methods.
- Stopped loading some function files and sessions in the admin area.
They are not needed there.
- Made a few admin page classes static as they are stateless
2014-06-04 11:16:19 +01:00
claudiosmweb cf1c0aaeaf fixed the translation load 2014-05-29 17:06:03 -03:00
claudiosmweb 62ed150782 created the language pack upgrader 2014-05-28 13:06:00 -03:00
Mike Jolley 1ed0938581 [2.2] Log changes Closes #4926
Added WC_LOG_DIR constant
Added log viewer
Changed default logging directory to 1 up from ABSPATH inside wc-logs
2014-05-28 11:12:38 +01:00
Coen Jacobs 4afeb7926c Merge branch 'refs/heads/2.1'
Conflicts:
	i18n/languages/woocommerce-admin.pot
	i18n/languages/woocommerce.pot
	includes/class-wc-form-handler.php
	package.json
	readme.txt
	templates/checkout/form-shipping.php
	templates/emails/email-addresses.php
	woocommerce.php
2014-04-10 16:42:08 +02:00
Mike Jolley da0758696c Version bump 2014-04-10 14:39:56 +01:00
Coen Jacobs 2850b07f8e This branch is now 2.1.7-bleeding 2014-03-25 16:09:22 +01:00
Coen Jacobs 95065b65ca Version bump for 2.1.6 2014-03-25 15:33:49 +01:00
Mike Jolley e41f9d3ad5 Tweak auto load to find admin classes #5041 2014-03-24 12:09:09 +00:00
Mike Jolley f1c69b6355 Tweak auto load to find admin classes #5041 2014-03-20 15:30:23 +00:00
Coen Jacobs 911f7f8a46 This branch is now 2.1.6-bleeding 2014-03-06 17:49:47 +01:00
Coen Jacobs 895759954e Version bump to 2.1.5 2014-03-06 17:32:08 +01:00
Coen Jacobs f6ca02e099 This branch is now 2.1.5-bleeding 2014-03-05 13:43:11 +01:00
Coen Jacobs f101e15504 WC 2.1.4 stable tag bump 2014-03-05 11:35:20 +01:00
Mike Jolley d60e98aefb load_textdomain first 2014-03-05 11:33:34 +01:00
Mike Jolley 7ce36dc881 load_textdomain first 2014-03-05 10:32:44 +00:00
Mike Jolley fc1d4d2580 Remove admin check around global po Closes #5029 2014-03-05 11:04:18 +01:00
Mike Jolley aab4ad52bf Revert load order change #4986 2014-03-05 11:02:53 +01:00
Mike Jolley cd11784be9 Notice functions are 'core' so it makes sense to load session classes 'core' too (not just frontend) 2014-03-05 10:58:36 +01:00
Mike Jolley 7c4c8f50ea Include functions once. Closes #4991 2014-03-05 10:56:23 +01:00
Mike Jolley 4ab4811c57 Remove admin check around global po Closes #5029 2014-03-04 12:42:39 +00:00
Mike Jolley ba927d0bba Revert load order change #4986 2014-03-03 14:47:04 +00:00
Mike Jolley d050cb1b24 Notice functions are 'core' so it makes sense to load session classes 'core' too (not just frontend) 2014-03-03 10:38:42 +00:00
Mike Jolley 0cd4f4c6e0 Include functions once. Closes #4991 2014-02-28 13:55:40 +00:00
Coen Jacobs ac9e85453e This branch is now 2.1.4-bleeding 2014-02-27 17:11:13 +01:00
Coen Jacobs f76dba5abe 2.1.3 version bump 2014-02-27 15:58:57 +01:00
Mike Jolley 55f6620e50 Load frontend lang first, and remove no-longer needed alt_lang loader Closes #4874 2014-02-27 15:29:49 +01:00
Mike Jolley bb8fd9b50d Load frontend lang first, and remove no-longer needed alt_lang loader Closes #4874 2014-02-23 10:55:21 +00:00
Mike Jolley 1f295c9c69 Unify textdomains Closes #4814 2014-02-17 14:27:08 +01:00
Mike Jolley c0c21c8364 Unify textdomains Closes #4814 2014-02-17 13:14:45 +00:00
Coen Jacobs d94a4b70d3 This branch is now 2.1.3-bleeding 2014-02-13 22:50:20 +01:00
Coen Jacobs ffeb88447e Stable tag bumps for 2.1.2 2014-02-13 22:30:12 +01:00
Coen Jacobs b206d96ad7 This branch is now 2.1.2-bleeding 2014-02-12 17:34:04 +01:00
Coen Jacobs 7d0f69841c Version bump for 2.1.1 2014-02-12 16:41:30 +01:00
Mike Jolley 5a79e2a809 verify_nonce should check if variable isset(). Closes #4704 2014-02-11 14:41:17 +01:00
Mike Jolley ddbae4766e verify_nonce should check if variable isset(). Closes #4704 2014-02-11 13:38:53 +00:00
Coen Jacobs d0d68faf31 This branch is now 2.2 bleeding 2014-02-10 15:38:53 +01:00
Coen Jacobs 0951974671 This branch is now 2.1.1 bleeding 2014-02-10 15:36:43 +01:00
Mike Jolley fa54a09948 Version bump 2014-02-10 10:14:11 +00:00
Mike Jolley 21331cbe9c RC2 2014-02-07 13:09:45 +00:00
Mike Jolley 1128b5b9ab Include once #4616 2014-02-05 15:02:15 +00:00
Mike Jolley 65e8794b7f RC1 2014-01-30 15:26:22 +00:00
Mike Jolley ffd1c43b5a 2.1-rc-1 version number 2014-01-30 15:06:12 +00:00
splashingpixels 454b97080a coding standards fixes 2014-01-22 20:36:24 -08:00
Mike Jolley db5dfa0c01 include for class-wc-post-types.php Closes #4504 2014-01-20 15:27:58 +00:00
Mike Jolley c153d00355 Fix woocommerce.php comments and messages fallback 2014-01-20 15:21:50 +00:00
Mike Jolley 0bbb10f1a9 Beta 3 version 2014-01-08 15:30:06 +00:00
Mike Jolley 9cd911ca8f version compare needs this to function 2014-01-03 14:13:18 +00:00
Chuck Mac a17579300e Fixing method call in verify_nonce function 2013-12-15 21:14:16 -05:00
Patrick Rauland 316db6e81d changing standards to always require braces. see #4309 2013-12-08 15:25:57 -06:00
Coen Jacobs c663fc21fc Version bump, hello v2.1-beta-2 2013-12-06 12:16:14 +01:00
Mike Jolley 6db8ac6f6f Made error counts work with new notices api Closes #4201 2013-11-27 16:15:53 +00:00
Scott Basgaard 42f09851af WC_Nonce_Helper is no longer. Use wp_verify_nonce() instead. 2013-11-26 17:52:02 +01:00
Scott Basgaard 2885da4581 "Order again" doesn't work. Proposed pass at fix. 2013-11-26 17:48:39 +01:00
Coen Jacobs 2acc983956 Soft bumping version to beta-1 #4194 2013-11-25 09:29:11 +01:00
Coen Jacobs c0ba1be754 WooCommerce 2.1 requires WordPress 3.8 2013-11-20 11:58:33 +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
Mike Jolley 645ca3e834 WC_Ajax class for ajax events 2013-11-14 12:13:34 +00:00
thenbrent 3fa310969f Introduce new wc_get_notices() function
To replace the deprecated Woocommerce->get_messages() and
Woocommerce->get_errors() functions
2013-11-13 16:09:28 -08:00
thenbrent 001bfab44f Update calls to wc_message_count() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent 6a7a46df9e Update calls to wc_clear_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent 2fcd615f88 Update calls to wc_print_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent e14e3842b0 Update calls to wc_error_count() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent fe44f020e3 Update calls to wc_add_message() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 0d45e19fcf Update calls to wc_add_error() function
Part of #4034
2013-11-12 20:59:39 -08:00
Mike Jolley 3fd02a57d0 Locales - store standardised values, and display using locale in admin #3862 2013-11-12 17:43:30 +00:00
Coen Jacobs 16162ca8db We'll let autoload handle this file loading
Revert: 1428bf8f9c
2013-11-01 21:05:02 +01:00
Coen Jacobs 1428bf8f9c Only load integration abstract when needed #3169 2013-11-01 17:39:33 +01:00
Coen Jacobs ae64e20bb3 Take out default variations #3169 2013-11-01 17:33:33 +01:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley 0d8d95e8e6 total calcs 2013-10-24 13:41:42 +01:00
Mike Jolley 51aba21d76 Rounding + precision for taxes. Store unrounded. Round down (for the moment) for taxes 2013-10-24 13:15:42 +01:00