Commit Graph

31754 Commits

Author SHA1 Message Date
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
Rodrigo Primo 0785f2b72a Bump default WC API version used when creating webhook
This commit bumps the default WC API version used when users are creating a new webhook. Before this change the default version would be v2, and after this change it is v3 which is the latest API version.

In the future we might want to create a method in WC_API class or somewhere else that returns the latest WC API version and use it in `includes/class-wc-webhook.php` instead of hard-coding the version number.
2019-04-25 11:41:31 -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
Klaus Paiva 529a5701c1 Merge branch 'master' of https://github.com/woocommerce/woocommerce into fix-for-margin-on-email-header-image 2019-04-25 10:43:18 +10:00
Claudio Sanches 79ff1b10e7 Stop removing backslash from passwords 2019-04-24 19:37:07 -03:00
Claudio Sanches 936de39725
Merge pull request #23267 from woocommerce/updates-readme.txt
Updates readme.txt
2019-04-24 17:41:03 -03: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 7795ac53ff
Merge pull request #23486 from woocommerce/fix/23475
Improved batching for _wc_rating_count lookup table
2019-04-24 16:37:00 +01:00
Mike Jolley 17fc41c3ef
Merge pull request #23491 from woocommerce/update/screenshots
Update screenshots
2019-04-24 16:29:35 +01:00
Mike Jolley 9776e346b3 cancel_all 2019-04-24 16:28:28 +01:00
Claudio Sanches df2399ea63 Update screenshots 2019-04-24 12:27:53 -03:00
Mike Jolley 1efcecddc5
Merge pull request #23469 from dfeuster/master
corrected anchor href from old codex to new location
2019-04-24 16:11:32 +01:00
Mike Jolley ac0229c68a
Merge pull request #23397 from oskosk/update/jetpack-tracks-client-library-filepath
Update Jetpack Tracks Client library reference to not have a hardcoded directory path.
2019-04-24 16:08:54 +01:00
Mike Jolley 9bf2081869
Merge pull request #23477 from woocommerce/fix/23466
Default category sorting order should be overwritten if defined by get_terms
2019-04-24 16:00:33 +01:00
Mike Jolley 37e362047c
Merge pull request #23483 from woocommerce/fix/23481
Correct postcode validation on account page
2019-04-24 15:57:05 +01:00
Mike Jolley 087f490b10
Merge pull request #23489 from woocommerce/fix/23414
update action scheduler to version 2.2.5
2019-04-24 15:48:58 +01:00
Mike Jolley e7ea67da03
Merge pull request #23399 from woocommerce/renovate/woocommerce-block-library-2.x
Update dependency @woocommerce/block-library to v2.0.1
2019-04-24 15:42:16 +01:00
Mike Jolley 0962b447f6
Merge pull request #23482 from woocommerce/fix/23473
Fix attribute matching in `get_attribute_taxonomy_name`
2019-04-24 15:40:13 +01:00
Mike Jolley 3159663738
Merge pull request #23450 from woocommerce/fix/onsale-z-index
Add z-index to onsale for twentyseventeen
2019-04-24 14:58:28 +01:00
Mike Jolley 4518bff6b1
Merge pull request #23444 from woocommerce/fix/23443
Order webhook check order type args if we should skip
2019-04-24 14:57:07 +01:00
Mike Jolley 98dfb8e8c2
Merge pull request #23446 from woocommerce/fix/23439
Product list table shipping class tax_query
2019-04-24 14:56:00 +01:00
Mike Jolley c42750504d
Merge pull request #23377 from woocommerce/fix/23374
[3.6] Fix product class name theme conflict due to missing global
2019-04-24 14:54:34 +01:00
Mike Jolley 2810e6cdf3
Merge pull request #23451 from woocommerce/fix/23387
Array handling in `get_catalog_ordering_args` to prevent notices
2019-04-24 14:52:47 +01:00
Mike Jolley b2e428d4cc
Merge pull request #23455 from woocommerce/update/23388
During initial product lookup table generation, set an option
2019-04-24 14:51:47 +01:00
Mike Jolley fbdc06188a
Merge pull request #23449 from woocommerce/fix/23436
Wrap wc_terms_clauses query in brackets to group meta_key where clause
2019-04-24 14:50:41 +01:00
Mike Jolley 9d9f7bec59
Merge pull request #23383 from woocommerce/update/update-notices
[3.6] More useful update notices if cron is disabled
2019-04-24 14:49:44 +01:00
Mike Jolley 3d2be7a63f
Merge pull request #23465 from woocommerce/fix/23403
Updated the meta_key for average rating when generating lookup tables.
2019-04-24 14:47:47 +01:00
Mike Jolley 95817d8f4b
Merge pull request #23467 from woocommerce/fix/selectWoo-conflicts
Fixed conflicts in SelectWoo .min files
2019-04-24 14:45:20 +01:00
Mike Jolley e6e5206771
Merge pull request #23445 from woocommerce/fix/23415
Fixed incorrect sprintf specifier which caused missing closing <a> tag.
2019-04-24 14:40:41 +01:00
Mike Jolley 7e091b2a0d
Merge pull request #23457 from woocommerce/fix/23407-2
Fixed use of get_term_meta in REST API endpoints
2019-04-24 14:34:28 +01:00
Mike Jolley ab5ff7576d
Merge pull request #23380 from woocommerce/fix/23378
Added missing wp_unslash to order data meta box save
2019-04-24 14:31:14 +01:00
Ron Rennick fc86e574cd update action scheduler to version 2.2.5 2019-04-24 10:08:06 -03:00
Mike Jolley 192fecc0d8 Remove filter only needs priority
Co-Authored-By: Dragoș Mocrii <dragosmocrii@users.noreply.github.com>
2019-04-24 13:54:12 +01:00
Mike Jolley 6837977e8c
Merge pull request #23382 from woocommerce/renovate/mocha-6.x
Update dependency mocha to v6.1.4
2019-04-24 13:50:43 +01:00
Mike Jolley eda67e60a2
Merge pull request #23367 from woocommerce/renovate/stylelint-config-wordpress-14.x
Update dependency stylelint-config-wordpress to v14
2019-04-24 13:50:03 +01:00
Mike Jolley 6176f565d7 Improved batching for _wc_rating_count lookup table 2019-04-24 13:37:15 +01:00
Mike Jolley 618e98f4e0 Avoid queue on init 2019-04-24 13:00:23 +01:00
Mike Jolley db67172b75 Queue single event only as needed 2019-04-24 13:00:16 +01:00
Mike Jolley c523c379b4 Correct postcode validation on account page 2019-04-24 12:23:48 +01:00
Mike Jolley 76f0c015dd Fix attribute matching in get_attribute_taxonomy_name 2019-04-24 12:05:44 +01:00
Mike Jolley f24a607842 Force delete rather than trash variations on product type change 2019-04-24 11:16:41 +01:00
Mike Jolley 8ffc4fca71 menu_order test 2019-04-24 10:45:33 +01:00
Mike Jolley 8fe68400be name_num tests 2019-04-24 10:44:22 +01:00
Mike Jolley 121f06b030 Added way of telling if default is in use or not 2019-04-24 10:39:00 +01:00
Mike Jolley 3945aae94e Test cases for sorting 2019-04-24 10:38:38 +01:00
oskosk 120fdb2028 Use jetpack_require_lib_dir() instead of JETPACK__PLUGIN_DIR 2019-04-23 20:40:25 -03:00
Daniel Feuster dfe8ac43bf corrected anchor href from old codex to new location 2019-04-23 16:54:44 -05:00
Claudio Sanches 59f63f1b22 Return WP_Error messages from wp_insert_user() 2019-04-23 18:52:22 -03:00
Claudio Sanches 1a403147ca Fixed conflicts in SelectWoo .min files 2019-04-23 16:39:50 -03:00