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