Commit Graph

18139 Commits

Author SHA1 Message Date
Mike Jolley 51b3e4f213 Use action_args rather than $template variable which could have been overwritten
Co-Authored-By: dinhtungdu <dinhtungdu@gmail.com>
2019-04-02 14:07:48 +01:00
Mike Jolley b1e71074b2
Merge pull request #23174 from szepeviktor/patch-2
Fix stray char in PHPDoc of WC_Coupon
2019-04-01 12:46:28 +01:00
Viktor Szépe 9e7fc0a35d
Fix stray char in PHPDoc of WC_Coupon
`|`
2019-03-30 00:48:17 +01:00
Viktor Szépe bd6a348af5
Fix PHPDoc in WC_Product_Importer
old stuff
2019-03-30 00:35:32 +01:00
Timmy Crawford ae1841a82c
Merge pull request #23162 from thenbrent/fix/23121
Update Action Scheduler to v2.2.3
2019-03-28 07:42:55 -07:00
Brent Shepherd f450c8d92a Remove Action Scheduler development files 2019-03-28 15:33:41 +10:00
Brent Shepherd fbfd91f6b9 Merge commit '2492f1e0ed366694059091f434743f52a6e5202d' as 'includes/libraries/action-scheduler' 2019-03-28 15:31:13 +10:00
Brent Shepherd 3e3d15e6cc Remove non-subtree'd /action-scheduler/ 2019-03-28 15:30:35 +10:00
Timmy Crawford 800ad318e3 OBW: Ensure tracker opt-in is always shown. 2019-03-27 15:29:55 -07:00
Timmy Crawford 4cad501098
Merge pull request #23146 from woocommerce/fix/22695
Update fallback download URL in helper
2019-03-27 15:01:10 -07:00
Timmy Crawford 0b113621a6
Merge pull request #23145 from woocommerce/fix/23107
Introduce `wc_create_new_customer_username` function
2019-03-27 14:59:24 -07:00
Timmy Crawford 9601bc64d1
Merge pull request #23138 from woocommerce/fix/23103
REST API: Adds future status to list of allowed statuses
2019-03-27 13:19:32 -07:00
Timmy Crawford 91d412f150
Merge pull request #23149 from woocommerce/update/23144
Update refund reason to make it clear refunding is manual
2019-03-27 13:18:53 -07:00
Timmy Crawford eb106853c5
Merge pull request #23156 from woocommerce/fix/23121
5.2 fix from ActionScheduler
2019-03-27 13:18:14 -07:00
Rodrigo Primo cbf6149cb9
Merge pull request #23069 from woocommerce/fix/23061
Variation stock status field handling (displaying/hiding when needed)
2019-03-27 14:51:26 -03:00
Rodrigo Primo 5d8ca32789
Merge pull request #23131 from woocommerce/fix/23118
`WC_Ajax::add_variation` force variable product type
2019-03-27 14:20:35 -03:00
Mike Jolley 4d5cda49c2 Hotfix for AS
Pulls in the fix from https://github.com/Prospress/action-scheduler/pull/268
2019-03-27 14:45:36 +00:00
Timmy Crawford 5a33e13432
Merge pull request #23151 from woocommerce/fix/emogrifier-conflict
Update Emogrifier class and usage
2019-03-27 07:27:14 -07:00
Mike Jolley ad49085571 Append random number to reduce recusion 2019-03-27 12:22:15 +00:00
Mike Jolley ded4f8bf3e Use string to avoid 5.2 warning 2019-03-27 11:35:45 +00:00
Timmy Crawford 8b24528b16
Merge pull request #23102 from woocommerce/update/prevent-fatal-errors-when-extending-rest-api
If someone tries to load WC_REST class to early, throw notice
2019-03-26 17:19:06 -07:00
Mike Jolley ea19f732fd min/max functions instead of orderby 2019-03-26 14:41:27 +00:00
Mike Jolley b09a5f8003 Update Emogrifier 2019-03-26 14:24:21 +00:00
Mike Jolley c79e3ad8f1 Detect all rest endpoints, not just wc/ 2019-03-26 14:06:22 +00:00
Mike Jolley bdc009cfbf Update refund reason to make it clear refunding is manual 2019-03-26 12:46:27 +00:00
Mike Jolley 3a8c3b3813 Update download URL in helper 2019-03-26 11:36:41 +00:00
Mike Jolley 2b8f8e38d1 wc_create_new_customer_username function 2019-03-26 11:09:37 +00:00
Mike Jolley 8aeff9bb2f Adds future status to list of allowed statuses 2019-03-25 15:19:48 +00:00
Mike Jolley 58651e8a2a When moving data for lookup tables, avoid orderby 2019-03-25 14:23:36 +00:00
Mike Jolley 174ca94b79 WC_Ajax::add_variation - force variable product type 2019-03-25 11:56:48 +00:00
Kelly Dwan 8c109f7925 Shortcut out if we see the feature plugin, v1.4 or below 2019-03-22 10:48:06 -04:00
Mike Jolley 8ad8a4efa5 Deprecation functions should not output errors during REST requests. 2019-03-21 16:26:33 +00:00
Mike Jolley 3ff2c2f053 If someone tries to load WC_REST class to early, throw notice and include rest api classes 2019-03-21 15:38:29 +00:00
Mike Jolley 97f30e7f5c Variation stock status handling 2019-03-18 12:56:49 +00:00
Mike Jolley 986375862e
Merge pull request #23057 from freer4/patch-1
Allow extension of WC_Breadcrumb class
2019-03-18 11:38:01 +00:00
Mike Jolley 4130f737fc Merge branch 'master' of https://github.com/woocommerce/woocommerce 2019-03-18 10:59:58 +00:00
Mike Jolley 4d975a6e62 Merge branch 'pr/23054' 2019-03-18 10:59:55 +00:00
Mike Jolley cbb92ef86c combine check 2019-03-18 10:59:43 +00:00
Mike Jolley 37bc893aba
Merge pull request #23039 from woocommerce/update/plugin-rating-notice-text
Update the rating request text in the footer to be friendlier for screen reader users
2019-03-18 10:38:53 +00:00
Gerhard a7571c71c1 Fix typo in lookup table notice markup 2019-03-18 10:11:05 +02:00
freer4 701d92233c
Allow extension of WC_Breadcrumb class
Changing the private class methods to protected allows extending the class to work with the built-in functionality. 

The desired effect - removing the "Shop" crumb - was not possible with the few filters available interspersed in this class. 

After much hair-pulling over the simple task of excluding one breadcrumb and the stubborn refusal to copy-pasta the entire class into my theme, I choose to extend the WC_Breadcrumb class to override the already-public add_crumb method. Without access to the other methods on the class, this was futile. 

There are several asks around the web for removing or updating the breadcrumbs. The accepted answer to these appears to be to "just hide it with CSS" which is a poor workaround.
2019-03-17 02:43:00 -04:00
Silicon Forks 19a7bb82a0 Fix image regeneration check when image is not cropped
Resolves #21800.
2019-03-16 12:39:40 -03:00
Kelly Dwan 3f5aaad117 Update @woocommerce/block-library to 2.0.0-rc1 2019-03-15 13:06:38 -04:00
Kelly Dwan b066922c40 Update the rating request text in the footer to be friendlier for screen reader users 2019-03-15 12:05:27 -04:00
Claudio Sanches a425e92672 Removed legacy "Orders index" tool 2019-03-15 11:34:32 +00:00
Mike Jolley ccc5805632 Use secure and http cookies 2019-03-15 11:34:10 +00:00
Mike Jolley bd34e89314 Merge branch 'pr/23035' 2019-03-15 11:25:10 +00:00
Mike Jolley 0ae50509ce code standards 2019-03-15 11:25:04 +00:00
Timmy Crawford e1c09b4609
Merge pull request #22973 from woocommerce/update/22545
Revised sale start/end date save logic
2019-03-14 17:53:40 -07:00
Claudio Sanches d365497a66 Fixed coding standards 2019-03-14 19:48:47 -03:00