Commit Graph

4942 Commits

Author SHA1 Message Date
Claudio Sanches 02aafa1948
Merge pull request #23911 from woocommerce/update/23887
Update auto username generation description
2019-06-19 20:22:02 -03:00
Claudio Sanches 569e8a5b8f
Merge pull request #23925 from webdados/patch-2
Display Status > Logs timestamp with the Y-m-d H:i:s format
2019-06-19 19:11:13 -03:00
rmalviya 4190e9fd4b Add missing post_type=product in url
Show Products->Categories active when clicked on "Make Default" link
under any product category and fix #23923.
2019-06-14 12:28:08 +05:30
Marco Almeida 3b7be608e4
Display Status > Log timestamp with the Y-m-d H:i:s format
Display WooCommerce > Statis > Log timestamp, when using WC_Log_Handler_DB, with the Y-m-d H:i:s format instead of the WordPress global date and time format options, because we need more detail on the shown timestamps and that might not be compatible with what we want for our global options.
2019-06-13 10:58:41 +01:00
Claudio Sanches 3ce6acec74 Updated outdated codex URLs 2019-06-12 19:31:01 -03:00
Gerhard 84b6fa144f Update description for automatic username generation to reflect how it actually works. 2019-06-12 12:13:41 +02:00
Claudio Sanches 2e90e9ab65
Merge pull request #23743 from Sisanu/issue-23717-enhancement-hook
Implement the info & extra actions new filter for Product gallery
2019-05-28 18:22:33 -03:00
Rodrigo Primo 000c95ea88
Merge pull request #23659 from woocommerce/add/wc-admin-install-nudge
Add wc-admin notice.
2019-05-27 12:29:43 -03:00
Iulia Cazan f49cec5108 Coding standard updates 2019-05-23 08:58:13 +03:00
Claudio Sanches 17da960abe
Merge pull request #23137 from woocommerce/fix/23051
Change coupon amount field type based on coupon type
2019-05-22 21:19:03 -03:00
Claudio Sanches 196d5e77cb
Merge pull request #23041 from woocommerce/update/21701
Add hooks for helper subscription changes
2019-05-21 18:27:15 -03:00
Iulia Cazan 051277d26e Rename the hook 2019-05-21 09:20:46 +03:00
Iulia Cazan 1187563c93 Transform the filter into action, rewrite the piece of code to pass the coding standards, remove markup restriction. 2019-05-21 09:18:15 +03:00
Timmy Crawford 01f1749684 Change version compare. 2019-05-17 13:53:38 -07:00
Timmy Crawford 43cd7dc04c Add wc-admin notice. 2019-05-17 13:53:37 -07:00
Rodrigo Primo f8642f2fbb Remove code duplication from OBW payment gateway logic
In #23690 we implemented a few changes to the logic to decide which
payment gateways to display in the onboarding wizard. When working on
this code, we noticed that there was a bit of duplication in it that was
not necessary (see
https://github.com/woocommerce/woocommerce/pull/23690#discussion_r284004924).
We opted to remove this duplication in a different commit, since that PR
was included in a patch release.
2019-05-17 10:32:06 -03:00
Iulia Cazan a1ac64aa30 Implement a new filter that allows for custom info or extra actions to be exposed for each of the attachments selected in the Product gallery 2019-05-17 12:03:40 +03:00
Gerhard Potgieter afd7e72c03
Merge pull request #23690 from woocommerce/update/obw-stripe
Update OWB Payment Gateway structure
2019-05-16 18:26:29 +02:00
Gerhard 0eef8654f6 payapal enabled setting defaults to false 2019-05-16 16:08:46 +02:00
Gerhard 99b183e5bb Refactor paypal and stripe combined logic, add fallback to specified settings when previously saved settings were detected by no option present for the enabled setting. 2019-05-16 15:35:29 +02:00
Gerhard b0a831b64f OWB: Check PayPal by default when Stripe not available. 2019-05-16 15:26:58 +02:00
Gerhard Potgieter 173b706ccb
Merge pull request #23734 from woocommerce/fix/23676-2
Dashboard stock queries should only include published products
2019-05-16 15:16:18 +02:00
Rodrigo Primo a247e08ad0 Fix query used to get the number of low stock products in the dashboard
This commits changes the query used to get the number of low stock
products in the WooCommerce Status widget in the admin dashboard. This
query should only count published products and ignore products with
other statuses to match the behavior used in the low stock report.
2019-05-16 09:45:44 -03:00
Rodrigo Primo 6e976c7f0c Remove unnecessary conditions from out of stock query
In the query to get the number of out of stock products for the admin
dashboard widget, it is not necessary to use `1=1` and also not
necessary to use `posts.post_type IN ( 'product', 'product_variation' )`
as only products are added to wp_wc_product_meta_lookup.
2019-05-16 09:41:52 -03:00
Gerhard Potgieter 9f0e1a6e64
Merge pull request #23534 from woocommerce/fix/233880-alt
Revise update stock logic
2019-05-16 14:15:13 +02:00
Gerhard b694efcb63 Klarna should not be featured. 2019-05-14 07:36:15 +02:00
Gerhard e131b01133 Modify payment gateway placement, defaults and new logos. 2019-05-13 15:54:44 +02:00
Gerhard 36cab83d76 Update out of stock dashboard widget to use same query as in reporting, this only counts published products. 2019-05-13 11:02:50 +02:00
Gerhard Potgieter 32769d0d76
Merge pull request #23625 from woocommerce/fix/23549
Use attribute's orderby option to sort terms in product's edit screen
2019-05-10 11:19:08 +02:00
Gerhard Potgieter 18e2332cfc
Merge pull request #23590 from woocommerce/fix/23587
Stock sorting issue when Yoast installed
2019-05-10 11:17:26 +02:00
Gerhard Potgieter 902cc1f0b0
Merge branch 'master' into fix/23606 2019-05-10 11:12:54 +02:00
Gerhard Potgieter 364093056d
Merge pull request #23580 from woocommerce/report-bug-link
Change the link of the "Report a bug" button
2019-05-10 10:59:24 +02:00
Gerhard Potgieter 984357fb41
Merge pull request #23597 from woocommerce/fix/23509
Added confirmation before saving empty list of countries to sell to.
2019-05-10 10:56:13 +02:00
Gerhard Potgieter 07ea25377a
Merge pull request #23517 from woocommerce/fix/23506
Fix dismiss button in two WC admin notices
2019-05-10 10:37:01 +02:00
Gerhard Potgieter af574f6484
Merge pull request #23456 from woocommerce/fix/23447
Disable export of scheduled action posts
2019-05-10 10:27:34 +02:00
Gerhard 84b75c31ad Three equals 2019-05-09 12:57:25 +02:00
Claudio Sanches 490219de7c Use attributes orderby options to sort terms in product's edit screen 2019-05-06 20:39:36 -03:00
Gerhard 48e6083adc Restore param and return for backward compatibility. 2019-05-06 14:47:27 +02:00
Gerhard b1e2a0119a Fix system status connected to woocommerce.com status 2019-05-06 10:11:59 +02:00
Peter Fabian 98edbd2f78 Added confirmation before saving an empty list of countries to sell to in general WC settings. 2019-05-02 21:26:29 +02:00
Peter Fabian 3caee4451d Fixed PHPCS. 2019-05-02 21:20:08 +02:00
Peter Fabian b891bfe238 Removed unused variables. 2019-05-02 17:53:50 +02:00
Gerhard 48000e63a1 Move remove_ordering_args calls from the_posts filter to query_filters method, this avoids conflicts with other plugins also hooking in and modify the args. 2019-05-02 14:31:30 +02:00
Rodrigo Primo 5ed76fd067 Change the link of the "Report a bug" button
Changes the link of the "Report a bug" button from https://github.com/woocommerce/woocommerce/issues?state=open to https://github.com/woocommerce/woocommerce/issues/new?template=Bug_report.md. When users click on this button, they should go directly to the new issue page, instead of the page that list issues.
2019-05-01 22:58:55 -03:00
Mike Jolley a7279bd261 Revert double saving change 2019-04-26 17:19:41 +01:00
Rodrigo Primo 00128fec58 Fix dismiss button in two WC admin notices
The dismiss button in the WC admin notices `legacy_shipping` and `no_shipping_methods` was not fully clickable due to a custom CSS applied to them. This custom CSS was used to add a background image to those notices. More specifically, the problem was caused by the use of `position: relative` applied to `<p>` elements. I couldn't find an easy way to fix this problem keeping the custom background image, so I opted to remove it to make the design of all notices identical (besides the background image, the custom CSS also added a few other differences to those to notices like the font size of the notice title).
2019-04-25 14:19:35 -03:00
Rodrigo Primo 5c1936bfdd PHPCS fixes 2019-04-25 14:12:45 -03:00
Peter Fabian abf1b7450d Save the product before calling wc_update_product_stock to ensure data consistency and set quantity in local copy after saving it to db in wc_update_product_stock.
wc_update_product_stock reads product from the db twice, so if it's out of sync, strange things are happening.
Also, changes dependant on stock status might get reverted if local copy of $product is not updated after wc_update_product_stock.
2019-04-25 14:57:08 +02:00
Mike Jolley 036a91d20c
Merge pull request #23484 from woocommerce/update/marketplace-queue-handling
Marketplace queue handling - avoid recurring event
2019-04-24 17:00:40 +01:00
Mike Jolley 9776e346b3 cancel_all 2019-04-24 16:28:28 +01:00