Mike Jolley
59c97539b3
Trigger loaded hook once plugins are loaded.
2019-01-23 16:20:26 +00:00
claudiulodro
3c3894b676
Bump wc_version since 3.6 development has begun
2019-01-02 12:11:35 -08:00
Tiago Noronha
3168f13d9d
Skeleton for Twenty Nineteen integration
2018-11-16 16:38:05 +00:00
Peter Fabian
cf3f54ec64
Made tax display in cart depend on whether customer is tax exempt.
2018-09-06 17:40:21 +02:00
Brent Shepherd
d9158a8c0e
Add WC_Queue and WC()->queue() wrapper for accessing it
...
To take care of instantiating a canonical job queue for use across
all of WooCommerce, and by 3rd party code.
Also use this new API for enqueuing webhooks instead of raw Action
Scheduler APIs.
2018-07-31 12:21:07 +10:00
Brent Shepherd
0611ff7665
Add WC_Action_Queue
...
As a wrapper for Action Scheduler. This implements the WC_Queue_Interface
so it can be used as WC core's job queue. Implementing WC_Queue_Interface
also means this class has more generic and appropriate job queue nomenclature
than Action Scheduler itself. For exsample, it provides a method for
non-delayed jobs, i.e. WC_Queue_Interface::add(), unlike Action Scheduler,
which requires scheduling a job for now(), which while fairly simple, is not
intuitive or immediately obvious to new comers.
This makes it both more clear and convenient to use Action Scheduler
as a simple job queue instead of just a queue for delayed jobs.
2018-07-31 12:21:04 +10:00
Brent Shepherd
8e4466c9c8
Add WC_Queue_Interface
...
To provide an agreed set of public methods that need to be defined
for any class wanting to act as WooCommerce's queue handler.
The require APIs support both delay jobs, by providing APIs to
schedule an action/job/event for some time in the future, and a
non-delayed job API, to add an event to the queue to run as soon
as possible.
2018-07-31 12:20:30 +10:00
Brent Shepherd
e00e728f1f
Merge branch 'master' into issue_18003
2018-07-25 14:41:56 +10:00
Brent Shepherd
67744b7768
Add 'woocommerce_shutdown_error' action
2018-07-13 17:08:34 +10:00
Brent Shepherd
febea645f9
Log error's file and line number
...
To help with debugging.
2018-07-13 14:23:17 +10:00
Brent Shepherd
0c17fd49e4
Expand error logging to E_ERROR like errors
...
Including those triggered by code via trigger_error() and compile-time
parse errors (including those generated by Zend Scripting Engine).
2018-07-13 14:21:03 +10:00
Brent Shepherd
b4c7e590b1
Load Action Scheduler lib
2018-07-06 15:41:22 +10:00
Mike Jolley
245e1768f9
Bump version so update routine gets triggered in master
2018-06-19 15:34:45 +01:00
Mike Jolley
3a673aa4e9
Merge pull request #20000 from woocommerce/update/19983
...
Exclude frontend include from REST API calls
2018-05-24 17:11:27 +01:00
Mike Jolley
9c2edf4983
Moves around some includes so they are included before the autoloader needs to find them
2018-05-22 12:57:48 +01:00
Mike Jolley
5de4f281fe
Exclude frontend include from REST API calls
2018-05-08 12:09:04 +01:00
Boro Sitnikovski
92cd1ec0d8
Abstract out privacy class so that extensions can easily re-use it
2018-04-25 02:13:59 +01:00
Mike Jolley
9dfb91835e
Merge branch 'master' into update/gdpr-order-cleanup
2018-04-18 11:21:43 +01:00
claudiulodro
f9e45bea91
Bring up-to-date with master and resolve merge conflicts
2018-04-17 13:27:39 -07:00
Mike Jolley
77b73e05c8
Trigger updater
2018-04-17 16:16:11 +01:00
Mike Jolley
314d949d2c
Background process to cleanup
2018-04-17 15:21:03 +01:00
Mike Jolley
6598f6dc61
Basic privacy class from #19330
2018-04-17 12:25:03 +01:00
Claudio Sanches
7978671dd0
Fixed includes/class-woocommerce.php coding standards
2018-03-21 00:22:29 -03:00
Rodrigo Primo
818819d0ff
Rename class-wc-order-item-product-store.php to class-wc-order-item-product-data-store.php
...
To match WP coding standards
2018-03-08 16:30:33 -03:00
Mike Jolley
e8e5b40ba8
Just a basic class
2018-03-07 13:45:25 +00:00
Mike Jolley
2f0e88f7ba
Improved photon handling
2018-02-14 13:20:34 +00:00
Mike Jolley
66e65cf7bf
Disable image regen if photon is being used.
2018-02-14 11:38:18 +00:00
Mike Jolley
9f9e4027e9
Thumbnail mapping
2018-02-13 12:51:55 +00:00
Mike Jolley
9499b63e01
Register gallery_thumbnail size
2018-02-13 11:16:42 +00:00
Caleb Burks
c21cc2e8fe
Replace “Cheatin’ uh?” with friendlier messages
2018-02-07 17:01:12 -05:00
Mike Jolley
35265cdf08
Prevent warning when height is empty
2018-02-07 12:14:07 -08:00
Mike Jolley
c8b14b6f76
Increase precision from 4 to 6
2018-01-30 15:00:53 +00:00
Mike Jolley
674145a2e7
Tweak intermediate sizes
2018-01-25 17:27:50 +00:00
Tiago Noronha
149ff95e8a
Move custom image sizes registration to the init hook
2018-01-23 12:56:37 +02:00
Shiva Poudel
0ec0ca29a2
Only load session handler class on frontend not during cron
...
Ref: #18193
CC @mikejolley
2017-12-21 10:16:13 +05:45
Mike Jolley
15089fc432
Added init method and phpcs changes.
2017-12-15 15:13:24 +00:00
Mike Jolley
b84f9fa112
A session should not be generated on cron requests.
2017-12-15 15:13:06 +00:00
Gerhard Potgieter
4ba9af1c2f
Change WC::is_active_theme into a global function wc_is_active_theme. Clean up the conditional checks to read better.
2017-12-15 14:32:54 +02:00
Gerhard Potgieter
2907725e5c
Display storefront theme in wizard when theme does not support woocommerce, or a default theme.
...
Closes #18182
2017-12-15 10:23:31 +02:00
claudiulodro
1cf31daf39
Rename customizer class to prevent class name collisions
2017-12-12 14:01:34 -08:00
Claudio Sanches
2f6f6112c2
Merge branch 'master' into feature/webhook-crud
2017-12-07 18:21:52 -02:00
claudiulodro
d60456cc73
Resolve conflicts and bring up to date with master
2017-12-04 13:56:59 -08:00
Claudio Sanches
13978e496b
Merge branch 'master' into feature/webhook-crud
2017-11-20 10:34:35 -02:00
Mike Jolley
97d9a35437
Merge branch 'feature/regenerate-images'
...
# Conflicts:
# includes/class-woocommerce.php
2017-11-17 12:12:35 +00:00
Claudio Sanches
9fe0c7261e
Merge branch 'master' into feature/webhook-crud
2017-11-16 12:20:22 -02:00
Mike Jolley
79d918d33e
Merge branch 'feature/unsupported-theme' into update/move-settings-to-customizer-17148
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/woocommerce-rtl.css
# assets/css/woocommerce.css
2017-11-14 16:02:02 +00:00
Mike Jolley
bc16a85d22
Cropping settings
2017-11-14 16:01:36 +00:00
Gerhard Potgieter
016cfabb75
On the fly image regeneration.
2017-11-14 14:39:28 +02:00
Mike Jolley
286d04153c
Add class to handle changes
2017-11-14 12:08:57 +00:00
Mike Jolley
3e7968d37b
Merge branch 'master' into pr/16418
2017-11-13 14:37:18 +00:00