Commit Graph

674 Commits

Author SHA1 Message Date
vedanshujain d7bac6313c Add suffix "Insecure" to indicate that this method is insecure 2020-02-07 17:54:54 +05:30
Christopher Allford 6ad091a9b7 Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages 2020-01-28 21:21:29 -08:00
Claudio Sanches 10cdbf88be Use shop base address as default customer location 2020-01-14 16:29:48 -03:00
Claudio Sanches cfeb07eaf7 Removed legacy code 2020-01-10 13:18:25 -03:00
Rodrigo Primo 94373f78ea Fix WordPress.Arrays.MultipleStatementAlignment errors automatically using phpcbf 2019-12-20 13:51:26 -03:00
Rodrigo Primo ae1717cd4f Fix PHPCS violations automatically using PHPCBF 2019-12-13 17:51:14 -03:00
Rodrigo Primo f06ad5d78a Replace removed WordPress.Security.NonceVerification.NoNonceVerification
WordPress Coding Standard 2.0 removed the sniff
WordPress.Security.NonceVerification.NoNonceVerification:

```
The WordPress.Security.NonceVerification sniff used the same error code for both an error as well as a warning.
The old error code NoNonceVerification is no longer used.
The error now uses the Missing error code, while the warning now uses the Recommended error code.
```

(from
d45f5e5cf3/CHANGELOG.md (200-rc1---2018-12-31))

This commit updates WooCommerce code and replaces all instances where WordPress.Security.NonceVerification.NoNonceVerification verification was used with either WordPress.Security.NonceVerification.Missing or
WordPress.Security.NonceVerification.Recommended. In a few cases WordPress.Security.NonceVerification.NoNonceVerification was used but was not needed, so instead of replacing the sniff, the line was removed. In two other cases, I removed other unrelated sniffs that were not needed.
2019-12-13 17:45:32 -03:00
Claudio Sanches 02ae29c8fc Fixed support to older versions of WordPress 2019-12-10 22:12:50 -03:00
dsmithweb 5a17c63cc9 Update links 2019-12-10 18:41:55 -06:00
Peter Fabian 309c48ab0e Deprecated old cache function and replaced it with a new one. 2019-11-28 14:03:57 +01:00
Yash Kapoor 83b5450ceb
Update html-admin-page-shipping-zone-methods.php
Fixed escaping function for attribute values.
2019-08-28 19:23:01 +05:30
Marc Coupland bc42517c1a Fixed incorrect page setting id 2019-08-23 11:16:29 +01:00
Gerhard Potgieter eee56a254f
Merge pull request #23479 from parmarhardip/23381
enhance #23381 Prevent the Cart, checkout and my account page from be…
2019-07-14 19:49:37 +02:00
Claudio Sanches 56240c9633 Prevent saving empty tax classes into the database 2019-07-09 15:23:46 -03:00
Claudio Sanches db06d3dbae Merge branch 'master' into update/22164-tax-rate-class-table 2019-07-08 18:12:23 -03:00
Gerhard Potgieter 12fbfa5677
Merge pull request #22927 from woocommerce/update/22895
Allow "Thanks" wording in emails to be reworded by admin
2019-07-04 12:43:00 +02: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 4a99a11009 Merge branch 'master' into update/22895 2019-05-21 17:46:16 -03:00
parmarhardip 8ffd78372f - coding standard improve 2019-04-25 10:25:17 +05:30
parmarhardip 7b8d7d7390 - autoload false and check Travis CI build 2019-04-24 19:03:19 +05:30
parmarhardip 4c90f566bb - Prevent the Cart, checkout and my account page from being set to the same page. 2019-04-24 17:31:20 +05:30
parmarhardip 2122a84d8b - coding standard check 2019-04-24 16:34:28 +05:30
parmarhardip f643c516d1 enhance #23381 Prevent the Cart, checkout and my account page from being set to the same page. 2019-04-24 15:59:14 +05:30
Mike Jolley e1e13dee91 merge conflict 2019-04-18 12:06:13 +01:00
Mike Jolley 2033a231a4 Update from master 2019-04-18 12:05:23 +01:00
Mike Jolley 8d5d7b2463 Update from master 2019-04-18 11:56:47 +01:00
Mike Jolley 4e50a8f6dd Escape strings passed to selectwoo 2019-04-17 12:02:20 +01:00
Gerhard 134f9c9c8e Fix PHPCS 2019-04-15 12:13:02 +02:00
Gerhard 96906d9efa PHPCS Fixes 2019-04-10 14:53:03 +02:00
Gerhard 8716c7451c PHPCS fixes 2019-04-10 14:29:40 +02:00
Mike Jolley deaaa5d1d8 Remove two old moved-feature notices 2019-04-10 11:23:35 +01:00
Timmy Crawford 8bccfcca1a more phpcs fixes. 2019-04-09 11:34:34 -07:00
Timmy Crawford 81c679181c PHPCS fixes. 2019-04-09 10:18:47 -07:00
Timmy Crawford f2b55bf060 Move suggestions/tracks settings to new Advanced | WooCommerce.com page. 2019-04-09 09:38:26 -07:00
Mike Jolley 91e21644cf Style descriptions after select2 boxes 2019-04-09 15:02:05 +01:00
Timmy Crawford b35945c5f5 PHPCS fix. 2019-04-08 17:21:50 -07:00
Timmy Crawford e4552c571d Only show suggestions setting when current user can install_plugins 2019-04-08 16:27:32 -07:00
Timmy Crawford 4a2c706cc0 Add setting to control display of marketplace suggestions. 2019-04-08 16:24:52 -07:00
Timmy Crawford 886d1acca5 Updates to usage tracking text per feedback. 2019-04-08 12:00:11 -07:00
Timmy Crawford 72b9555706 Update opt-out usage tracking text. 2019-04-05 12:59:32 -07:00
Mike Jolley 6944e73963 Update option definition 2019-03-20 15:27:19 +00:00
Mike Jolley 494c6ffdbd Handle save 2019-03-20 15:27:07 +00:00
Mike Jolley 0211757e47
Merge pull request #22988 from woocommerce/fix/payment-custom-section-saving
Refactor WC_Settings_Payment_Gateways::save
2019-03-11 16:08:24 +00:00
Mike Jolley dbfd06222a tweak logic to only save ordering when section is empty 2019-03-11 16:06:53 +00:00
Mike Jolley fbda3a91d8 Merge feature/add-tracks into master 2019-03-11 15:15:50 +00:00
Gerhard f40692003b Rework payment gateway settings save functionality so it falls back to saving the current section. 2019-03-11 13:27:17 +02:00
Paul Sealock 9ee0912104 even more 2019-03-08 10:11:43 +13:00
Paul Sealock d968b95b53 Add opt in/out to settings page 2019-03-05 11:06:45 +13:00
Mike Jolley 003a5bd188 Better placeholder replacement for footer 2019-03-04 14:53:19 +00:00
Gerhard f6b1208a32 Custom payment sections not loading fields due to logic error. 2019-02-11 09:42:31 +02:00
Mike Jolley 1dea9d6f48 Merge branch 'enhancement/21758' 2019-01-31 13:44:35 +00:00
Mike Jolley e9f0490829
Merge pull request #21719 from vyskoczilova/master
Custom settings on shipping section (#13463, #13461)
2019-01-23 17:07:13 +00:00
Mike Jolley e8710e4ad6
Merge pull request #22530 from treibalen/master
Change footer wording for WooCommerce emails
2019-01-23 13:28:31 +00:00
Mike Jolley 99f663ad5c
Merge pull request #22131 from willgorham/improve-shipping-zone-continents
Improve shipping zone continents [Fixes #22130]
2019-01-23 13:27:16 +00:00
treibalen 178c7a7a9c Change wording for WooCommerce emails
Change emails footer from "Powered by WooCommerce" to "Built with WooCommerce"
2019-01-23 13:50:08 +05:30
Will Gorham 45e7f344b1 Use shipping countries instead of selling countries 2019-01-22 13:51:35 -05:00
Mike Jolley 213ba99664
Merge pull request #21961 from sebastianpisula/patch-1
New params for woocommerce_shipping_zone_*_methods_table actions
2019-01-16 13:01:45 +00:00
Will Gorham 1fc4ef6c59 Clean up docblocks and unused vars 2019-01-09 12:54:37 -05:00
Will Gorham da6f425488 phpcs 2019-01-09 12:49:11 -05:00
Will Gorham 8051a0b0fc Only show available shipping continents in zone regions 2019-01-09 12:48:18 -05:00
Mike Jolley 8ad3491b99 Add option to control if remove personal data bulk action is allowed 2019-01-07 11:22:29 +00:00
JeroenSormani f4775ccd90 Use shipping method instead of property through magic + doc return statements 2019-01-04 12:41:38 +00:00
Mike Jolley da32fe3b8a Include country name alongside states so selectwoo can search properly
Seems 'alt' was there in the hope select2 would search that but it's not possible without custom matchers. This instead will show state and country like this: `New York, United States.` This lets you find NY by searching for US
2019-01-04 11:05:29 +00:00
Mike Jolley ff3a852b7f Zones should use shipping countries, not allowed countries 2019-01-04 11:04:17 +00:00
Mike Jolley c4e071480a phpcs 2019-01-04 11:04:12 +00:00
Adrian Jagusch 8732d200e1
Properly close option tag in customer search 2018-12-03 15:27:45 +01:00
sebastianpisula 9b5e7ae2c6
New params for woocommerce_shipping_zone_*_methods_table actions
Add $zone param to woocommerce_shipping_zone_before_methods_table and woocommerce_shipping_zone_after_methods_table action
2018-11-18 12:59:54 +01:00
Karolína Vyskočilová 45d2ddc5e8 phpcbf 2018-11-18 10:58:58 +01:00
Nico Mollet 0dcf6e2796
"account erasure request" text is not translatable
`esc_html__` should be used instead of `esc_html`
2018-11-05 14:47:28 +01:00
Claudio Sanches 8618d9a976 Fixed coding standards 2018-11-02 10:21:18 -07:00
Claudio Sanches f765b47cbf Make easy to register new REST API versions into webhooks
Closes #21697
2018-10-29 19:31:47 -03:00
Karolína Vyskočilová 6687633c92 fix PHP 7.2 travis build 2018-10-28 11:36:55 +01:00
Karolína Vyskočilová 1dec0264bc custom settings on shipping section (#13463, #13461) 2018-10-27 23:53:43 +02:00
Ron Rennick 1ea2d79dd6 Merge branch 'master' into issue_21515 2018-10-15 11:00:14 -03:00
Ron Rennick ec44a36913 only include erasure tools link in erasure desc_tip when user has manage_privacy_options, escape the desc_tip 2018-10-12 21:49:05 -03:00
claudiulodro 1716538617 Prevent duplicate actions from firing in shipping settings 2018-10-03 15:43:11 -04:00
Gerhard Potgieter e2a83bb4e7 Update footer text to show on new line 2018-09-07 08:31:27 +02:00
Gerhard Potgieter 679399b4b2 Humanize admin new order email 2018-08-23 09:04:24 +02:00
Gerhard Potgieter 11832f937d Use + instead of array_merge for appending to tax classes since it rewrites numeric keys which we allow in tax class names. 2018-07-27 11:18:16 +02:00
Claudio Sanches 3774a05077 Only use "post" in list table 2018-07-04 15:43:13 -03:00
Mike Jolley ff0e492a41 Setting 2018-06-27 18:38:36 +01:00
Claudiu Lodromanean 327401e4ea
Merge pull request #20406 from unfulvio/20404-custom-webhook-topic-dropdown-bug
[#20404] Fix custom webhook topic selection in dropdown
2018-06-08 09:43:50 -07:00
Fulvio Notarstefano 468fb14c3c [#20404] Further indentation 2018-06-09 00:08:20 +09:00
Fulvio Notarstefano 38b1381fff [#20404] Code style standards 2018-06-09 00:07:20 +09:00
Fulvio Notarstefano e68aa7c027 [#20404] Address code review feedback 2018-06-07 23:33:13 +09:00
Mike Jolley 86993a4f70 Merge branch 'master' into update/13624 2018-06-07 10:30:52 +01:00
Fulvio Notarstefano 264c83a166 [#20404] Fix custom webhook topic selection in dropdown 2018-06-06 11:26:33 +09:00
Claudiu Lodromanean a4b9346f66
Merge pull request #19969 from robertdevore/master
Add three new action hooks for admin shipping zone methods
2018-05-31 20:25:34 +01:00
Robert DeVore ecdf6c3be0
Removed two action hooks 2018-05-30 15:53:04 -04:00
Mike Jolley 814c62aaf2 merge master 2018-05-30 14:35:32 +01:00
Mike Jolley 03dfd9b262 Remove . from strings 2018-05-21 17:02:33 +01:00
Mike Jolley 1ff5520512 Pass through JSON context when getting zones for JSON responses and scripts 2018-05-09 17:41:33 +01:00
Robert DeVore a3c4f42729
Updated tab spacing for action hook 2018-05-07 14:42:05 -04:00
Claudiu Lodromanean bda8732c6f
Merge pull request #19974 from woocommerce/update/payment-method-columns
Updates table styling and columns
2018-05-07 11:23:49 -07:00
Mike Jolley cf9fa5b3ff Updates table styling and columns 2018-05-04 18:48:41 +01:00
pierrebuet 3850f4f13a Diverse typos 2018-05-04 16:57:01 +02:00
Robert DeVore 79b710cca1 📦 NEW: Three action hooks for admin shipping zone methods 2018-05-04 09:16:36 -04:00
Mike Jolley 2f8f30cd29 Make some strings easier to translate for translators 2018-05-03 14:50:39 +01:00
Mike Jolley e807c6151f Merge branch 'master' into update/erasure-requests 2018-05-02 14:06:47 +01:00
Mike Jolley 43f6a5114c Typos and unused variables 2018-05-01 13:54:18 +01:00