Mike Jolley
4eaf1afb88
Cleanup session callback.
2017-12-15 15:14:05 +00:00
Mike Jolley
df04d0c4a2
phpcs
2017-12-15 15:13:48 +00:00
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
Mike Jolley
01871fd2c8
Add getter for tax_display_cart variable, with filter
2017-12-15 13:39:35 +00:00
Mike Jolley
47b39caf83
phpcs
2017-12-15 13:19:23 +00:00
Mike Jolley
ea8681280a
Only get ID when it's not empty so 0 and '' is ignored
2017-12-15 12:59:54 +00:00
Mike Jolley
fd2c676837
Merge pull request #18184 from woocommerce/fix/18182-storefront-wizard-notice
...
Storefront in wizard for non WC themes and default themes
2017-12-15 12:51:19 +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
Mike Jolley
7c029d18e9
Merge pull request #18186 from woocommerce/fix/no-strict-array-select-settings
...
Option value comparison when saving select settings
2017-12-15 12:18:26 +00:00
Gerhard Potgieter
89d21a50a4
Convert allowed options to string values for comparison, html options have no data type distiction.
2017-12-15 13:39:05 +02:00
Gerhard Potgieter
30398a65f1
Do not use strict comparison when doing in_array on select settings as wp_unslash on the raw_value will return a string that fails comparison with int values.
2017-12-15 13:21:01 +02:00
Mike Jolley
d14d3afc2e
Merge pull request #18162 from WPprodigy/downloads-logging-enhancements
...
[3.3] New download logging reports enhancements
2017-12-15 11:09:21 +00:00
Caleb Burks
5130740aca
Escaping
2017-12-15 04:26:22 -06: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
Claudiu Lodromanean
204a990976
Merge pull request #18173 from woocommerce/fix/18168
...
Add ID orderby fallback for when prices are the same across multiple products.
2017-12-14 09:16:37 -08:00
Claudiu Lodromanean
5bf6ff0d48
Merge pull request #18172 from woocommerce/fix/18164-includes
...
Only show includes text when there are taxes
2017-12-14 09:14:38 -08:00
Claudiu Lodromanean
9cfc587d2e
Merge pull request #18160 from WPprodigy/hide-stock-status-on-variations
...
[3.3] Hide variation stock status setting conditionally
2017-12-14 09:05:01 -08:00
Mike Jolley
e3b61f6203
Merge pull request #18151 from woocommerce/fix/18149
...
Save offline gateways in wizard
2017-12-14 16:45:20 +00:00
Mike Jolley
9bf677d48d
Merge pull request #18143 from woocommerce/fix/18142
...
Fix order of functions in wc_get_post_data_by_key
2017-12-14 16:42:21 +00:00
Mike Jolley
1555507756
Merge pull request #18123 from woocommerce/update/setup-wizard-omit-paypal-standard
...
Setup wizard: Omit PayPal Standard unless plugins cannot be installed
2017-12-14 16:42:03 +00:00
Mike Jolley
5ed3c9e37e
Adjusts price filter code to exclude taxes to match how prices are stored in the DB
2017-12-14 15:21:49 +00:00
Mike Jolley
a1f5e2be95
Merge pull request #18163 from woocommerce/fix/plugin-override-warnings
...
Fix warning for plugins that override this method with the specified …
2017-12-14 14:48:39 +00:00
Boro Sitnikovski
59c1aa0928
Add since tag
2017-12-14 15:43:35 +01:00
Boro Sitnikovski
080ece9588
Change method name
2017-12-14 15:37:42 +01:00
Mike Jolley
1df3af081c
Add ID orderby fallback for when prices are the same across multiple products.
2017-12-14 14:17:20 +00:00
Mike Jolley
a6594d6880
Only show includes text when there are taxes
2017-12-14 14:04:20 +00:00
Mike Jolley
bfe7b835a3
Merge pull request #18157 from WPprodigy/customizer-string-updates
...
[3.3] Customizer string updates
2017-12-14 13:00:09 +00:00
Mike Jolley
3204e39a90
Merge pull request #18156 from WPprodigy/fix-18155-image-cropping
...
[3.3] Use correct image options in customizer settings
2017-12-14 12:56:52 +00:00
Shiva Poudel
3353505be5
Tweak - Duplicate relevance orderby for catalog
2017-12-14 15:37:12 +05:45
Boro Sitnikovski
e1b753122e
Deprecate the function as a whole
2017-12-14 10:23:51 +01:00
Boro Sitnikovski
e061cb122c
Fix warning for plugins that override this method with the specified parameter
2017-12-14 10:09:25 +01:00
Caleb Burks
b8e208269e
Adjust download reporting active filters display
2017-12-14 00:13:53 -06:00
Caleb Burks
76a2e5fe87
Capitalization fix
2017-12-13 23:59:20 -06:00
Caleb Burks
cb154b5d40
Add button for copying DL link
2017-12-13 23:57:47 -06:00
Caleb Burks
345376bc20
Add customer download report section
2017-12-13 23:29:12 -06:00
Caleb Burks
c7f5ee97db
Hide variation stock status setting conditionally
2017-12-13 22:38:03 -06:00
Caleb Burks
fdd6e8be15
Update image descriptions
2017-12-13 21:22:38 -06:00
Caleb Burks
ca0a921dbf
Change Product Grid to Product Catalog
2017-12-13 21:04:52 -06:00
Caleb Burks
75dd3f1abf
Update some text strings for clarity
2017-12-13 21:01:40 -06:00
Caleb Burks
1b64314e35
‘Show subcategories’ is the better text to use
2017-12-13 20:49:47 -06:00
Caleb Burks
6902e2517b
Update correct image options
2017-12-13 20:41:53 -06:00
claudiulodro
cf86647de3
Save offline gateways in wizard
2017-12-13 13:38:33 -08:00
Beka Rice
f0a33bfa79
[WC 3.3] Fix fatal if gateway is deactivated
2017-12-13 13:59:07 -05:00
claudiulodro
5aab643146
Fix parens
2017-12-13 09:56:01 -08:00
claudiulodro
2a17ad9a2b
Flip arguments to prevent errors when key doesn't exist
2017-12-13 09:54:35 -08:00
Claudiu Lodromanean
1296d6e087
Merge pull request #18141 from woocommerce/helper-connect-prompt
...
Helper: Prompt connection to WooCommerce.com for updates/support
2017-12-13 09:43:41 -08:00
Claudiu Lodromanean
7d0d96f6ee
Merge pull request #18139 from woocommerce/fix/18126
...
Fix offline payments expand icon in Firefox and other standards compliant browsers
2017-12-13 09:40:24 -08:00
Konstantin Kovshenin
1928a9cbf6
Helper: Prompt connection to WooCommerce.com for updates/support
...
A persistent prompt for users to connect their store to their
WooCommerce.com account, if they happen to have one or more active
extensions provided by WooCommerce.com.
Fixes #17501
2017-12-13 19:34:44 +03:00
Mike Jolley
755647ec5c
Improve subcat display to see if subcats can actually be displayed
2017-12-13 15:46:09 +00:00
Paul Dechov
8f3de46637
Merge branch 'master' into update/setup-wizard-omit-paypal-standard
2017-12-13 09:41:25 -05:00
Paul Dechov
d7ae29fe51
Fix UK country code in Square support check
2017-12-13 09:37:15 -05:00
Paul Dechov
f4c557a9be
Add test verifying that the correct list of payment gateways is returned per country
2017-12-13 09:35:43 -05:00
Mike Jolley
71c9025709
Updates CSS for chevron to work across browsers - input::before is not supported in Firefox.
2017-12-13 14:30:00 +00:00
Mike Jolley
a42ba4607e
Merge pull request #18060 from woocommerce/fix/17915
...
Background processing; multisite should process current blog queue only
2017-12-13 12:38:19 +00:00
Mike Jolley
f2471aea16
Merge pull request #18122 from woocommerce/update/setup-wizard-ppec-settings-description
...
Setup wizard: omit unnecessary sentence from PPEC settings description
2017-12-13 12:33:00 +00:00
Rodrigo Primo
1b6c5fb9b2
Merge pull request #18098 from woocommerce/update/orders-list-table-phpcs
...
Fix PHPCS violations on class-wc-admin-list-table-orders.php
2017-12-13 10:21:47 -02:00
Rodrigo Primo
e5160b28a9
Manually fix some PHPCS violations
2017-12-13 09:41:34 -02:00
Gerhard Potgieter
f0846af533
Merge pull request #18124 from n-dawson/fix-exported-count
...
Fix calculation of total rows exported
2017-12-13 13:13:52 +02:00
Paul Dechov
b1b604b401
Fix stripe being shown in Klarna and Square cases regardless of Stripe support
...
No difference in practice, since I believe all Klarna and Square countries are supported by Stripe, but for robustness this should be explicitly checked.
2017-12-12 20:39:04 -05:00
Paul Dechov
b26a3ca1a2
Fix 'Klarna Payments' name
2017-12-12 20:22:01 -05:00
Paul Dechov
4511c5ae12
Make PPEC opt-out in every case
2017-12-12 20:21:21 -05:00
Paul Dechov
1706c3e152
Refactor 'get_wizard_in_cart_payment_gateways' function
...
Extract function that returns all possible in-cart gateways, and tighten the logic overall.
2017-12-12 20:20:26 -05:00
claudiulodro
1cf31daf39
Rename customizer class to prevent class name collisions
2017-12-12 14:01:34 -08:00
Frédéric Demarle
52d7d136d6
Remove useless translators comment
2017-12-12 20:49:10 +01:00
Nathan Dawson
28a54fe983
Fix calculation of total rows exported
2017-12-12 19:33:48 +00:00
Paul Dechov
080c5b50e7
Omit PayPal Standard unless plugins cannot be installed
2017-12-12 14:04:36 -05:00
Paul Dechov
200c6780e9
Setup wizard: omit unnecessary sentence from PPEC settings description
2017-12-12 13:57:46 -05:00
Claudiu Lodromanean
7a726123ce
Merge pull request #18119 from woocommerce/fix/18104
...
Filter passed images before processing.
2017-12-12 10:21:05 -08:00
Claudiu Lodromanean
71647c1b9e
Merge pull request #18120 from woocommerce/fix/18117
...
Only resize WC image sizes.
2017-12-12 10:16:39 -08:00
Mike Jolley
a89b8cd707
Update the logo in the wizard
2017-12-12 17:38:10 +00:00
Mike Jolley
3bc102b72f
Only resize WC image sizes.
2017-12-12 17:24:52 +00:00
Mike Jolley
e2f0126936
Filter passed images before processing.
2017-12-12 17:08:01 +00:00
claudiulodro
4af3f9f12f
Add class back to paypal in wizard
2017-12-12 08:24:35 -08:00
Claudiu Lodromanean
07b40a6d99
Merge pull request #18108 from WPprodigy/more-customizer-things
...
Move some display settings to the customizer
2017-12-12 07:40:35 -08:00
Mike Jolley
91803be50c
Fix install_actions action name
2017-12-12 11:42:59 +00:00
Caleb Burks
a4f9d1e65a
Docs update
2017-12-11 23:42:48 -06:00
Caleb Burks
2b2a0016d3
Move early return
2017-12-11 22:36:39 -06:00
Caleb Burks
53873857ef
Move three display settings to customizer
2017-12-11 22:30:14 -06:00
Caleb Burks
a767f11473
Product Grid settings should only show someimtes
2017-12-11 21:22:28 -06:00
Caleb Burks
af4d7c6bcb
Change filter to action
2017-12-11 21:09:16 -06:00
Caleb Burks
ea29af1ac4
Use woocommerce_thumbnail_cropping_custom_height
2017-12-11 21:08:48 -06:00
Claudiu Lodromanean
6520ea493d
Merge pull request #18099 from aelia-co/fix-legacy_api-use_edit_context_when_setting_prices
...
Legacy API - Use "edit" context when checking if the product is on sale during an "edit" operation
2017-12-11 11:48:19 -08:00
claudiulodro
ba363b6353
Bring up-to-date with master and resolve conflicts
2017-12-11 11:36:00 -08:00
Claudiu Lodromanean
7b81d39039
Merge pull request #18036 from woocommerce/tweak/script-data-filter
...
Add filter for script data
2017-12-11 10:51:56 -08:00
claudiulodro
3b94d0c52b
Bring up-to-date with master and resolve conflict
2017-12-11 10:27:05 -08:00
Diego Zanella
218aebd329
Legacy API - Use "edit" context when setting product prices
...
Ensured that the "edit" context is used when checking if the product is on sale, like it's done when fetching product's regular and sale prices. This prevents price filters from running and, potentially, altering the prices set via the API.
* Ref. https://github.com/woocommerce/woocommerce/issues/17125
* Ref. 6e5cdc60e8
2017-12-11 17:08:53 +00:00
Claudiu Lodromanean
c0e0f9c2cb
Merge pull request #18039 from woocommerce/add/setup-wizard-wcs-paypal-express-checkout-settings
...
Setup wizard: PayPal Express Checkout settings for rerouting via WCS
2017-12-11 08:26:24 -08:00
Rodrigo Primo
5915e6e892
Fix WPCS violations automatically using phpcbf
2017-12-11 14:24:54 -02:00
Paul Dechov
0f84a5eb4b
Revise checkbox label
2017-12-11 09:50:27 -05:00
Mike Jolley
dd59a9c51c
Merge pull request #18093 from woocommerce/fix/unsupported-php-syntax
...
Replace PHP >= 5.4 syntax with PHP 5.2 alternative
2017-12-11 14:09:13 +00:00
Rodrigo Primo
fc43bde6f8
Replace PHP >= 5.4 syntax with PHP 5.2 alternative
...
Commit 8f37ea33ed
added the following line that works only on PHP >= 5.4 as function array dereferencing is not present in PHP version 5.3 or earlier. This commit fixes it by replacing that line with a alternative that is compatible with PHP >= 5.2.
6ecc3bc442/includes/admin/list-tables/class-wc-admin-list-table-orders.php (L189)
2017-12-11 11:20:42 -02:00
Mike Jolley
a65db31443
Update text.
...
Closes #18078
2017-12-11 13:19:19 +00:00
Mike Jolley
f4927ea837
Give control over loop button attributes
...
Closes #18079
2017-12-11 13:09:21 +00:00
Boro Sitnikovski
9d76af7607
Add deprecation notice for old hooks
2017-12-11 09:29:08 +01:00
hardipparmar
db14a2595f
Changed.
2017-12-11 12:15:44 +05:30
Mike Jolley
426897ac2d
Merge pull request #18075 from woocommerce/update/extension-screen-styles
...
Update extension screen styles
2017-12-08 17:28:39 +00:00
Mike Jolley
cb97f0fc80
Performance tweak; close connection before running queue.
2017-12-08 16:57:53 +00:00
Mike Jolley
39b947e1ee
Prefix per site
2017-12-08 16:53:51 +00:00
Mike Jolley
bbc9180951
Restore variable name
2017-12-08 16:47:52 +00:00
Mike Jolley
05eb303a6f
Revert "Background processing; multisite should process current blog queue only"
...
This reverts commit c950dcc6e3
.
2017-12-08 16:46:25 +00:00
Claudio Sanches
eaa440df5f
Merge pull request #18071 from woocommerce/update/18045
...
Attributes; remove 'text' display option
2017-12-08 14:36:36 -02:00
Mike Jolley
1f109ba62e
Merge branch 'pr/18072'
2017-12-08 16:32:58 +00:00
Mike Jolley
b4bfe6303f
Keep public method around
2017-12-08 16:24:04 +00:00
Claudiu Lodromanean
99e948551f
Merge pull request #18076 from woocommerce/fix/18069
...
Shipping calculator and taxes
2017-12-08 08:17:45 -08:00
Mike Jolley
5b0df590c0
Merge pull request #18065 from woocommerce/improve/18064
...
Add default row/column control for themes
2017-12-08 16:14:19 +00:00
claudiulodro
fef9d612c7
Better function name
2017-12-08 07:38:40 -08:00
claudiulodro
b2cac1dcab
Better description
2017-12-08 07:36:33 -08:00
claudiulodro
e37391affb
Set/remove defaults on theme activation
2017-12-08 07:33:42 -08:00
claudiulodro
600b1bd82c
Revert "Add defaults control for themes"
...
This reverts commit 29090e4676
.
2017-12-08 07:23:46 -08:00
Mike Jolley
912c3e2ef8
Process form fields if set
2017-12-08 14:11:41 +00:00
Mike Jolley
d0db71c6c2
Flex grid for extension list
2017-12-08 13:23:08 +00:00
Mike Jolley
1bf47c2a81
API: Use KSES for purchase_note like admin
2017-12-08 11:47:27 +00:00
Mike Jolley
1944bf7191
Remove text type setting
2017-12-08 11:24:21 +00:00
James Allan
82c282e83a
Clone the child objects rather than instantiating new objects.
...
When cloning the cart, the current fees and session objects should
remain the same but have new pointers.
2017-12-08 21:15:45 +10:00
James Allan
83de162adb
Only remove fees which belong to the cart which is being emptied/reset
...
If there are multiple instances of WC_Cart and therefore multiple
instances of WC_Cart_Fees, if 1 cart is emptied and
woocommerce_cart_emptied is triggered, all instances of WC_Cart_Fees
will trigger remove_all_fees, removing all the fees from all the carts.
2017-12-08 21:15:08 +10:00
Gerhard Potgieter
0c5a0b06cc
Merge pull request #17926 from woocommerce/add/search-functionality-extensions-page
...
Adds search functionality to extensions page
2017-12-08 10:48:38 +02:00
Gerhard Potgieter
9491db496c
Fix issue where get_batch was referencing a non set variable for the column name. Add a couple of unit tests to test the background process class.
2017-12-08 10:31:05 +02:00
Gerhard Potgieter
75ecb887c3
Merge pull request #18017 from woocommerce/tweak/decouple-cart-template-methods
...
Decouple cart templating methods from WC_Cart class
2017-12-08 08:15:46 +02:00
claudiulodro
e22318449e
Fix syntax error @bor0
2017-12-07 14:29:07 -08:00
Claudio Sanches
0c36ab23cf
Updated API settings making clear that is from our legacy REST API
2017-12-07 19:53:40 -02:00
Claudio Sanches
05987ff3be
Removed unresolved merge conflicts
2017-12-07 19:06:07 -02:00
Claudio Sanches
2f6f6112c2
Merge branch 'master' into feature/webhook-crud
2017-12-07 18:21:52 -02:00
Claudio Sanches
2db8fdbf0b
Removed legacy custom topic handler
2017-12-07 18:04:45 -02:00
claudiulodro
29090e4676
Add defaults control for themes
2017-12-07 11:35:06 -08:00
Boro Sitnikovski
b6801d3761
Fix wrong call
2017-12-07 20:16:54 +01:00
Boro Sitnikovski
d0f9aaa99a
Merge branch 'master' into tweak/decouple-cart-template-methods
2017-12-07 20:16:08 +01:00
Claudiu Lodromanean
1b079f1e43
Merge pull request #18061 from woocommerce/fix/import-export-18047
...
Fix ID mapping to existing IDs
2017-12-07 09:57:31 -08:00
Jonathan Belcher
f4d6b6f68f
Merge Commit
2017-12-07 12:10:00 -05:00
Jonathan Belcher
3bb55107e8
Fix placeholder comment
2017-12-07 12:04:25 -05:00
Jonathan Belcher
885f869d40
Merge commit
2017-12-07 12:02:55 -05:00
Jonathan Belcher
937cdbf230
Merge commit
2017-12-07 11:50:42 -05:00
Jonathan Belcher
9695bc4183
Small code review changes
2017-12-07 11:47:33 -05:00
Claudiu Lodromanean
7c06e7d63d
Merge pull request #18008 from woocommerce/update/rounding-17970-17863
...
Rounding fixes/line item rounding
2017-12-07 08:34:15 -08:00
Claudiu Lodromanean
804c771296
Merge pull request #17683 from woocommerce/feature/unsupported-theme
...
Unsupported theme enhancements
2017-12-07 08:05:29 -08:00
Mike Jolley
5e51af9d2c
Fix white space in order actions
2017-12-07 15:50:27 +00:00
Mike Jolley
36b1753925
Version
2017-12-07 15:41:53 +00:00
Mike Jolley
7a94bf06df
Reversion changes
2017-12-07 15:39:10 +00:00
Mike Jolley
d7b29bc833
Merge branch 'pr/17993'
2017-12-07 15:33:36 +00:00
Mike Jolley
f0c04b019b
Rename filter and pass order
2017-12-07 15:33:26 +00:00
Mike Jolley
7e7b79efd0
typo
2017-12-07 15:31:55 +00:00
Mike Jolley
05d6e393ae
Merge branch 'pr/18013'
2017-12-07 15:29:59 +00:00
Mike Jolley
54d4012c33
Use timestamp function
2017-12-07 15:24:57 +00:00
Boro Sitnikovski
588c5f3779
Change method name
2017-12-07 15:53:16 +01:00
Mike Jolley
86ff5f5842
Merge pull request #18049 from woocommerce/fix/undefined-var
...
Fixed undefined variable on WC_Shipping_Zones::get_zone_by
2017-12-07 14:32:21 +00:00
Mike Jolley
03db5c4590
Merge pull request #18048 from woocommerce/fix/17722-2
...
Allow import and export draft products
2017-12-07 14:29:50 +00:00
Mike Jolley
3de87d3db7
Fix ID mapping to existing IDs
...
Fixes #18047
2017-12-07 14:12:20 +00:00
Claudio Sanches
3300534963
Merge pull request #18058 from woocommerce/fix/18053
...
Update docblock for $include_taxes
2017-12-07 11:05:39 -02:00
Mike Jolley
c950dcc6e3
Background processing; multisite should process current blog queue only
...
#17915
2017-12-07 13:01:05 +00:00
Mike Jolley
acbd4295f9
phpcs
2017-12-07 12:35:13 +00:00
Mike Jolley
91887b918f
phpcs
2017-12-07 12:31:30 +00:00
Mike Jolley
cadfcfc11f
phpcs
2017-12-07 12:21:01 +00:00
Mike Jolley
d3cd420c0a
Format data of headers
2017-12-07 12:15:39 +00:00
Mike Jolley
c3623a9967
Update docblock for $include_taxes
...
Closes #18053
2017-12-07 11:46:35 +00:00
Marcin Bot
d0756a4a36
Fixed the undefined index notice
2017-12-07 11:20:04 +00:00
Jonathan Belcher
b42004f7b3
Fix escaping
2017-12-06 16:48:30 -05:00
Claudio Sanches
bb575ad07e
Fixed @since
2017-12-06 19:12:42 -02:00
Claudio Sanches
390844f73b
Fixed coding standards
2017-12-06 19:11:40 -02:00
Claudio Sanches
cae02bee36
Fixed undefined variable on WC_Shipping_Zones::get_zone_by
2017-12-06 19:07:00 -02:00
Paul Dechov
1433347eda
Remove unused description string for Braintree
2017-12-06 15:36:46 -05:00
Claudio Sanches
0946fd04cf
Allow import and export draft products
...
Closes #17722
2017-12-06 18:32:35 -02:00
Paul Dechov
f2cc10922a
Add full stops to code comments
2017-12-06 14:53:31 -05:00
Mike Jolley
1f2011e8de
Tweak query args
2017-12-06 19:03:14 +00:00
Mike Jolley
119ee7f27c
Use new loop functions
2017-12-06 18:10:44 +00:00
Mike Jolley
8bdff47133
Hook in subcats
2017-12-06 18:10:28 +00:00
Mike Jolley
3c36ab0517
Helper functions for loop handling to avoid global usage, and helper for displaying subcats
2017-12-06 18:10:19 +00:00
Mike Jolley
e343c99ccb
Remove is_shortcode_loop
2017-12-06 18:09:49 +00:00
Jonathan Belcher
c43f4c65be
Merge Commit
2017-12-06 12:07:27 -05:00
Jonathan Belcher
bbaabb5b80
Remove unused function
2017-12-06 12:03:50 -05:00
Jonathan Belcher
b5c1025621
Fixes from code review
2017-12-06 12:02:09 -05:00
Mike Jolley
07792a253b
Correct variable name
2017-12-06 15:54:40 +00:00
Paul Dechov
c75f5f54af
Show PPEC instead of Braintree in US, and remove Braintree altogether
2017-12-06 10:02:32 -05:00
Paul Dechov
94da7ffbed
Default PPEC to enabled
2017-12-06 10:01:55 -05:00
Paul Dechov
28c4dc0fbe
Install WCS if PPEC settings set
2017-12-06 09:19:39 -05:00
Paul Dechov
eecd0db0f0
Tweak checkbox label
2017-12-06 09:19:08 -05:00
Paul Dechov
4155f02ec8
Make sure PPEC settings are opened if enabled on load
2017-12-06 09:18:06 -05:00
Marcin Bot
0d12b31a13
Updated the Klarna logo
2017-12-06 14:04:28 +00:00
Mike Jolley
320392fc59
is_visible should ensure product is is not trashed
...
Closes #18023
2017-12-06 13:47:09 +00:00
Mike Jolley
67a4339ee0
Merge pull request #18031 from woocommerce/fix/admin-product-warnings
...
Fixed "PHP Warning: printf(): Too few arguments"
2017-12-06 13:32:26 +00:00
Mike Jolley
8dcffa660e
Normalise get_query_results names and add new param for pagination
2017-12-06 13:13:43 +00:00
Gerhard Potgieter
6ff40c2821
Merge pull request #18011 from WPprodigy/add-helper-notice
...
Add admin notice when helper plugin is deactivated
2017-12-06 12:37:34 +02:00
Boro Sitnikovski
4981d68b38
Add filter for script data
2017-12-06 11:03:16 +01:00
Paul Dechov
6500b11db8
Adjust logo widths to match design and approximately equalize prominence
2017-12-05 19:55:43 -05:00
Paul Dechov
9a3b63036f
Address 'Undefined index' notice by checking for set param
2017-12-05 14:56:15 -05:00
Paul Dechov
570a2e9512
Add PPEC settings to wizard, to facilitate rerouting via WCS
2017-12-05 14:53:44 -05:00
Jonathan Belcher
38984b03ce
Merge pull request #18026 from woocommerce/add/clear-addons-transients
...
Clear addons transients on update to 3.3.0
2017-12-05 14:41:21 -05:00
Jonathan Belcher
d38a9e2af6
Change order of commands to make DB last
2017-12-05 14:39:37 -05:00
Claudio Sanches
79e6821685
Fixed coding standards
2017-12-05 17:11:33 -02:00
Claudio Sanches
9e93d99056
Fixed "PHP Warning: printf(): Too few arguments"
2017-12-05 16:57:26 -02:00
Claudio Sanches
c07d039242
[Importer] Get global attribute ID only when is a global attribute.
...
Closes #17923
2017-12-05 16:55:56 -02:00
claudiulodro
535d014ef9
Line up arrays
2017-12-05 10:50:17 -08:00
claudiulodro
aab65923c1
Refactor for better style
2017-12-05 10:45:08 -08:00
Claudio Sanches
a56018b967
Removed webhook custom topic input and included better error messages
2017-12-05 16:07:36 -02:00
Claudiu Lodromanean
9d644e0852
Merge pull request #18012 from woocommerce/fix/18010-merge-persistant-session-carts
...
Merge session and persistent carts when both exists
2017-12-05 09:49:52 -08:00
Jonathan Belcher
51c66d7f7a
Remove automatic spacing changes made by my editor
2017-12-05 12:27:13 -05:00
Claudiu Lodromanean
87e1cf485d
Merge pull request #18022 from woocommerce/fix/17979
...
Return packages with no rates so shipping calculator is displayed.
2017-12-05 09:27:00 -08:00
Jonathan Belcher
c39a181cb6
Clear addons transients on update to 3.3.0
2017-12-05 12:23:51 -05:00
Marcin Bot
399e2893e1
Updated the Klarna logo
2017-12-05 17:06:35 +00:00
claudiulodro
73bfc1444b
Fix weird bracket
2017-12-05 08:42:50 -08:00
claudiulodro
813024c654
line up array
2017-12-05 08:42:04 -08:00
Marcin Bot
10f912a0a9
Split Klarna into two plugins and updated their display logic
2017-12-05 16:38:19 +00:00
claudiulodro
fec60ab2ea
Fix product shortcode pagination
2017-12-05 08:31:50 -08:00
Marcin Bot
d1e4d0fe3c
Fixed a <label>'s id
2017-12-05 16:21:36 +00:00
Marcin Bot
fbc630114c
Fixed the payment gateways link
2017-12-05 16:21:36 +00:00
Marcin Bot
628906a5bc
Added Klarna and Square CSS classes
2017-12-05 16:20:15 +00:00
Marcin Bot
6dae7f3451
Fixed an i18n domain
2017-12-05 16:20:15 +00:00
Marcin Bot
8b0e0e3df4
Fixed the copies
2017-12-05 16:20:15 +00:00
Valerie
8c6d069377
Add Square to wizard payment step
2017-12-05 16:20:15 +00:00
Valerie
e28341a9a3
Wizard: Ask user if selling in person
2017-12-05 16:20:15 +00:00
Valerie
6d2ca0fd15
Add Klarna to wizard payment step
2017-12-05 16:20:15 +00:00
Jonathan Belcher
f05ed543fa
Fix css and add search query header
2017-12-05 11:15:09 -05:00
Claudio Sanches
09dd86da1c
Merge pull request #18021 from woocommerce/fix/17974
...
wc_lostpassword_url should not be used before init
2017-12-05 13:20:25 -02:00
Jonathan Belcher
2c12dcfacd
Merge Commit
2017-12-05 10:16:28 -05:00
Jonathan Belcher
66dbcdead6
Update for API changes
2017-12-05 10:06:58 -05:00
Mike Jolley
8f9bd7d0bf
Return packages with no rates.
2017-12-05 15:00:07 +00:00
Mike Jolley
79e9464dc3
wc_lostpassword_url should not be used before init
...
Closes #17974
2017-12-05 14:25:24 +00:00
Mike Jolley
3e00533183
phpcs
2017-12-05 14:02:40 +00:00
Mike Jolley
5a5f179346
translators
2017-12-05 13:41:56 +00:00
Mike Jolley
4e7da70185
Update permalink setting text #17745
2017-12-05 13:40:40 +00:00
Mike Jolley
5a8cdb1ded
Update wording for #17968
2017-12-05 13:31:42 +00:00
Mike Jolley
05e7eaae03
get_meta_data return array values
...
Closes #17997
2017-12-05 13:14:12 +00:00
Mike Jolley
d49590d0a3
Fixes to 5.2 rounding function and additional tests
2017-12-05 12:10:23 +00:00
Boro Sitnikovski
145d47c580
Decouple cart templating methods from WC_Cart class
2017-12-05 13:00:21 +01:00
Caleb Burks
6374a13d30
Update a product’s modified_date for stock changes
2017-12-05 00:53:52 -06:00
Gerhard Potgieter
961a70965d
PHPCS Fixes
2017-12-05 08:48:35 +02:00
Gerhard Potgieter
ccb54faf0b
When getting a cart from a session and there are contents as well as contents in the persistant cart, merge the two carts to avoid loosing the persistant cart content.
2017-12-05 08:45:52 +02:00
Caleb Burks
21e798e1a8
Add admin notice when helper plugin is deactivated
2017-12-04 23:57:47 -06:00
Mike Jolley
b6f87e70d7
round total to cents
2017-12-04 22:42:39 +00:00
Mike Jolley
55af8a2ec8
wc_cart_round_discount
2017-12-04 22:10:47 +00:00
claudiulodro
d60456cc73
Resolve conflicts and bring up to date with master
2017-12-04 13:56:59 -08:00
Mike Jolley
7da5780c00
Store unrounded, calc rounded.
2017-12-04 21:40:12 +00:00
Mike Jolley
8e851d834f
Rounding and price should match the cart.
2017-12-04 20:38:29 +00:00
Mike Jolley
17095a4011
Totals should be set to store DP setting.
2017-12-04 20:38:14 +00:00
Mike Jolley
277127a400
Round line totals and taxes per line correctly to the store DP setting.
2017-12-04 20:38:00 +00:00
Mike Jolley
664970539d
Remove rounding/precision from the tax class and handle exclusively in cart totals.
2017-12-04 20:33:27 +00:00
Mike Jolley
6b740671cc
Change how precision is added
...
Some users have increased precision beyond the DP setting. Support this
by converting to cents and leaving some precision on the end.
e.g. 10.00 would be converted to cents (1000) and have 2 dp precision
on the end (1000.00).
2017-12-04 20:32:51 +00:00
Mike Jolley
6b37aa7b70
Allow negative rounding (php does)
2017-12-04 20:27:30 +00:00
Mike Jolley
02bfeddf4b
Merge pull request #18002 from woocommerce/tweak/use-protected-methods
...
Use protected instead of private methods to allow easy override
2017-12-04 15:38:30 +00:00
Mike Jolley
20633d409d
Fix archive with default permalinks
2017-12-04 15:35:52 +00:00
Mike Jolley
4ff70f96ee
Force woocommerce options to show in customizer with unsupported themes
2017-12-04 15:33:42 +00:00
Claudio Sanches
0f4f8a3f16
Merge branch 'master' into feature/webhook-crud
2017-12-04 12:37:10 -02:00
Claudio Sanches
673732946b
Merge branch 'master' into feature/webhook-crud
2017-12-04 12:34:23 -02:00
Mike Jolley
0a9485c465
Merge branch 'master' into feature/11259
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/list-tables/class-wc-admin-list-table-products.php
# includes/class-wc-install.php
# includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Boro Sitnikovski
6c29d886ca
Use protected instead of private methods to allow easy override
2017-12-04 15:10:35 +01:00
Mike Jolley
050ba6642f
Merge pull request #17928 from woocommerce/fix/selectwoofocus
...
Fix some focus issues in selectWoo
2017-12-04 13:55:17 +00:00
Mike Jolley
d8921de735
min
2017-12-04 13:45:52 +00:00
Mike Jolley
5d42a64b73
Merge branch 'master' into update/order-screen-refinements
2017-12-04 13:44:27 +00:00
Mike Jolley
8631e981e1
Merge pull request #17987 from woocommerce/feature/12439-process-delivery-hook
...
Introduces woocommerce_webhook_process_delivery hook
2017-12-04 13:08:42 +00:00
Gerhard Potgieter
3ed021241f
Merge pull request #17862 from davefx/patch-6
...
Add filters to mark terms in product list
2017-12-04 10:39:53 +02:00
David Marín
7660767aa7
Adding $termlist and $terms as parameters for the new filter
2017-12-04 09:34:10 +01:00
tom
9dcc4c49f4
Add filter for order downloadable items
...
ref #17992
2017-12-02 11:15:07 +08:00
Claudiu Lodromanean
19969636f3
Merge pull request #17985 from woocommerce/refactor/12439-improve-duration
...
Improve webhook delivery duration
2017-12-01 14:33:49 -08:00
Claudiu Lodromanean
224fa43fe2
Merge pull request #17986 from woocommerce/fix/12439-pending-delivery
...
Fixed webhook initial test delivery ping
2017-12-01 10:31:46 -08:00
Claudiu Lodromanean
6b8b93d66c
Merge pull request #17984 from woocommerce/refactor/12439-falied-delivery
...
Updated webhook failed delivery code and introduced new hook
2017-12-01 10:28:25 -08:00
Claudiu Lodromanean
4443d473ab
Merge pull request #17965 from james-allan/complete_payment_using_manual_gateways
...
Mark $0 orders as payment complete when processing payments with core gateways
2017-12-01 10:21:01 -08:00
Claudiu Lodromanean
98365fcc3d
Merge pull request #17962 from woocommerce/fix/17925-1
...
Include 'product_url' in wc_get_customer_available_downloads() results
2017-12-01 10:17:27 -08:00
Claudiu Lodromanean
452fc69f1a
Merge pull request #17961 from woocommerce/fix/17957
...
Always save last viewed product ID into woocommerce_recently_viewed cookie
2017-12-01 10:14:54 -08:00
Claudiu Lodromanean
1a2a332f54
Merge pull request #17939 from woocommerce/feature/17734
...
Apply Webhooks CRUD into REST API
2017-12-01 10:07:21 -08:00
Claudio Sanches
867f7dfc7a
Fixed coding standards
2017-12-01 15:13:27 -02:00
Claudio Sanches
b1fd3134c3
Introduces woocommerce_webhook_process_delivery hook
2017-12-01 14:33:30 -02:00
Claudio Sanches
f5cddc4f36
Fixed webhook initial test delivery ping
...
Part of #12439
2017-12-01 14:04:59 -02:00
Claudio Sanches
d6f54afbe5
Improve webhook delivery duration
...
Improved to conside the amount of time spent gathering all data and time sending request.
Closes #17010
2017-12-01 13:48:31 -02:00
Claudio Sanches
022f9a10a3
Updated webhook failed delivery code and introduced new hook
2017-12-01 12:08:13 -02:00
Claudio Sanches
d5f871ad7e
[REST API] Fixed errors while creating and updating webhooks
2017-12-01 11:57:29 -02:00
Claudio Sanches
5cda80330d
Webhooks secret not mandatory in REST API
2017-12-01 11:48:38 -02:00
Claudio Sanches
46cfe9e3b6
Fixed docblocks
2017-12-01 11:47:45 -02:00
Ibrahim Ibn Dawood
b1bef237d1
made function : woocommerce_template_loop_product_link_open, woocommerce_template_loop_product_link_close, woocommerce_template_loop_category_link_open, woocommerce_template_loop_category_link_close pluggable
2017-12-01 14:58:42 +05:30
claudiulodro
22031c5b56
Tag support in shortcode
2017-11-30 13:43:32 -08:00
Claudiu Lodromanean
4e2e64ad2e
Merge pull request #17975 from woocommerce/refactor/12439-trigger-webhook
...
Trigger webhook when delivery URL is changed
2017-11-30 11:12:51 -08:00
claudiulodro
8d6d4c4fd9
good tax approach
2017-11-30 10:57:33 -08:00
Claudio Sanches
270c0a200e
Merge branch 'master' into feature/webhook-crud
2017-11-30 16:55:28 -02:00
Claudio Sanches
bbc472d80d
Merge pull request #17548 from crstauf/add/webhook-status-action
...
Add action for webhook status change
2017-11-30 16:52:41 -02:00
Claudio Sanches
01b3f2bac4
Trigger webhook when delivery URL is changed
2017-11-30 16:48:16 -02:00
Claudio Sanches
6c45659e68
Merge pull request #17956 from vyskoczilova/master
...
Add zipcode validation for Czech republic and Slovakia
2017-11-30 16:47:40 -02:00
Karolína Vyskočilová
54f9bfafa1
CZ/SK zip - exchange space for \s
2017-11-30 19:33:16 +01:00
Claudio Sanches
4d9203b841
Soft deprecated webhook deliveries REST API endpoints
2017-11-30 16:20:20 -02:00
Claudio Sanches
9b5d5b684b
Fixed coding standards
2017-11-30 16:05:36 -02:00
claudiulodro
97c5140c25
Clean up to make it easier to work
2017-11-30 09:58:39 -08:00
James Allan
f6eb02806b
Mark orders as payment complete if the order total is 0
...
Similar to how other payment gateways like Stripe call
payment_complete on orders with $0 totals.
2017-11-30 13:31:10 +10:00
Claudiu Lodromanean
9e15022370
Merge pull request #17960 from woocommerce/fix/17940
...
Allow woocommerce_form_field() have 'custom_attributes' equal 0
2017-11-29 14:35:54 -08:00
claudiulodro
79458dd991
Fix template loading issues
2017-11-29 14:30:43 -08:00
Claudio Sanches
41335ae9b5
Remove "wc_error" query string after login process
...
Closes #17957
2017-11-29 19:57:59 -02:00
Claudio Sanches
da6c9c769a
Include 'product_url' wc_get_customer_available_downloads() results
...
Also required to fix #17925
2017-11-29 19:49:54 -02:00
claudiulodro
1f93ed5153
Initial implementation of archives
2017-11-29 13:46:37 -08:00
Claudio Sanches
777a004a1f
Allow max of 15 products in Recent Viewed Products widget
2017-11-29 19:24:39 -02:00
Claudio Sanches
929eb48fcd
Always save last viewed product ID into woocommerce_recently_viewed cookie
...
Currently if you already visited a product will not be listed at the top
of the "Recent Viewed Products" widget.
This happens because we only include new items if they are not already
in the list of viwed products.
This code changes a little the logic excluding the ID from viewed
products list and adding again.
Closes #17951
2017-11-29 19:21:04 -02:00
Claudio Sanches
d438a68300
Allow woocommerce_form_field() have 'custom_attributes' equal 0
...
array_filter() by default will remove all null values, also 0 or false,
but if trying to declare something like array( 'min' => '0', 'max' =>
'10' ) this will be a problem. So including added strlen() as callback
function will allow keep some strings but still remove null and false
values.
Ref #17940
2017-11-29 18:45:44 -02:00
Claudio Sanches
5e2628c06b
REST API v2 webhooks CRUD implementation
2017-11-29 18:08:08 -02:00
Jonathan Belcher
9983352d60
Account for user searching on featured tab
2017-11-29 14:50:38 -05:00
Claudio Sanches
bc86192120
REST API v1 webhooks CRUD implementation
2017-11-29 17:44:09 -02:00
Claudiu Lodromanean
b05cd3f3a7
Merge pull request #17934 from woocommerce/fix/17925
...
Display product URL only if is not hidden in downloads list
2017-11-29 10:33:34 -08:00
Jonathan Belcher
7296f69e54
Fix comments to follow standard
2017-11-29 13:03:22 -05:00
Karolína Vyskočilová
864c41c35a
Add zipcode validation for Slovakia
2017-11-29 18:55:35 +01:00
Karolína Vyskočilová
deb00803b5
Add zipcode validation for Czech republic
2017-11-29 18:48:15 +01:00
Jonathan Belcher
3d86535c6d
Adds geo and install plugin control to extensions featured page
2017-11-29 12:41:08 -05:00
Jonathan Belcher
01ed1bea76
Remove testing code
2017-11-29 10:25:34 -05:00
Claudio Sanches
64ffa22e16
Merge pull request #17948 from woocommerce/add/17920-httponly-cookie-filter
...
Introduce woocommerce_cookie_httponly filter
2017-11-29 11:20:19 -02:00
Gerhard Potgieter
220abd97eb
Pass all args of function to filter
2017-11-29 15:12:24 +02:00
Claudio Sanches
53b3c56a63
Merge pull request #17947 from woocommerce/update/17943-category-image-schema
...
Update REST API product categories image schema
2017-11-29 10:42:58 -02:00
Claudio Sanches
c0a7f0eef0
Fixed category images schema in REST API v1
2017-11-29 10:42:06 -02:00
Claudio Sanches
d3a5a1bfd4
Fixed bugs caused after fixing coding standards
2017-11-29 10:32:35 -02:00
Claudio Sanches
ae67b3b404
Merge pull request #17945 from woocommerce/fix/17944-remove-add-to-cart-pagination
...
Exclude add-to-cart from pagination link
2017-11-29 10:24:28 -02:00
Claudio Sanches
a70d0109c0
Initial webhooks implementation on REST API v1
2017-11-29 10:23:19 -02:00
Gerhard Potgieter
9a5e8b1db8
Merge pull request #17946 from shivapoudel/fix/17919
...
Fix - Bulk action in status logs table
2017-11-29 11:54:11 +02:00
Gerhard Potgieter
be4a2553b1
Introduce woocommerce_cookie_httponly filter on the httponly param of setcookie.
2017-11-29 11:22:57 +02:00
Gerhard Potgieter
5f534e7388
Change product categories image object schema from name to title to bring docs in line with the actual output.
2017-11-29 11:06:41 +02:00
Shiva Poudel
1bf1f84560
Fix - Bulk action in status logs table, Closes #17919
2017-11-29 14:49:49 +05:45
Gerhard Potgieter
f1479b07d5
Exclude add-to-cart param from get_pagenum_link function. paginate_links calls this function even though we pass a base url to it.
2017-11-29 10:52:55 +02:00
Umesh Ghimire
e128f774c4
Revert isset check as it was previously
2017-11-29 14:13:47 +05:45
Shiva Poudel
d4b4b808ed
Fix - Check and process if woocommerce_thumbnail is size
2017-11-29 12:54:32 +05:45
Jonathan Belcher
54e686c44e
Change placeholder text in searchbar
2017-11-28 15:45:55 -05:00
Claudio Sanches
3011058757
Applied Webhook CRUD into legacy REST API v3
2017-11-28 18:11:53 -02:00
Claudio Sanches
de18b383d0
Applied Webhook CRUD into legacy REST API v2
2017-11-28 18:08:46 -02:00
Claudio Sanches
2f9a8e3f75
Set user_id by defaul while creating webhooks on admin screen
2017-11-28 18:03:55 -02:00
Claudiu Lodromanean
eb6374dc7a
Merge pull request #17921 from woocommerce/fix/rest-api-date-format
...
[REST API] Fixed date format in reports schema
2017-11-28 11:57:49 -08:00
Claudio Sanches
575e2d2224
Advanced webhooks search
2017-11-28 17:39:42 -02:00
Claudio Sanches
88e4d021ab
Fixed webhook pagination results
2017-11-28 15:27:31 -02:00
Claudio Sanches
625f50a5bf
Allow stdClass in legacy API server add_pagination_headers
2017-11-28 15:11:00 -02:00
Claudio Sanches
cc20c1282c
Fixed merge
2017-11-28 15:09:54 -02:00
Claudio Sanches
c6f8e95b97
Merge branch 'master' into feature/webhook-crud
2017-11-28 15:09:10 -02:00
Claudio Sanches
674d75ef24
Merge pull request #17922 from franticpsyx/public-abstract-product-importer-methods
...
Re-usable abstract importer methods
2017-11-28 11:10:53 -02:00
Claudio Sanches
fd4fa0cf71
Fixed coding standards
2017-11-28 11:04:38 -02:00
Claudio Sanches
def87b74bf
Display product URL only if is not hidden in downloads list
...
Fixes #17925
2017-11-28 10:18:43 -02:00
claudiulodro
9d2b76da2b
Fix some focus issues in selectWoo
2017-11-27 14:34:05 -08:00
Jonathan Belcher
2cd514ccb6
Clean up search bar spacing
2017-11-27 16:23:03 -05:00
Jonathan Belcher
a549133a2e
[WIP] Adds search functionality to extensions page
2017-11-27 16:11:55 -05:00
Claudio Sanches
8ed6e7436f
Merge pull request #17909 from woocommerce/update/phpcs-violations
...
Fix some PHPCS violations
2017-11-27 18:42:24 -02:00
Claudiu Lodromanean
06a9352cdd
Merge pull request #17875 from woocommerce/feature/csvimportexportbackorder
...
Importer/Exporter backorder compatibility
2017-11-27 09:50:58 -08:00
claudiulodro
160e562dc6
Better negative number unescape
2017-11-27 09:48:28 -08:00
Manos Psychogyiopoulos
7463182c3f
Change abstract importer methods visibility
2017-11-27 17:22:19 +02:00
Claudio Sanches
c1c02cd0aa
Merge pull request #17899 from woocommerce/update/17321
...
Uncategorized category support
2017-11-27 12:46:01 -02:00
Rodrigo Primo
e006e14d23
Ignore PHPCS in two instances
...
Ignoring PHPCS in two lines of the code where apparently it is not possible to fix the violations. I tried using what @claudiosanches suggested in this comment https://github.com/woocommerce/woocommerce/pull/17909#issuecomment-347168029 but both tags didn't work. Lets revisit this when PHPCS 3.2.0 is released and we can selectively disable rules (see https://github.com/squizlabs/PHP_CodeSniffer/issues/604 ).
2017-11-27 11:00:42 -02:00
Claudio Sanches
9123656155
[REST API] Fixed date format in reports schema
2017-11-27 10:24:43 -02:00
Rodrigo Primo
3d6bd30d8a
Fix some PHPCS violations in includes/data-stores/abstract-wc-order-data-store-cpt.php
2017-11-24 17:25:31 -02:00
Rodrigo Primo
5e43d92e07
Fix some PHPCS violations in includes/data-stores/class-wc-order-data-store-cpt.php
2017-11-24 17:25:16 -02:00
Gerhard Potgieter
9f8460c97a
Merge pull request #17887 from woocommerce/fix/17880
...
Only remove base taxes in cart totals class if item is taxable
2017-11-24 11:21:49 +02:00
Gerhard Potgieter
d2e9b36612
Merge pull request #17865 from woocommerce/fix/17852
...
Exclude spam comments from counts
2017-11-24 11:19:32 +02:00
David Marín
12bc63d64f
Fix space before parenthesis
2017-11-23 20:01:41 +01:00
David Marín
ab6528e844
Update class-wc-admin-list-table-products.php
2017-11-23 19:59:44 +01:00
Claudio Sanches
48132a9dbf
Fixed coding standards
2017-11-23 16:43:54 -02:00
Claudio Sanches
e40138d188
Updated $GLOBALS['post'] data in products shortcode
...
No need to pass it as reference.
And passing by reference is breaking Divi's page builder.
2017-11-23 16:40:59 -02:00
Mike Jolley
42acec92b9
Force term setting
2017-11-23 16:00:34 +00:00
Mike Jolley
856ae87d54
Update method
2017-11-23 15:44:17 +00:00
David Marín
e21631925a
Swapping filter parameters, to adapt to what @mikejolley proposed
2017-11-23 15:52:02 +01:00
David Marín
4210da0341
Using proposed filter name
2017-11-23 15:49:58 +01:00
Mike Jolley
c5a80d080b
Rename so delete is hidden
2017-11-23 14:41:17 +00:00
Mike Jolley
3e921e524d
Install default cat
2017-11-23 14:38:40 +00:00
Mike Jolley
8dea28e6c2
Save default cat when saving products
2017-11-23 14:26:43 +00:00
Mike Jolley
3dc4277490
Install a default cat
2017-11-23 14:26:34 +00:00
Mike Jolley
cd3d61bf98
Add back category filtering which somehow was removed
2017-11-23 14:26:12 +00:00
Rodrigo Primo
5cc84925e3
Typo
2017-11-23 12:17:54 -02:00
Rodrigo Primo
5f0e722ca4
Fix PHPCS violations in includes/wc-update-functions.php
2017-11-23 12:17:21 -02:00
Rodrigo Primo
de5a21dcb0
Fix PHPCS violations in includes/class-wc-install.php
2017-11-23 12:16:47 -02:00
Rodrigo Primo
e12fa54bc6
phpcbf automatic coding standard fixes
2017-11-23 12:16:47 -02:00
Mike Jolley
85cd9647df
Merge pull request #17871 from ragulka/delete-refund-on-exception
...
Ensure refund is deleted when exception is thrown during wc_create_refund()
2017-11-23 13:06:40 +00:00
Mike Jolley
b7d8d63c3d
Merge pull request #17870 from woocommerce/update/bump-wp-version
...
Bump "Requires at least" version
2017-11-23 11:52:48 +00:00
The Dramatist
8ac49d448b
Unused parameter removed form get_filters method of WC_Helper class. ( #17888 )
2017-11-23 11:49:12 +00:00
David Marín
654a036f1a
Added third parameter with taxonomy to filter call
2017-11-23 12:43:37 +01:00
David Marín
50f3db7693
Changed filter so it receives the array instead of the final imploded string
2017-11-23 12:40:00 +01:00
Mike Jolley
5a4e85b5f5
Tweak total_comments
2017-11-23 11:17:23 +00:00
Mike Jolley
6ef391666f
Only remove base taxes in cart totals class if item is taxable
...
Fixes #17880
2017-11-23 11:08:10 +00:00
Shiva Poudel
a0215d85da
Txn clickable ( #17878 )
...
* Make transactional link clickable
* Oops, fix in modal tmpl
2017-11-23 10:18:23 +00:00
urosmil
18e7b25eab
Filter for line items in abstract-wc-order.php ( #17759 )
...
* Filter for line items in abstract-wc-order.php
When creating custom product class there are places where line items is only value that can be handled. This is one of that places causing subtotal values after checkout not to be calculated and displayed.
* Extension to woocommerce_order_get_items filter
This is extension to filter as get_items() is used for different classes and types. This way it would be possible to distinct which type is called for items.
* Removed filtering inside subtotal function
$types parameter is added as parameter for filter inside get_items() function so previous commit is reverted as there is no need for it.
2017-11-23 10:00:03 +00:00
David Marín
55972f4623
Changing the filter name to 'admin_term_links'
2017-11-23 09:33:55 +01:00
Claudiu Lodromanean
9a95441c61
Merge pull request #17872 from woocommerce/fix/17508
...
Properly handle deprecated hooks
2017-11-22 14:34:15 -08:00
claudiulodro
a878b0cde5
Some phpcs
2017-11-22 14:03:26 -08:00
claudiulodro
7e52af8b9a
Fix logic
2017-11-22 11:57:59 -08:00
claudiulodro
ee445b6ee5
Importer/Exporter backorder compatibility
2017-11-22 11:48:19 -08:00
claudiulodro
5513dc4546
Update with master
2017-11-22 11:02:14 -08:00
claudiulodro
32347c5470
Fix legacy API include paths
2017-11-22 10:28:02 -08:00
Claudio Sanches
1034a4bd38
Merge pull request #17867 from woocommerce/update/17851
...
Use an action/option rather than cron to queue rule flushing
2017-11-22 16:11:47 -02:00
Claudio Sanches
1f156620e3
Merge pull request #17866 from woocommerce/fix/17850
...
Confirm navigation if nonce has expired in reports.
2017-11-22 16:09:38 -02:00
Claudio Sanches
4b5f0c98d7
Fixed coding standards
2017-11-22 15:25:27 -02:00
Claudio Sanches
69c8a87f41
Display correct deprecated version for hooks
2017-11-22 15:21:32 -02:00
Claudio Sanches
11772ca015
Fixed coding standards
2017-11-22 14:55:12 -02:00
Claudio Sanches
d27410eacc
Introduced new wc_deprecated_hook function as alias to _deprecated_hook
2017-11-22 14:47:22 -02:00
Mike Jolley
3773b81bc9
Merge branch 'master' into update/order-screen-refinements
...
# Conflicts:
# includes/admin/meta-boxes/views/html-order-item.php
2017-11-22 16:32:34 +00:00
Mike Jolley
f0cbaf08b1
Clickable transaction IDs
2017-11-22 16:31:27 +00:00
Mike Jolley
29fed057af
Mobile styling
2017-11-22 16:28:11 +00:00
Mike Jolley
b3e7260c95
Improve styling of order actions columns
2017-11-22 16:14:30 +00:00
Claudio Sanches
4fb3624604
Fixed coding standards
2017-11-22 14:13:59 -02:00
ragulka
4f2e1ee8d4
Ensure refund is deleted when exception is thrown during wc_create_refund
2017-11-22 17:03:58 +01:00
Claudio Sanches
d39a034f14
Drop support for legacy WP versions
2017-11-22 13:55:48 -02:00
David Marín
d1274acd02
Changing filter so it applies to the full list
2017-11-22 14:01:34 +01:00
Mike Jolley
2795a3399b
Merge pull request #17868 from ahmedofali/master
...
fixing typo replace add to cart to be remove from cart
2017-11-22 12:51:17 +00:00
Ahmed Ali
d8050f99b1
fixing typo replace add to cart to be remove from cart
2017-11-22 14:33:21 +02:00
Mike Jolley
39e86db7a7
Use an action/option rather than cron to queue rule flushing
...
Closes #17851
2017-11-22 11:39:57 +00:00
Mike Jolley
2b1243ea04
Confirm navigation if nonce has expired in reports.
...
Closes #17850
2017-11-22 11:30:22 +00:00
Mike Jolley
90535fee36
Exclude spam comments from counts
...
Fixes #17852
2017-11-22 11:02:02 +00:00
Mike Jolley
15230e295c
Add precision after multiplying quantity
...
Closes #17860
Has no effect on core it seems because we only store prices to the DP
setting. This would be to correct precision added by plugins.
2017-11-22 10:49:28 +00:00
David Marín
7d843b1802
Add filters to mark terms in product list
...
In order to add marks to some terms (category and tags) in the product list, I've added two new filters.
2017-11-22 10:47:51 +01:00
claudiulodro
9ec24731bb
Generalize child_is_in_stock
2017-11-21 15:06:35 -08:00
claudiulodro
99aefc91f3
Changes from feedback
2017-11-21 14:08:17 -08:00
Mike Jolley
16152bfcf0
Merge pull request #17849 from woocommerce/fix/17818-1
...
Update REST API schema for backwards compatibility with WP 4.9
2017-11-21 21:53:18 +00:00
Claudio Sanches
b74fc8963d
Update REST API schema for backwards compatibility with WP 4.9
...
Closes #17818
2017-11-21 16:15:51 -02:00
Claudio Sanches
f289d0e05c
Fixed how to delete meta data on REST API v2
2017-11-21 16:05:39 -02:00
The Dramatist
1783953f15
Admin metaboxes views translation escaping fix ( #17776 )
...
* Data escaped and validated. Plus translator comment documentation added.
* If it should be int then we should change the empty string default parameter to 0 as in 'if' condition checking 0 and empty string are same.
* Extra bracket removed.
* Indentation is fixed now.
* The taxonomy object should not be assigned to a variable before checking if this is a taxonomy or not.
* echo esc_attr__ replaced by esc_attr_e and visually tested.
* As I use WordPress VIP Coding Standard, they were marking them as warnings. But now it's fixed again.
* Escaping fix
* Extra Bracket Fix Again
2017-11-21 17:50:30 +00:00
Claudiu Lodromanean
5af225a2c8
Merge pull request #17846 from woocommerce/fix/17845
...
Slugs are encoded, so decode before outputting to the form
2017-11-21 09:27:03 -08:00
Mike Jolley
208b2d1b81
Slugs are encoded, so decode before outputting to the form
...
Fixes #17845
2017-11-21 16:50:33 +00:00
Mike Jolley
98bebd14f2
Hooks for columns and preview list tables
2017-11-21 16:22:43 +00:00
JeroenSormani
b96fea3e47
Add quantity arg to woocommerce_add_cart_item_data filter
2017-11-21 16:01:23 +01:00
Mike Jolley
78ddd97472
Merge pull request #17822 from woocommerce/fix/17733
...
Use WC_Query->get_query_vars() instead of WC_Query->query_vars
2017-11-21 14:00:53 +00:00
Mike Jolley
8b02185596
Merge pull request #17817 from JeroenSormani/exclude-virtual-from-shipping-tax
...
Exclude virtual tax classes from calcluation for shipping taxes
2017-11-21 13:21:13 +00:00
Mike Jolley
1c12459367
Merge pull request #17827 from woocommerce/fix/missing-text-domain
...
Fixed missing text domain in setup wizard
2017-11-21 13:13:59 +00:00
Claudio Sanches
34ec7a013f
Merge pull request #17835 from woocommerce/fix/17815
...
Checkout should store fee tax lines
2017-11-21 11:06:01 -02:00
Claudio Sanches
216ddc799a
Fixed VSCode auto align mistake
...
One more reason to go back to sublime
2017-11-21 10:53:15 -02:00
Mike Jolley
d9913c0d77
Checkout should store fee tax lines
...
Fixes #17815
2017-11-21 10:49:26 +00:00
Claudio Sanches
f395fcd2e8
Fixed missing text domain in setup wizard
2017-11-20 22:08:23 -02:00
Mike Jolley
830ef8ed73
Change status action buttons
2017-11-20 22:43:37 +00:00
claudiulodro
a73436bdcd
Merge remote-tracking branch 'origin/master' into HEAD
2017-11-20 14:43:12 -08:00
claudiulodro
afb74d4f7c
Should be a number
2017-11-20 14:24:55 -08:00
claudiulodro
cebe335dda
Update routine
2017-11-20 14:21:08 -08:00
Claudio Sanches
9681a331e9
Fixed coding standards
2017-11-20 20:19:09 -02:00
Mike Jolley
2e08bfdb33
Tweak where meta gets sanitized before passing to comparison function
2017-11-20 21:48:35 +00:00
Mike Jolley
698db6c131
When custom attributes are created, they are decoded. Make the values match.
...
When we create/link variations, the entities are decoded.
When the variation form is posted, the entities are encoded (esc_attr).
This decodes them so they match correctly. Fixes #17820
2017-11-20 20:51:32 +00:00
claudiulodro
03d51e5471
Tweak variable on backorder logic
2017-11-20 11:32:30 -08:00
claudiulodro
b64b26d030
Variable products are on backorder if all children are backordered
2017-11-20 11:19:06 -08:00
JeroenSormani
14e5bcd51d
Exclude virtual tax classes from calcluation for shipping taxes
2017-11-20 20:14:23 +01:00
Mike Jolley
86a1f11dd3
Hide actions by default so users have full control over it.
2017-11-20 18:10:15 +00:00
Mike Jolley
79250f274e
Switch order items placements
2017-11-20 17:24:00 +00:00
Mike Jolley
812e8928a1
Add methods back to billing/shipping columns
2017-11-20 17:06:08 +00:00
Claudio Sanches
5a858eb2b1
Use WC_Query->get_query_vars() instead of WC_Query->query_vars
...
Closes #17733
2017-11-20 14:40:56 -02:00
Mike Jolley
c8d1a46315
Default rounding to true.
2017-11-20 16:37:44 +00:00
Mike Jolley
ec5db3b123
When adding precision to taxes, don't round when adding precision.
2017-11-20 16:30:23 +00:00
Mike Jolley
80ffcfb45d
Add round param for `wc_add_number_precision`
...
Let’s us return the cent value without rounding to an integer.
2017-11-20 16:30:04 +00:00
Mike Jolley
d74d79471f
Don't hide columns based on view width
2017-11-20 15:51:25 +00:00
Mike Jolley
1bd30af0d0
Merge pull request #17803 from woocommerce/fix/17600
...
Regenerate download permissions when linking orders.
2017-11-20 12:38:46 +00:00
Claudio Sanches
13978e496b
Merge branch 'master' into feature/webhook-crud
2017-11-20 10:34:35 -02:00
Mike Jolley
34b7f67646
Merge pull request #17755 from woocommerce/feature/webhook-delivery-logging
...
Webhook Logging via WC_Logger
2017-11-20 12:29:43 +00:00
Mike Jolley
99d8d30ec0
Merge pull request #17810 from woocommerce/fix/17762
...
Apostrophe in product search breaks nav filters (invalid characters in hrefs & form data)
2017-11-20 12:16:01 +00:00
Mike Jolley
46775c2f7d
standards
2017-11-20 12:14:05 +00:00
The Dramatist
67aced7d62
Unused variable removed and some comment added. ( #17786 )
2017-11-20 11:47:16 +00:00
Mike Jolley
6e581a313d
Merge pull request #17802 from woocommerce/fix/17780
...
Image resize sizes array exist check
2017-11-20 11:32:27 +00:00
Mike Jolley
c05d8ac94f
Merge pull request #17799 from axelmm/patch-2
...
Access to importer parameters - DRY
2017-11-20 11:31:57 +00:00
Mike Jolley
bfdd5e2e45
Merge pull request #17800 from shivapoudel/tweak/api-request
...
Tweak - Fix IPN validation for PayPal as its notify URL has different case
2017-11-20 11:31:17 +00:00
Gerhard Potgieter
26c7cf15cd
Use single isset with multiple params instead of multiple isset's
2017-11-20 13:23:10 +02:00
Mike Jolley
dff41d3e83
Merge pull request #17793 from jamesckemp/patch-7
...
Minor grammar change
2017-11-20 11:17:34 +00:00
Mike Jolley
deeadccf78
Merge pull request #17790 from mensmaximus/patch-2
...
Fix method upload_dir in class WC_Admin_Post_Types
2017-11-20 11:16:05 +00:00
Gerhard Potgieter
95b669280a
Refactor wc_update_new_customer_past_orders to not call update_post_meta directly but use the datastore. Check if order has downloadable items and then regenerate permissions.
2017-11-20 08:44:42 +02:00
Gerhard Potgieter
1e887c5afa
Add deprecated param to docbloc
2017-11-20 08:13:55 +02:00
Gerhard Potgieter
0725ed11ac
Remove webhook comment migration method, not needed.
2017-11-20 08:12:49 +02:00
Gerhard Potgieter
0360801994
Add deprecated param to deprecated functions, use wc_print_r instead of print_r, PHPCS fix
2017-11-20 08:11:10 +02:00
Gerhard Potgieter
b7f76e1a1b
Make sure sizes array exist before checking for children
2017-11-20 07:50:35 +02:00
Shiva Poudel
4eaeff1729
Tweak - Fix IPN validation for PayPal as its notify URL has different case
2017-11-20 07:52:15 +05:45
axelmm
1a309856c3
Access to importer parameters - DRY
...
Access (read only) to params can be required in many cases when you're playing with importing.
In my case it was extending importer with filters and actions (procedural way - within original csv importer process) but it relates to objective way (extending importer class), too.
I wanted to know if 'update_existing' flag is set (other way than $_POST values) within filter 'woocommerce_product_importer_parsed_data' in parse/expand loop (called from class-wc-product-csv-importer.php 'set_parsed_data' method). Unfortunately this (and similiar) filter doesn't receive importer instance, only row data (raw, parsed and product object). Thanks to https://github.com/woocommerce/woocommerce/pull/15796 we have 'woocommerce_product_importer_formatting_callbacks' filter receiving importer instance. Unfortunately importer '$params' field is not accessible (protected in abstract). This PR resolves this simple problem - we can get this flag (and other params) before importing loops, processing rows etc.
2017-11-20 02:09:49 +01:00
James Kemp
5c03d9cbd5
Minor grammar change
2017-11-18 22:08:42 +00:00
Claudiu Lodromanean
106e6533f2
Merge pull request #17781 from woocommerce/fix/17629
...
When populating defaults, sanitize
2017-11-18 13:40:40 -08:00
Claudiu Lodromanean
89e729cd8e
Merge pull request #17784 from woocommerce/fix/17775-4.9
...
Fix 4.9 conflict with variation names
2017-11-18 13:37:20 -08:00
Alexandre GASNE
0018b4349e
Fix: Apostrophe wrongly escaped for price nav filter and widget nav filters
2017-11-18 20:11:53 +01:00
Michael Weichselgartner
ff8326b20e
Fix method upload_dir in class WC_Admin_Post_Types
...
Fix undefined variable `$uploads` in method `upload_dir` from class `WC_Admin_Post_Types` by reverting back to `$pathdata` as reported in #17789
2017-11-18 20:06:45 +01:00