Claudiu Lodromanean
5382134041
Merge pull request #18306 from unfulvio/issue-18223-filter-related-products
...
[#18223 ] Filter results for related products
2018-01-02 08:58:23 -08:00
Claudiu Lodromanean
f56fff18d9
Merge pull request #18322 from woocommerce/fix/importer-file-names
...
Importer file names
2018-01-02 08:10:20 -08:00
Mike Jolley
4e996ce268
Check for mb_detect_encoding support
2018-01-02 13:55:11 +00:00
Mike Jolley
5aee9f973c
Append timestamp to filename
2018-01-02 13:29:23 +00:00
Mike Jolley
46c51bb3a6
Allow filename to be set from javascript
2018-01-02 13:16:43 +00:00
Mike Jolley
1a65aed0d9
Merge branch 'pr/18272'
2018-01-02 11:57:45 +00:00
Mike Jolley
da281d21ab
Keep product check
2018-01-02 11:57:29 +00:00
Mike Jolley
3defa83a81
Missing spaces between city and state.
...
Closes #18305
2018-01-02 11:45:56 +00:00
Pathurs
119d3485b1
Remove port from string before checking IP
...
Fix a bug where if `$_['HTTP_X_FORWARDED_FOR']` contains a port, an `rest_is_ip_address()` returns `bool(false)`.
WooCommerce Version: 3.1.2
Observed results of functions and variables:
```
WC_Geolocation::get_ip_address()) string(0) ""
$_SERVER['X-Real-IP'] string(7) "Not set"
$_SERVER['HTTP_X_FORWARDED_FOR'] string(18) "203.41.99.98:50986"
trim( current( explode( ',', $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) ) string(18) "203.41.99.98:50986"
$_SERVER['REMOTE_ADDR'] string(12) "203.41.99.98"
```
Old result of calling `WC_Geolocation::geolocate_ip()`:
```array(2) { ["country"]=> string(0) "" ["state"]=> string(0) "" }```
New result of calling `WC_Geolocation::geolocate_ip()`:
```array(2) { ["country"]=> string(2) "AU" ["state"]=> string(0) "" }```
2018-01-02 11:54:26 +11:00
Alexander Minza
2307febfa1
Fixed Moldova states
2017-12-30 14:34:12 +02:00
Fulvio Notarstefano
b8beb703ef
[ #18223 ] Filter results for related products
2017-12-29 12:18:50 +08:00
Fulvio Notarstefano
3045e01f4e
[ #18223 ] Store related posts query arguments in transient
2017-12-29 12:12:26 +08:00
Andrew Minion
40d9efc4b8
add button for creating coupons to coupon blank state
...
Makes it more user-friendly for someone unfamiliar with WordPress/WooCommerce, and even for those who are familiar and don’t immediately see the typical “Add Coupon” button in the top left corner by the header.
2017-12-27 11:53:20 -05:00
Caleb Burks
0192fb9ef0
Add woocommerce_loop_product_link filter
2017-12-25 02:20:40 -06:00
Caleb Burks
2b4a756438
Update docs.
2017-12-25 02:16:10 -06:00
Caleb Burks
54fd171f04
Set default catalog_orderby in customizer
2017-12-24 23:39:44 -06:00
Paul Dechov
a87183503f
Fix api_subject option being set even when reroute_requests unchecked
2017-12-22 14:57:50 -05:00
Claudiu Lodromanean
eb60a17818
Merge pull request #18265 from Miller-Media/millermedia/scheduled_sales_actions
...
Added actions before & after scheduled sales initiation and completion
2017-12-22 10:23:02 -08:00
Matt Miller
69d9f1f6ff
Updated spacing
2017-12-22 09:58:05 -08:00
claudiulodro
611ca58d09
Change sanitize function
2017-12-22 09:46:57 -08:00
Claudiu Lodromanean
20f698db2b
Merge pull request #18219 from woocommerce/fix/18197
...
Compare the date modified when loading session data.
2017-12-22 08:17:14 -08:00
Jason Kytros
a21ada68cd
Fix coupon 'Excluded Categories' restriction evaluation
2017-12-22 11:21:47 +02:00
Claudio Sanches
d69f67bfd5
Auto fixed minor coding standards with PHPCBF
2017-12-21 18:18:04 -02:00
Claudio Sanches
514087e4aa
Fixed coding standards
2017-12-21 18:10:55 -02:00
Claudio Sanches
2198eb136c
Remove Postcode from Suriname
2017-12-21 17:49:56 -02:00
Claudio Sanches
2f1c00b773
Merge pull request #18256 from woocommerce/fix/18246
...
Use text color for email links
2017-12-21 17:34:38 -02:00
Claudio Sanches
1d132b8b9d
Merge pull request #18263 from woocommerce/fix/18244
...
Process embed shortcode in short description
2017-12-21 17:27:34 -02:00
claudiulodro
2d88654a0a
Always use contrasting color for links
2017-12-21 11:14:14 -08:00
Mike Jolley
e9105bd37d
Fix tests
2017-12-21 19:00:55 +00:00
claudiulodro
90dd9179ac
Remove duplicate unautop
2017-12-21 10:43:02 -08:00
Matt Miller
4b83514e28
Added actions before and after the scheduled sales initiation and completion
2017-12-21 10:33:08 -08:00
claudiulodro
9dc9fffc3a
Process embed shortcode in short description
2017-12-21 10:19:15 -08:00
Claudio Sanches
71a1fd319e
Fixed coding standards
2017-12-21 15:53:12 -02:00
Claudio Sanches
c18cc47286
Format prices while exporting products
2017-12-21 15:43:45 -02:00
Claudiu Lodromanean
4f94d9dbbc
Merge pull request #18247 from AdamQuadmon/wc-exporter-custom-filters
...
Add product export row action hook
2017-12-21 06:02:56 -08: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
Luciano Amodio
1b42973b75
Add export ajax query args and filename filter hooks
...
`woocommerce_export_get_ajax_query_args` let you pass args to ajax actions
`woocommerce_{$this->export_type}_export_get_filename` let you change the filename
2017-12-20 21:20:02 +01:00
Luciano Amodio
865efa3736
Add product export row action hook
...
having this hook is possible to actually use the woocommerce_product_export_product_query_args filter
```
add_action('woocommerce_product_export_row', 'export_custom_product');
add_filter( 'woocommerce_product_export_product_query_args', 'export_product_query_args');
// https://github.com/woocommerce/woocommerce/wiki/wc_get_products-and-WC_Product_Query
add_filter( 'woocommerce_product_data_store_cpt_get_products_query', 'handle_custom_query_var', 10, 2 );
function export_custom_product() {
$args = [
'show_option_all' => 'Custom',
'taxonomy' => 'pa_custom',
'name' => 'custom',
'orderby' => 'name',
'order' => 'ASC',
'selected' => isset($_REQUEST['custom']) ? $_REQUEST['custom'] : '',
'show_count' => true,
'hide_empty' => true,
'menu_order' => false
];
?>
<tr>
<th scope="row">
<label for="custom">Filter by Custom</label>
</th>
<td>
<?php wp_dropdown_categories($args); ?>
</td>
</tr>
<?php
}
function export_product_query_args($args) {
$args['custom'] = 'default';
if ( ! empty( $_POST['form'] ) ) {
$values = explode('=', $_POST['form']);
if('custom' === $values[0]) {
$args['custom'] = wp_unslash( $values[1] );
}
}
return $args;
}
function handle_custom_query_var( $query, $query_vars ) {
if ( ! empty( $query_vars['custom'] ) ) {
$query['tax_query'][] = array(
'taxonomy' => 'pa_ custom',
'field' => 'id',
'terms' => esc_attr( $query_vars['custom'] )
);
}
return $query;
}
```
2017-12-20 20:13:10 +01:00
Claudiu Lodromanean
59ccb00e49
Merge pull request #18242 from lipemat/fix/date-args-wpcli-wc-product_review
...
Fix --date_created and --date_created_gmt args for wc product_review
2017-12-20 10:07:18 -08:00
lipemat
c4cb7d146a
support --date_created and --date_created_gmt via wp-cli wc product_review create
2017-12-20 09:54:42 -05:00
Alexander Minza
fca5ef8dd8
Added Moldova states
2017-12-19 23:44:25 +02:00
Claudiu Lodromanean
5349ffbb47
Merge pull request #18233 from woocommerce/fix/18232
...
Fixed file log dates and implement better date formatting
2017-12-19 11:53:06 -08:00
Claudio Sanches
068418124e
Merge pull request #18203 from AdamQuadmon/wc-exporter-limit-filter
...
Add WC Product CSV Exporter limit filter
2017-12-19 15:42:38 -02:00
Claudio Sanches
f40f3291f8
Fixed file log dates and implement better date formatting
...
Closes #18232
2017-12-19 15:38:50 -02:00
Luciano Amodio
bec2e939b4
change filter name
2017-12-19 18:25:16 +01:00
Luciano Amodio
8983b38598
change filter name and position `woocommerce_product_export_get_limit`
2017-12-19 17:18:55 +01:00
Luciano Amodio
f383886fb5
fix not needed double quotes
2017-12-19 14:51:23 +01:00
Luciano Amodio
4d267c0dbb
Rename exporter filter to `woocommerce_product_export_init`
...
moving it in the abstract constructor and let it be more generic now is possible to do:
```
add_filter( 'woocommerce_product_export_init', function ( $exporter ) {
if( 'product' === $exporter->export_type ) {
$exporter->set_limit(100);
}
});
2017-12-19 13:50:37 +01:00
Fulvio Notarstefano
e718d7bd40
[ #18223 ] Rename var to a more apt name
2017-12-19 17:19:10 +08:00
Fulvio Notarstefano
ee123fb739
[ #18223 ] Add argument to woocommerce_product_related_posts_query filter
2017-12-19 10:18:33 +08:00
Claudiu Lodromanean
e898623668
Merge pull request #18174 from woocommerce/fix/18170
...
Adjusts price filter code to exclude taxes to match how prices are stored in the DB
2017-12-18 11:13:44 -08:00
Claudiu Lodromanean
b494e45865
Merge pull request #18193 from woocommerce/fix/16940
...
Do not load SESSION class during CRON events
2017-12-18 10:47:07 -08:00
Claudiu Lodromanean
aa85dd03d6
Merge pull request #18214 from WPprodigy/fix-duplicate-checkout-ids
...
Prevent duplicate IDs on checkout page
2017-12-18 08:49:40 -08:00
Mike Jolley
6fd3d9c100
Compare the date modified when loading session data.
2017-12-18 16:43:18 +00:00
Claudiu Lodromanean
052fbc73c6
Merge pull request #18212 from WPprodigy/hide-add-coupon
...
Only show 'Apply coupon' in admin if coupons are enabled
2017-12-18 08:41:12 -08:00
Claudio Sanches
d2404a9e63
Fixed chmod
2017-12-18 14:12:53 -02:00
Shiva Poudel
0432b58182
Remove unwanted transient then were not set
2017-12-18 20:03:08 +05:45
Caleb Burks
82c5975b37
Prevent duplicate IDs on checkout page
2017-12-17 22:43:51 -06:00
Caleb Burks
0d9e55d2ec
Hide Apply coupon in admin if coupons are disabled
2017-12-17 22:21:08 -06:00
Luciano Amodio
27dd962be7
Add WC Product CSV Exporter limit filter
...
with tons of products is nice to have an way to change the limit for the exporter (now is set to 50)
'''php
function wc_exporter_set_limit($limit) {
return 1000;
}
add_filter( 'woocommerce_product_export_product_default_limit', 'wc_exporter_set_limit');
'''
2017-12-16 13:49:21 +01:00
Claudiu Lodromanean
906efe1ffc
Merge pull request #18189 from woocommerce/fix/17897
...
Add getter for tax_display_cart variable, with filter
2017-12-15 08:44:43 -08:00
Mike Jolley
1901493eee
Should be pulic.
2017-12-15 15:18:17 +00:00
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