Commit Graph

16836 Commits

Author SHA1 Message Date
Lee Willis 0079312e1c Remove erroneous "break" 2018-11-27 11:20:27 +00:00
Rodrigo Primo 242641e931
Merge pull request #21987 from webdados/patch-2
Fix Angolan "State" label to "Province"
2018-11-23 11:21:08 -02:00
Rodrigo Primo 05bae41b24 Fix phpcs violations automatically using phpcbf 2018-11-23 11:17:43 -02:00
Rodrigo Primo 76b7f5b381
Merge pull request #21995 from woocommerce/fix/21790
When only selling to one country set customer location to that country
2018-11-22 12:06:12 -02:00
Rodrigo Primo b3bfb77edb fix phpcs error 2018-11-22 10:58:55 -02:00
Rodrigo Primo 12bac0f2b6 Merge branch 'master' into fix/21790 2018-11-22 10:57:47 -02:00
Rodrigo Primo a096e2729a
Merge pull request #21936 from woocommerce/fix/21878
Use wp_kses_post for sanitizing product names instead of esc_html
2018-11-22 10:54:57 -02:00
Claudiu Lodromanean dd2ef82dc8
Merge pull request #21797 from jdmadison/fix-21796
Add woocommerce_hold_stock_minutes check back to  calculation
2018-11-21 13:11:20 -08:00
Claudiu Lodromanean b85598a576
Merge pull request #22001 from woocommerce/fix/21792
Fix missing lost password notices
2018-11-21 13:06:39 -08:00
Claudiu Lodromanean e0cf359378
Merge pull request #22000 from woocommerce/fix/21990
Fix arialabelledby attribute for quantity selectors
2018-11-21 13:02:53 -08:00
Claudiu Lodromanean 152b609c35
Merge pull request #21981 from woocommerce/fix/21422
Log file timestamp should be UTC
2018-11-21 12:59:46 -08:00
Rodrigo Primo 171e90815b
Merge pull request #21985 from webdados/patch-1
Fix locale for São Tomé and Príncipe
2018-11-21 15:25:08 -02:00
Rodrigo Primo 2c8d006c37 Update PHPCompatibility sniff names
The name of some sniffs changed in the most recent PHPCompatiblity version. This commit update all instances where those names are used in WooCommerce codebase.
2018-11-21 11:08:26 -02:00
Rodrigo Primo bfa9424d17 Update WPCS sniff name
The name of one of the WPCS sniffs changed from WordPress.CSRF.NonceVerification.NoNonceVerification to WordPress.Security.NonceVerification.NoNonceVerification. This commit updates all instances where this sniff is used in WooCommerce codebase.
2018-11-21 11:07:05 -02:00
Rodrigo Primo e467737653 phpcs fixes 2018-11-21 11:06:42 -02:00
Gerhard f58fcf6b3b Add woocommerce_before_lost_password_form and woocommerce_after_lost_password_form actions and hook into woocommerce_output_all_notices 2018-11-21 10:32:28 +02:00
Gerhard 8d6d95935a Populare arealabelledby attribute by actually passing the product_name in the $args. 2018-11-21 09:49:38 +02:00
claudiulodro ebea6b96be When only selling to one country set customer location to that country 2018-11-20 12:07:57 -08:00
Claudiu Lodromanean ac80e6683e
Merge pull request #21947 from franticpsyx/issue-21845
Refine new order-again logic
2018-11-20 10:53:40 -08:00
Marco Almeida 276d6f3526
Fix Angolan "State" label to "Province"
In Angola "states" are called "Províncias" (or "Provinces" in English)
2018-11-20 14:17:11 +00:00
Marco Almeida b19941dae4
Fix locale for São Tomé and Príncipe
Remove Postal Code for São Tomé and Príncipe, because they still don't have it in place. Also the stat field should have "District" as label.
2018-11-20 13:29:45 +00:00
Marco Almeida 9282c1a619
Remove postal code for Angola
Angola still doesn't have a postcode system in place.
References:
https://pt.wikipedia.org/wiki/C%C3%B3digo_postal#_Angola
https://en.wikipedia.org/wiki/List_of_postal_codes
2018-11-20 12:36:45 +00:00
Gerhard 47226ae2bf PHPCS fixes 2018-11-20 12:54:59 +02:00
Gerhard c05c17d947 Timestamp should be in UTC since we use date( 'c' ) for outputting the date/time in the file. 2018-11-20 12:46:52 +02:00
Claudiu Lodromanean 0cf264dc72
Merge pull request #21949 from franticpsyx/issue-21948
Parse query using '$wpdb->prepare' before querying
2018-11-19 13:13:53 -08:00
Claudiu Lodromanean b585553ee9
Merge pull request #21864 from Prospress/fix/21457
allow export and display of attribute labels containing html special characters
2018-11-19 12:20:41 -08:00
Claudiu Lodromanean 0ddfbbe1ac
Merge pull request #21954 from willgorham/fix/21793
Fix hardcoded db table name [Fixes #21793]
2018-11-19 12:10:55 -08:00
Claudiu Lodromanean 4d93bf60e1
Merge pull request #21930 from woocommerce/update/21915
Add WP 5.0 checks to Wootenberg notices
2018-11-19 11:47:43 -08:00
Will Gorham 4b1dd35dda Revert "phpcs" (bc4010) - incorrect phpcs fixes
This reverts commit bc4010cfc1.
2018-11-16 15:20:57 -05:00
Will Gorham b53fe55299 More phpcs 2018-11-16 14:47:31 -05:00
Will Gorham bc4010cfc1 phpcs 2018-11-16 14:15:18 -05:00
Will Gorham 20526cba08 Fix hardcoded db table name 2018-11-16 14:15:04 -05:00
Valerie 94275039cd OBW: Fix ShipStation plugin info so install works 2018-11-16 14:06:58 -05:00
Manos Psychogyiopoulos 60b84c09aa Parse query using '$wpdb->prepare' before querying 2018-11-16 16:11:31 +02:00
Manos Psychogyiopoulos 059d803484 Rename 'woocommerce_add_cart_item' to 'woocommerce_add_order_again_cart_item' 2018-11-16 15:27:30 +02:00
Manos Psychogyiopoulos 520a7e1a27 Pass order-again items to 'woocommerce_ordered_again' action 2018-11-16 15:25:35 +02:00
Manos Psychogyiopoulos c44809422b Pass order-again cart contents to 'woocommerce_ordered_again' action 2018-11-16 15:23:08 +02:00
claudiulodro d09e9eb95c Use wp_kses_post for sanitizing product names instead of esc_html 2018-11-15 11:42:22 -08:00
Claudiu Lodromanean 8f145c70d7
Merge pull request #21934 from Prospress/fix/21931
use lower case for Croatian Kuna symbol
2018-11-15 10:51:22 -08:00
claudiulodro 180ead91e4 Update notice wording for wp 5.0 2018-11-15 10:19:51 -08:00
Claudiu Lodromanean f13c62c5ea
Merge pull request #21928 from woocommerce/fix/21926
Initialise $changes before usage.
2018-11-15 10:06:38 -08:00
Claudiu Lodromanean 0f72b5b6b1
Merge pull request #21923 from woocommerce/add/db-upgrade-tools
Update database tools option
2018-11-15 10:02:14 -08:00
Ron Rennick c911d90614 use lower case for Croatian Kuna symbol 2018-11-15 13:36:36 -04:00
Claudiu Lodromanean 314088acad
Merge pull request #21836 from Prospress/fix/21775
use multisite blog prefix in `fk_wc_download_log_permission_id` constraint name
2018-11-15 09:13:14 -08:00
Claudiu Lodromanean 9fab802ff3
Merge pull request #21706 from nishitlangaliya/issue-21657
fix: Various 'Table does not exist' in WooCommerce status
2018-11-15 09:12:51 -08:00
Gerhard f2230da7d2 Use get_bloginfo( 'version' ) instead of wp_version global 2018-11-15 15:27:58 +02:00
Gerhard 341c0a8277 Add wp 5.0 checks to wootenberg notice checks. 2018-11-15 15:26:19 +02:00
Gerhard a3f3b282ac Initialise $changes before usage. 2018-11-15 14:36:56 +02:00
Gerhard 6a2b511731 Change wording to update instead of upgrade. 2018-11-15 12:10:17 +02:00
Gerhard 051fb5be36 Add a Upgrade database option to the tools tab. If clicked it will do a forced DB upgrade. 2018-11-15 12:03:12 +02:00