Commit Graph

729 Commits

Author SHA1 Message Date
Mike Jolley 257010695e Readme, versions, develop blog links 2015-08-10 10:39:08 +01:00
Claudio Sanches a314726c3c 2.4.0-RC1 2015-07-30 21:54:35 -03:00
Claudio Sanches 2c12c3de24 2.4.0-beta-4 2015-07-27 18:55:08 -03:00
Mike Jolley 3e8228161d Load session during cron, but not other frontend classes
Closes #7183 @claudiosmweb
2015-07-16 17:32:31 +01:00
Claudio Sanches 873dc202a0 Beta 3 2015-07-15 16:40:40 -03:00
Mike Jolley 626b6c68ae Correct version 2.4.0-beta-2 2015-07-15 11:31:20 +01:00
Mike Jolley 622b11ae9f Add version check to prevent pre-2.4 logic kicking in when not needed
@claudiosmweb
2015-06-16 15:10:53 +01:00
Mike Jolley 68974655d6 Tweak visible child product query and cache 2015-06-08 13:18:23 +01:00
Claudio Sanches 95a4133bb7 Removed WooCommerce::fix_server_vars, closes #14 2015-06-01 13:37:33 +01:00
Claudio Sanches db23f5faa0 Create initial WC_Auth class and endpoint 2015-04-17 17:41:25 -03:00
Mike Jolley ad6c173757 WC_DISCOUNT_ROUNDING_MODE half down 2015-04-10 10:28:30 +01:00
Mike Jolley 21c5513526 Added endpoint for faster ajax requests 2015-03-20 12:28:26 +00:00
Mike Jolley e7429e24de This branch is 2.4.0-dev 2015-03-16 12:17:13 +00:00
Mike Jolley f4ebee3fd0 Version bump 2015-03-13 10:45:37 +00:00
Mike Jolley 2335b413c4 include_template_functions at all times
Fixes #7581

Adds little to no overhead.
2015-03-02 13:31:55 +00:00
Mike Jolley ec81ed8312 Version bumps 2015-02-20 16:19:39 +00:00
Mike Jolley e1b844e449 Readme 2015-02-13 17:08:08 +00:00
Mike Jolley accdf17f3c Version bump 2015-02-12 16:41:13 +00:00
Mike Jolley a80d069a21 Version bump 2015-02-12 00:39:58 +00:00
Mike Jolley 9330f8ccd6 Readme + version 2015-02-11 18:10:37 +00:00
Mike Jolley 8c4ae7e43a Changelog + date 2015-02-11 12:32:02 +00:00
Claudio Sanches b625097fec Version 2.3.0 2015-02-11 10:23:57 -02:00
Mike Jolley 57b8d6c700 Version bump + pot 2015-02-03 16:43:05 +00:00
Mike Jolley 92fb6a4915 version bump 2015-01-30 16:08:14 +00:00
Claudio Sanches 9e3135528f POT files to 2.3-beta-3 2015-01-30 14:06:22 -02:00
Mike Jolley 64775e92f1 Someone forgot to bump the version 2015-01-28 19:46:09 +00:00
Mike Jolley 74e44b55c7 Revert plugins_loaded idea (@725d5e2) until 2.4 so devs can be warned. #blameclaudio
Keeping the methods and small tidyup.
2015-01-28 18:01:30 +00:00
Mike Jolley 725d5e28d8 Additional tweaks to @b2c573ed8a04a8d425a73e018a450179514cbdc7
- Load API with other includes
- Register activation hook early
- Include autoloader early

cc @claudiosmweb
2015-01-28 17:50:58 +00:00
Mike Jolley b2c573ed8a Rather than include all files on construct, include files after plugins_loaded
This ensures functions intended to be pluggable actually are, and
prevents race conditions. Seen some authors mess with the plugin load
order to work around this and it’s horrible.

This hook has priority 5 to ensure existing plugins using WC
functionality on plugins_loaded do not break.

cc @claudiosmweb @barrykooij
2015-01-28 17:15:48 +00:00
Claudio Sanches b61cd62a07 Fixed docblocks for WooCommerce::is_request() 2015-01-23 16:39:49 -02:00
Claudio Sanches 560d7d24ee Fixed the tracking opt-out 2015-01-23 15:20:09 -02:00
Mike Jolley 5ffaf97397 Only load tracking during cron and move notices to notices class 2015-01-23 16:36:52 +00:00
Gerhard d09df4fc0f Merge branch '6711-opt-in-tracking' 2015-01-23 17:31:01 +02:00
Gerhard 8610ca6aef Merge branch 'master' into 6711-opt-in-tracking
Conflicts:
	includes/admin/class-wc-admin-status.php
2015-01-23 17:30:11 +02:00
Mike Jolley 2d707689d9 Add transient cache to webhooks Closes #7184 2015-01-23 13:28:30 +00:00
Mike Jolley e7b4ecfbdc Don't load frontend files during cron Closes #7183 2015-01-23 11:14:30 +00:00
Mike Jolley 1777913741 Readme 2015-01-13 16:12:54 +00:00
Claudio Sanches d3bf31664d Removed var_dump in woocommerce.php
cc @mikejolley
2015-01-05 14:36:54 -02:00
Mike Jolley 4c2ff13f6c api_request_url support for urls containing index.php
Closes #6832
2015-01-05 16:33:12 +00:00
Mike Jolley 56c752ed22 Include geolocation class 2014-12-23 18:50:20 +00:00
Claudio Sanches b247997bd2 Created method to get the webhook statuses 2014-12-16 18:54:48 -02:00
Gerhard a33400db9f Add tracker class to includes. 2014-11-26 21:36:14 +02:00
Mike Jolley 67d899da3a Restore __Get and move template debug mode to template functions 2014-11-26 00:03:00 +00:00
Mike Jolley 0d4d6fdcaf WC class cleanup 2014-11-26 00:03:00 +00:00
Mike Jolley 1c88e35c45 Remove deprecated 2.1 methods from WC class.
@claudiosmweb  :)
2014-11-25 17:35:48 +00:00
Mike Jolley dd53f8e730 Move widget registration to own function/file - avoid register_widget in class files 2014-11-20 20:56:24 +00:00
Mike Jolley 6750e47e0c Naming inconsistency 2014-11-19 22:53:05 +00:00
Mike Jolley 856154b574 Method for defining constants (once) 2014-11-19 22:50:13 +00:00
Mike Jolley fe6796cf30 pointless else clause 2014-11-19 22:42:03 +00:00
Mike Jolley d3dc8be3ec Undo commit which autoloaded widgets
Since they are loaded every time with core, it doesn’t make sense to
autoload them.
2014-11-19 18:08:38 +00:00
Mike Jolley 207e7d899a load_plugin_textdomain - WP_LANG_DIR does not have trailing slash 2014-11-19 18:08:38 +00:00
Nicola Mustone 011bb0a784 Added cancelled order admin email 2014-10-29 15:05:43 +01:00
Mike Jolley d53d61dc03 Split setup_environment() 2014-10-27 15:00:14 +00:00
Kathy Darling 1320f7421b add filter for woocommerce_email_actions 2014-10-21 11:52:07 +02:00
scottdurban f7a23bf127 Add 'woocommerce_order_status_on-hold_to_processing', to $email_actions
This addition would stop users from editing the core, as there is currently no eloquent way to edit the $email_actions array. Especially useful for creating email notifications for confirming payment (BACS).
2014-10-15 16:21:46 +02:00
Barry Kooij 1af26ce928 Moved the wc-logs folder to the WP uploads folder.
Fixes #6509
2014-10-14 14:29:56 +02:00
Mike Jolley 1ed7079472 Bump master version to 2.3-bleeding 2014-10-08 15:07:12 +01:00
Mike Jolley d1de7f42b9 Made template debug mode set WC_TEMPLATE_DEBUG_MODE constant and remove all overrides for all template loading functions.
Closes #6436
2014-10-03 10:52:11 +01:00
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